[osg-users] camera far plane culling issues
Robert Osfield
robert.osfield at gmail.com
Mon Oct 17 00:46:59 PDT 2016
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
>
More information about the osg-users
mailing list