PDA

View Full Version : Outputting text



Zer0
09-07-2000, 09:13 PM
I want to output some simple text in my rendering window with stuff like: "Use the arrow keys to rotate object" or a fps counter.

I'm using glut, but the only text support I could find was bitmapfonts and strokefonts, and they only render one character per call. (I think).
Is there an easier way? Any help would be appreciated.

Epidemi
09-08-2000, 02:04 AM
Surf your way to http://nehe.gamedev.net/opengl.asp. This site has great OpenGL tutorials. Try the tutorials about Bitmap Fonts, Outline Fonts and Texture Mapped Fonts.

Best of luck!

Mace
09-12-2000, 05:34 AM
...OR you could try my "Textured font demo" at flipcode. Go to the code of the day gallery and get it. http://www.opengl.org/discussion_boards/ubb/biggrin.gif