Hi all -- Does anyone know of a state tracking NodeVisitor, either in core OSG or in an external project? I'd expect it to merge StateSets onto the top of stack as it visits nodes, allowing an application to access a snapshot of current state by querying the top-of-stack.

(osg::State doesn't quite do what I want. It keeps StateSets on a stack, but doesn't merge them during traversal; top-of-stack is simply the last StateSet encountered, rather than a snapshot of state at that point in the scene graph. It doesn't give me access to a single StateSet that I can query.)

Thanks for any info.
   -Paul
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to