How do I prevent if I altering an objectcolor, the textcolor is altering
too.
Thanks in advanced
Can you put your question into OpenGL calls and their undesired
effects?
My guess is that you are using bitmap text and are not explicitly
setting the color (glColor) before setting the raster position and
associated data (glRasterPos). Perhaps you are setting the color
*after* calling glRasterPos.
--
Andy V
State creep? Just make sure you explicitly set the color of the text
before drawing it. Then it won't be affected by the color of what was
rendered previously.
Also, take a look at glPushAttrib/glPopAttrib.
--
John Tsiombikas (Nuclear / Mindlapse)
http://nuclear.sdf-eu.org/
Set the color of your text every time.
nb. Because of the way OpenGL works you have to call
glColor() before you call glRasterPos().