Gianluca Natale wrote: > Hi all, > > I'm new to OSG. > > I cannot find a way to change the primary color of OpenGL in order to draw > the same > > object twice in two different places with two different colors.
Just to throw in a third alternative, you could create a simple shader that took a colour parameter. Depending on your application, this may be overkill, but if later on you want to get more complicated with your shading this method will scale nicely. This is really just an illustration of how the same thing can be done in different ways with OSG. -JD ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

