[quote="robertosfield"]HI Igor,
 an osg::Camera
nor GL camera don't have a concept of a focal length.  
[quote]

Under Focal length I mean the distance from the camera's lens to it's focus. 
This distance can be different for x and y, for example, if the camera's lens 
is oval in shape. 

I have to write a function which receives, among other parameters, these 2 
values (x focal length and y focal length) and have to pass it somehow to the 
OSG viewer. Is there a way to do this at all?

If this is important, in the library for which i have to do this, the x axis 
goes from left to right of the screen, y axis goes form top to bottom of the 
screen and z axis goes away from the viewer.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=34660#34660





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to