PDA

View Full Version : Color changing....



unleashed
04-18-2001, 06:38 PM
I was curious how to change the color of an object after a few iterations of it.
As in, if the object is re drawn say 2 times on the 3rd it would change its color.
I have tried a number of things but it does not seem to have any effect.
I am a rather experienced C++ programmer and what would work in a C++ program is not working in OpenGL (using glut).
If some code samples are needed (generic) let me know and I will post them, or a more clear discription.
Thank you in advance for the help.
Unleashed

dans
04-18-2001, 09:10 PM
If you are drawing and defining your your object/color inside a display list you cannot modify this after it has been created.
post a code snippet so we can see more clearly your problem.

unleashed
04-19-2001, 06:05 PM
Thanks for the help, but i figured it out myself....

http://www.opengl.org/discussion_boards/ubb/smile.gif