text via quake 2 in OGL

Started by
3 comments, last by InsanE 23 years, 5 months ago
I found some tut´s talking about text output in OGL (HeNe ...) but how does qukae 2 or 3 handle textoutput platform independant?Furthermore quake´s text looks always better than a font of WinX created with the wgl function. Does anybody know a good tut about that???
Advertisement
It uses GL_QUADS with a font texture mapped onto them.

Nate Millers site has a library that does this:

http://nate.scuzzy.net

Paul Groves
pauls opengl page
Paul Grovespauls opengl page
Yes, for display you should look into using gl_quads in an orthographic projection...There''s a lot of information on doing this on the web, and in these forums...As far as for making the text itself, there are some font libraries around (freetype is a good one) that will take fonts (TrueType fonts in freetype''s case) and given parameters (font size, style) will create bitmaps you can use in-game..

You can find freetype at www.freetype.org
another nice one is here http://www.lmnopc.com/bitmapfontbuilder/index.htm

http://members.xoom.com/myBollux
Thanks to you guys!!

This topic is closed to new replies.

Advertisement