Hi, Im trying to turn off the automatic near/far clipping computation but cant get it to work.
Doing something like this: Code: camera=viewer.getCamera(); camera->setInheritanceMask( camera->getInheritanceMask() & ~osg::Camera::COMPUTE_NEAR_FAR_MODE ); camera->setCullingMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR); camera->setProjectionMatrixAsPerspective(65, 1.6, 3, 200000); viewer.frame(); camera->getProjectionMatrixAsPerspective(fovy, aspectratio, znear, zfar); After the viewer.frame() call I check the near/far plane and they are not what I setted them to.. What am I doing wrong? Thanks! ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35361#35361 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

