Hi everyone,

I am using a camera whose zNear / zFar is calculated automatically and I need 
to obtain the zNear / zFar values in the camera's PreRenderCallback.
Just trying to use the function camera->getProjectionMatrixAsPerspective(fovy, 
aspect, zNear, zFar);
always gives me the initial near far plane (0.99 and 9999) and not the 
automatically computed one (at least zFar should be quite small since my scene 
is just about 5x5x5 units large).

How do I do it correctly?

Regards
Daniel

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





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

Reply via email to