[Papervision3D] Camera FOV

James Acres - AG james at anonymousgroup.com
Wed Jun 13 12:21:36 EDT 2007


Hi everyone,

I'm trying to set things up so that the camera always shows all of  
the objects in the scene. This could be easily done if I could set  
the camera's FOV (which I can calculate), but I don't see a way of  
setting it - I only see focus and zoom. It looks like the only way to  
do this would be to calculate the required camera distance based on  
the width and height of the scene's bounding box. I have this  
information, does anyone know how to calculate the required distance,  
or better yet, how to set the camera's FOV? I have the FOV as an  
angle (angular FOV).

thanks!

James



More information about the Papervision3D mailing list