All,
I am assigning a custom state to certain nodes in my scene graph,
lets call it EVEN or ODD.
I then want to have nodes that CULL their children based upon the
current state.
My scene would look something like this:
Scene-Root - State = ODD
GroupA (Cull if State & EVEN )
SubGroupA
GroupB (Cull if State & ODD )
SubGroupB State = EVEN
GroupA
As you can see, I cannot use osg::Switch nodes, because Group A is
ON and OFF at the same time, depending upon its location in the scene.
Any help would be appreciated.
Thanks,
Dan
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/