|
Displaylist and glColor problem
When Im trying to display the first line of text for my console it comes up red, and the rest comes up white. I call for the color red and then go into my console functions. But in the console text display fuction I pass the color I want (white). this is part of the code is where it displays the text.
if I put a glGetfloatv (GL_CURRENT_COLOR), the value is white
but what is displayed is red !!!! is there something got to do with display lists and glcolor ????
( did call the red with glColor3f , and white with glColor4f and blending is on but I dont write anyhting red and the rest of the text 2nd line up is fine !!!!! ..also textures as you can see are disabled)
LE SCRUB
righto , got it .
The color is set when you call glRasterPos ..tis the thing I was after.
thanks
The color is set when you call glRasterPos ..tis the thing I was after.
thanks

LE SCRUB
Fine you did fine the answer yourself 
Excuse me, but I did not understand what was your problem. In fact, I didn''t understand the solution o_O
Do you mean that you need to call glColor before glRasterPos ?
I know that the color may not be set if the raster position is invalid, otherwise I don''t see how you solved your problem ^^

Excuse me, but I did not understand what was your problem. In fact, I didn''t understand the solution o_O
quote:
The color is set when you call glRasterPos
Do you mean that you need to call glColor before glRasterPos ?
I know that the color may not be set if the raster position is invalid, otherwise I don''t see how you solved your problem ^^
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement