Hi Randal, it is easy ..... somewhere in the loop, probably after the frame all you have to do is to get the projection matrix like
while (!viewer.done()) { viewer.frame(); viewer.getCamera()->getProjectionMatrixAsFrustum(arguments .... ) On Sun, Mar 24, 2013 at 4:41 AM, Randall Hand <randall.h...@gmail.com>wrote: > Is there (I'm sure there is) a way to retrieve the autocalculated ZNear & > ZFar from the scene graph on a per-frame basis? I figure it's somewhere in > a traversal structure, but I'm not exactly sure where or how to get to it. > > Can someone enlighten me? > ______________________________**_________________ > osg-users mailing list > osg-users@lists.**openscenegraph.org <osg-users@lists.openscenegraph.org> > http://lists.openscenegraph.**org/listinfo.cgi/osg-users-** > openscenegraph.org<http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org> > -- trajce nikolov nick
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org