I want to find them in a node which is attached to the scen graph. I need them in a Shader code for calculating the depth.
Amal. On 8/14/07, Robert Osfield <[EMAIL PROTECTED]> wrote: > > On 8/14/07, Amal <[EMAIL PROTECTED]> wrote: > > How can i find the near and the far plane that OSG is using ? > > Where abouts do you want to find them? In the main loop just get them > from the Viewer's Camera's getProjectionMatrixAs*() methods. > > Robert. > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

