View Full Version : writing text

09-04-2001, 11:42 AM
Hi I am trying to put text up on the screen. I have looked a the gamedev.nehe site and it doesn't help as I am rotating the camrea at the same time so the text doesn't stay in the same place any surgesstions?

Michael Steinberg
09-04-2001, 11:52 AM
Call glLoadIdentity before drawing text for example if you're writing the text in your normal projection. Otherwise you can setup an ortographic projection with glOrtho2D before writing the text (Easy to do pixel accuracy then).

09-04-2001, 12:32 PM
thanx alot,
I will try that http://www.opengl.org/discussion_boards/ubb/smile.gif