PDA

View Full Version : Text color...



Mr.Freeze
06-03-2002, 10:23 PM
Hi,

How come that a color change doesn't affect the color of my text (displayed with glCallLists(...) or glutBitmapFont(...)) ?
Only after a raster position change the color of the next text-command is actualized.
What do I have to do so that I can write every letter in a different color (without using glRasterPos(...) ) ??

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

Bob
06-04-2002, 01:21 AM
Read the specification. The color of the raster position is only changed on a call to glRasterPos.

Mr.Freeze
06-04-2002, 01:56 PM
>The color of the raster position is only changed on a call to glRasterPos.

I noticed this, but my question was: is there a way to avoid calling glRasterPos when I want to change the color?