<div dir="ltr">Ah ok .. That makes sense then .. Thanks Robert</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 17, 2016 at 9:46 AM, Robert Osfield <span dir="ltr"><<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">HI Nick,<br>
<br>
Culling works on the bound volumes of objects so if the objects have<br>
any point of their bounding box/sphere the eye side of the far plan<br>
they won't be culled.<br>
<br>
Robert.<br>
<br>
On 16 October 2016 at 23:31, Trajce Nikolov NICK<br>
<div><div class="h5"><<a href="mailto:trajce.nikolov.nick@gmail.com">trajce.nikolov.nick@gmail.com</a><wbr>> wrote:<br>
> Hi Commuity,<br>
><br>
> I have RTT camera and for some reason the culling is not working as<br>
> expected. Here is the code:<br>
><br>
> camera-><wbr>setProjectionMatrixAsPerspecti<wbr>ve(70, 1, 5, 10);<br>
> camera->setCullingMode(osg::<wbr>CullSettings::FAR_PLANE_<wbr>CULLING);<br>
> camera->setComputeNearFarMode(<wbr>osg::CullSettings::DO_NOT_<wbr>COMPUTE_NEAR_FAR);<br>
><br>
> I am still seeing far behind these 10m<br>
><br>
> Any hints?<br>
><br>
> --<br>
> trajce nikolov nick<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> osg-users mailing list<br>
> <a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
> <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
><br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">trajce nikolov nick<br></div>
</div>