Hi Jeremy,
It should be possible to do a
drawImplementation(..)
{
state.apply(stateSetOne);
// do stuff
state.apply(stateSetTwo);
// do more stuff
}
I'm not 100% sure what will happen with the progress of draw traversal
w.r.t how the drawable StateSet if any is applied and then later
assumed to be applied by other state calls. I think it will probably
work out OK though so try it, and if something breaks then considering
adding an extra state.apply(drawwablesStateSet) or a perhaps a state
dirty.
This is something we can workout if required though, try the simplest
thing first then if need be investigate more complicated routes...
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org