I have seen on another forum: > > osg_viewer->getCamera()->setProjectionMatrixAsPerspective(90.0, 1.333, 0.001, > 100); > > the FOV and aspect ratio parameters are working, but no matter the values i > write in the last two parameters, the clip planes distance remains the same. > any idea? > > Try: > > osg_viewer->getCamera()->setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR); >
I didn't know that :o And if I try this, my coordinate system disappear whatever the values of near and far :/ Do you know why? ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16812#16812 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

