Tag Info

New answers tagged


You could calculate the camera's position using the signed distances between the camera's frustum planes and the mesh's bounding volume. That's the approach I'm using.


(Side note: In camera talk, "zoom" means to adjust the zoom lens which is the field of view. "Dolly" means to glide forward and back. Or just say "move along some axis".) Here's a general approach, without the math: When you know the field of view angle, which may be different for horizontal and vertical of your screen, you can solve the view distance for ...


If I was using this as a background image for instance. I would use a larger resolution so it would scale down on devices with lower res rather than up and pixelate.

Top 50 recent answers are included