Drawing text fast

Hi, that’s about efficient text drawing :
If I’m drawing glut bitmap text, is there any way of drawing it directly in the frame buffer, or is it necessary to use a glOrtho projection, and then to return to a gluPerspective projection ? And if I want white text, regardless of the current material/lights, is it necessary to glDisable (GL_LIGHTING) etc ? Because all these state changes can take long !
Thanks for help !

Hi !

I guess the answer to all your questions is “yes”, try to collect all text drawing to one place, then you only need to switch projection one time.


Thanks !

Now I’ll be in peace with myself when writing slow code