View Full Version : Outputting text

09-07-2000, 08: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.

09-08-2000, 01: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!

09-12-2000, 04: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