You can zoom by adjusting the field of view (fov) by: fov = 2*atan(width/2*near*aspect)
where "width" is the world portion seen through the camera, "near" is the near plane distance from the eye. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helbig, Yuen Sent: Friday, August 01, 2008 10:05 AM To: OpenSceneGraph Users Subject: [osg-users] Perspective Camera Question Hello, I'm trying to do magnification operations with a perspective camera lens by adjusting the camera's distance from the object. Ex. Given a magnification factor of 3x I would multiply my current camera distance by 1/3. However, the results are not what I expect, objects become much larger than 3 times there old screen size. Can anyone point me towards a resource for better understanding the use of Perspective Cameras? Yuen _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

