Hello, It seems possible to have two sets of colors for geometries with setColorArray and setSecondaryColorArray and swap between them when needed. I would like to use this feature to have a normal color for the wireframe of the mesh I display and another color when selected, but I don't understand how to swap between both color arrays (I assume it has to do with AttributeTypes but how?). And if I use secondary colors, must I also define secondary color bindings, color indices.
Moreover, if I wanted to have a third color (or more) to hightlight other modes, anybody knows how I could change the color of my mesh during runtime? Thanks, Antoine. PS ; sorry if you received this mail twice, seems I have a pb with my mails... _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
