Robert, does TRAVERSE_ACTIVE_CHILDREN affect which LOD children get
traversed? I see that the IntersectionVisitor constructor has this call:
    setTraversalMode(NodeVisitor::TRAVERSE_ACTIVE_CHILDREN);

Certainly that affects Sequence and Switch, but not sure if it would cause
only visible LOD children to be traversed...
   -Paul



> > So, how can it handle LODs ?
> 
> If you would take a look at the IntersectionVisitor code, 
> you'd see that IntersectionVisitor overrides apply(LOD&), but 
> the code is identical to apply(Group&). So that should answer 
> your question.
> 
> Presumably, it overrides apply(LOD&) because Robert intends 
> to do something different with LODs in the future. But for 
> now it just treats them like Groups.
> 
> Paul Martz
> Skew Matrix Software LLC
> http://www.skew-matrix.com
> 303 859 9466
> 
> _______________________________________________
> osg-users mailing list
> osg-users@openscenegraph.net
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to