Gordon Tomlinson wrote:
Hi Garrett
Unfortunately the OSG only supports one node mask that is shared by all
process app, cull, draw, update, data, isectors, visitors etc...
Being an old fart I much preferred the old Performer, Vega, Dvise etc
offerings with node masks in that each process had its own mask, this was
much more useful for me.
Yeah, the Performer model was a bit more intuitive, but it wasn't really
as scalable. Every time you add a traverser (or visitor in OSG terms),
you'd have to go and update the Node classes to recognize it, which is
kind of a pain.
You can pretty much get the same functionality by just setting the node
masks on the scene and traversal masks on the visitors appropriately.
AFAIK, there aren't any pre-defined bit values for traversal masks, so
you can set it up however you want.
--"J"
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org