Sorry, I should have been more precise.
I meant in Collada. Roger > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:osg-users- > [EMAIL PROTECTED] On Behalf Of Robert Osfield > Sent: 18 October 2006 08:10 > To: osg users > Subject: Re: [osg-users] Collada writer, materials and stateSets > > On 10/18/06, Roger James <[EMAIL PROTECTED]> wrote: > > Is there a method we can use to compare effects? Then we can traverse > the > > tree, name and store new effects, and then when we get down to a > geometry > > within a geode work out what effects are needed by the current inherited > > state and check we can find them in the "library". > > If you mean compare StateSet/StateAttribute and modes, yes > osg::StateSet and osg::StateAttribute have this built in - its the > compare method :-) > > There is also a StateSet::merge method that allows you to compute what > the overall inherited state would be down onto geometry. > > Robert. > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
