On 10/11/2011 11:20 AM, Dan West wrote:
OK, I was misunderstanding how the setColorMode method worked. I changed that 
to setColorMode( osg::Material::OFF ), but the first geometry is still using 
the color from the color array (green), and the second geometry is using that 
same color.

I copied your .osg file and replaced the Camera with a Group so I could load it into osgviewer. It renders with the Material colors for me. You should be able to verify this yourself.
   -Paul


_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to