PDA

View Full Version : Text in OpenGL



Vytautas
05-03-2003, 05:17 AM
Helow everybody. I'm finishing my graduation dissertation. I've a problem, maybe you can help me. I don't know how to white text in OpenGL. Maybe there is a function? I'm using Borland C++ Builder 6.0.

Thanks -Vytautas- <Lithuania>

Brian Jones
05-03-2003, 05:40 AM
You need to go into a little more detail. "White text?" You want to make your text white? Just call glColor3f(1.0f, 1.0f, 1.0f); If you're using glRasterPos to place the text, you need to set the color before calling glRasterPos

Brian Jones
05-03-2003, 05:44 AM
Or did you mean "WRITE text?" If you meant that, you can check out nehe tutorials 13,14, and 15 which teach you how to do that.
nehe.gamedev.net

05-03-2003, 10:07 AM
Wow if this is a question from a guy writing a disseration i'm not so worried about my qualifications anymore when I graduate in a year and a half :P

Vytautas
05-03-2003, 01:26 PM
Yes, I mean write text. My disertation is global optimization of any tridimentional surfaces using Annealing method, so "knoxville" if its funny go and lought somewhere else. Thanks Bryan for help. I owe you.