Querying Pixel Aspect Ratio in Shading?

   2569   2   0
User Avatar
Member
4256 posts
Joined: July 2005
Offline
Is there a way to query the aspect ratio of the image being rendered from the shading contexts?

None of the various renderstate() options seem to have to have it.

If there isn't any ways perhaps RFE a “image:aspect” to renderstate()
if(coffees<2,round(float),float)
User Avatar
Staff
2591 posts
Joined: July 2005
Offline
Wolfwood
Is there a way to query the aspect ratio of the image being rendered from the shading contexts?

None of the various renderstate() options seem to have to have it.

If there isn't any ways perhaps RFE a “image:aspect” to renderstate()

You mean pixel aspect ratio, right? If you want the image aspect ratio, you can grab the resolution (image:resolution). I'll add pixel aspect as well though.
User Avatar
Member
4256 posts
Joined: July 2005
Offline
mark
You mean pixel aspect ratio, right?
<snip>
I'll add pixel aspect as well though.

Sure do, and thanks.

if(coffees<2,round(float),float)
  • Quick Links