[osg-users] camera far plane culling issues

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Sun Oct 16 15:31:26 PDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20161017/4fc4325a/attachment-0002.htm>


More information about the osg-users mailing list