Ah ok .. That makes sense then .. Thanks Robert On Mon, Oct 17, 2016 at 9:46 AM, Robert Osfield <[email protected]> wrote:
> HI Nick, > > Culling works on the bound volumes of objects so if the objects have > any point of their bounding box/sphere the eye side of the far plan > they won't be culled. > > Robert. > > On 16 October 2016 at 23:31, Trajce Nikolov NICK > <[email protected]> wrote: > > Hi Commuity, > > > > I have RTT camera and for some reason the culling is not working as > > expected. Here is the code: > > > > camera->setProjectionMatrixAsPerspective(70, 1, 5, 10); > > camera->setCullingMode(osg::CullSettings::FAR_PLANE_CULLING); > > camera->setComputeNearFarMode(osg::CullSettings::DO_NOT_ > COMPUTE_NEAR_FAR); > > > > I am still seeing far behind these 10m > > > > Any hints? > > > > -- > > trajce nikolov nick > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users- > openscenegraph.org > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- trajce nikolov nick
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

