> Just my 2 cents about multi-pass: if you need to > fall back to this approach > (rather than the multi-stage, which is more > efficient, but sometimes does > not give the result you want) I had implemented it > using multiple > inheritance in the graph. You can have 2 different > geodes, each with its own > stateset (with texturing, alpha and depth modes, > etc.) as parents of the > same geometry. Then you attach those geodes to the > same group; the order in > which you call group->addChild(geodes[pass_i]) is > simply the order in which > passes are drawn.
Hi, thanks, exactly what I needed (I suspected it can be done this way, just needed a confirmation). ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
