Hi Robert,

I guess I'll use the DescriptionList then. :|

You could also use the DescriptionList of the StateSet...

If the SMC follows say a texture or a material, and is generally inherited from the top down like state attributes, that might be a way of doing it. It won't be an actual attribute, so it won't affect state sorting, but from a given Geode you'll be able to check statesets, going up until you find one with the SMC in its DescriptionList, and that's the SMC to use for that Geode.

Just a thought.

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                    http://whitestar02.dyndns-web.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to