[osg-users] NodeVisitor only on visible nodes

Robert Osfield robert.osfield at gmail.com
Wed Sep 17 07:14:32 PDT 2008


On Wed, Sep 17, 2008 at 2:56 PM, maruti borker
<slimshadymaruti at gmail.com> wrote:
> Hi,
>          I wanted to know how to create a nodevisitor which traverses only
> on visible nodes in the scene. Does TRAVERSE_ACTIVE_CHILDREN do that ?

NodeVisitor's by default don't do view frustum culling so unless you
add this TRAVERSE_ACTIVE_CHILDREN will not traverse just the visible
nodes.

Robert.



More information about the osg-users mailing list