On Mon, Mar 9, 2009 at 12:06 PM, Martin <[email protected]> wrote: > Hello, > > I think it works now. It was my mistake. But the near plane is very small. Is > it normal?
By default the OSG will compute the near + far planes, during the cull traversal, to fit the depth range of the objects in the view frustum, so if your model is small and objects near to you then the near plane can be quite small. You can disable this update of the nar/far by doing: camera->setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR); Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

