• Advertisement

Archived

This topic is now archived and is closed to further replies.

text via quake 2 in OGL

This topic is 6324 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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???

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
another nice one is here http://www.lmnopc.com/bitmapfontbuilder/index.htm

http://members.xoom.com/myBollux

Share this post


Link to post
Share on other sites

  • Advertisement