Hello,

I have a scene that contains a group node but no drawable nodes. I am using a fairly recent version of OSG from the repo, and using osgViewer::Viewer to display the scene.

I seem to get a degenerate projection matrix from osg::Camera::getProjectionMatrix (from a camera obtained from the Viewer object). I figure the viewer is automatically setting up the projection matrix and/or the near/far planes.

What would be a good way to deal with this problem? Should I be perhaps setting the near/far planes manually, and if so, is there a way to prevent them from being changed automatically?

- Eron

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to