Hi,

I'm having a problem when trying to apply material and setting state attribute 
to PROTECTED when at higher level in the tree there is another material with 
stateset attribute set to OVERRIDE.

I want to set a particular material to entire model and set some other material 
attributes to sub-geometries in that tree.
The OVERRIDE works just fine but, setting PROTECTED at lower levels in the tree 
doesn't work and geometrie's material remains overridden with the material from 
above.

Actually, setting stateset attribute for material with PROTECTED doesn't work 
at all and the previous state is not replaced.

I found in 2004 some other reference to this problem that seemed to be 
concluded as bug in osg... is it really so or anybody knows how both OVERRIDE 
and PROTECTED can be applied

thank
h
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to