>From my point of view I would have to disagree :)
" 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." That's not a pain for me, that's flexibility and finer control :) Having only one mask is for me quite retrictive and I can do much more things and easier with multiple masks (the cost being a byte on each node for each mask ), for me I would prefer the multiple masks but hey that's me, others cope well with the much more retrictive one mask ;) OSG gives me 32 options while Peformer et-al gave me 32 options per process type ( APP, CULL, DRAW, UPDATE, DATA, ISECTOR ), 192 masks :) much more flexible for me at least Again I being a selfish me wanting more ;) ____________________________________________________________________________ __ Gordon Tomlinson [email protected] IM: [email protected] www.vis-sim.com www.gordontomlinson.com ____________________________________________________________________________ __ -----Original Message----- From: Jason Daly [mailto:[email protected]] Sent: Thursday, July 09, 2009 4:24 PM To: [email protected]; OpenSceneGraph Users Subject: Re: [osg-users] Node Mask bit definition 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

