Download

Get Aspect Ratio of Camera

Im trying to place an Object at a given distance of my camera exactly filling its frustum. For a formula I found, the Aspect Ratio is needed but I can’t find a way to get it. Any ideas?

You have given little information.
I haven’t done anything like that, but maybe it will help you.
You must take into account the height of the object and its depth, and central object point.
Something like the picture.

I really don’t know if it will help you :slight_smile: