Hi Art,

The main things is now to find out, why the StateSet is NULL although it is 
defined in the cow.osg. It could be that there is a bug in the .osg loader, 
however the bug could be also in the given example. I am looking forward to 
solve it ;)

Perhaps the osgUtil::Optimizer is removing the stateset because it's redundant? If it contains all the same states as the parent node then it would do that. (note that I didn't check the code to see if the optimizer is actually being run - if not please disregard this suggestion as totally useless :-) )

J-S
--
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.g...@cm-labs.com
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to