View Full Version : Placing multiple Color toruses-icosahedron systems around a circle path

01-20-2005, 10:35 AM
I have face problem with adding the color torus icosahedron in a circle path. I have create the circle path using the for loop function.

I don't know how to add the color for each torus and make each point in different color..

01-20-2005, 10:35 PM
try to use glColor3f( r, g, b ) for specifying color for vertex with glVertex3f( x, y, z);