Hello,
You should try just adding a material on each PAT.
If I'm right, material will overpass the color of the geode... If anyone
can confirm :-[
Regard,
Vincent
Le 07/04/2010 11:33, Benjamin GODIN a écrit :
Hello,
I have a scene with one object but represented many times.
My graph is something like that :
[Image: http://img576.imageshack.us/img576/1522/osg.png ]
I want to give different colors to the different objects. The method I've found
is setColor on a ShapeDrawable but that means I need to create many instances
of this object.
Is there any way I can add the color in the scene graph (as a node)?
Thanks. :)[/img]
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=26507#26507
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org