PDA

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



melisa
01-20-2005, 11: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..

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