Hi Brian,

The osg::Camera can be culled just like any ordinary node, the culling
is done on its bounding sphere.  The culling test itself is controlled
by osg::Node::setCullingActive(bool) and is automatically set to false
for Transform's with an ABSOLUTE_RF, which normally means more RTT
cameras.

Robert.

On Jan 21, 2008 7:13 PM, Brian <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I using an osgCamera to render to a texture.  I use this texture for a
> reflection in my scene.
>
> Is there a way to cull the camera.  I don't want to waste CPU
> cycles generating the reflection texture when the object isn't visible in
> the scene.
>
> Brian
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to