Hi everyone,
Is there a way to get the current clipping planes of the view frustrum
during update traversal?
I have a update callback registered to a group node. This callback needs
to know the current clipping planes of the camera. I know that
osg::state offers a method getViewFrustum which returns all planes. The
problem is that I don't know much about states and were to get valid
states from. I could pass a reference of the sceneView to my
UpdateCallback since sceneView offers a method getState. But this
doesn't give me the correct planes. Another way would be to get the
modelview matrix and projection matrix and compute the planes by hand.
But I don't know how to get the modelview matrix.
I am pretty new to openscenegraph and opengl. I hope somebody can
provide help.
Thanks
Martin
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/