[osg-users] Finding the near and far plane.

Amal raj.amal at gmail.com
Tue Aug 14 02:45:35 PDT 2007


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 <robert.osfield at gmail.com> wrote:
>
> On 8/14/07, Amal <raj.amal at gmail.com> 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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070814/965a0439/attachment.html 


More information about the osg-users mailing list