Re: [osg-users] camera far plane culling issues

2016-10-17 Thread Trajce Nikolov NICK
Ah ok .. That makes sense then .. Thanks Robert On Mon, Oct 17, 2016 at 9:46 AM, Robert Osfield 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

Re: [osg-users] camera far plane culling issues

2016-10-17 Thread Robert Osfield
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 wrote: > Hi Commuity, > > I have RTT

[osg-users] camera far plane culling issues

2016-10-16 Thread Trajce Nikolov NICK
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);