[osg-users] camera far plane culling issues
Trajce Nikolov NICK
trajce.nikolov.nick at gmail.com
Mon Oct 17 01:26:57 PDT 2016
Ah ok .. That makes sense then .. Thanks Robert
On Mon, Oct 17, 2016 at 9:46 AM, Robert Osfield <robert.osfield at gmail.com>
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
> <trajce.nikolov.nick at gmail.com> 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
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-
> openscenegraph.org
> >
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
--
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20161017/4177a906/attachment-0003.htm>
More information about the osg-users
mailing list