glColor* is not working!

is there anyone who knows why glColor* do not want to color things?

Have you enabled gl lighting?
Or enabled gl Matrial?

These two options will effect how the glColor works.

If you enable lighting and not gl Matrial, you get a gray scale effect.

Originally posted by urban debugger:
is there anyone who knows why glColor* do not want to color things?

[This message has been edited by nexusone (edited 10-14-2002).]

<sarcasm>
Well, since you haven’t described your problem or posted any code, I know exactly how to solve it.
</sarcasm>

Try calling glColorMaterial( GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE );
glEnable( GL_COLOR_MATERIAL );
after initializeing OpenGL.

thanks a lot that solved all of my problems.