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…
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…
try to use glColor3f( r, g, b ) for specifying color for vertex with glVertex3f( x, y, z);