PDA

View Full Version : OpenGL and Colors



Fernando
09-10-2002, 06:34 PM
Hi guys! I'm making a simple application in OpenGL just to learn it, and I have a question.

Is there a way to draw shaded colors with a circle shape?

I'm asking this, because all that I did til now, were draw shaded colors informing a different color for each vertex. But it didn't give me the effects that I wanted...

Is there a way in OpenGL to do that?

Thank you.
Fernando

SirKnight
09-10-2002, 06:54 PM
Texture mapping maybe? Or a highly tesselated mesh if you still want to specify colors on a per vertex basis.

-SirKnight

Fernando
09-10-2002, 07:11 PM
Thank you SirKnight,
But are those the only way?

OpenGl doesn't provide functions to do that??