How to display a simple text

I want to display a simple text ( Not 3D now!! )… Could any one help me…

I think the standard thing to do nowadays is textured-text. What you do is have a .bmp image with all the letters of the alphabet on it. Then you split that texture up into the individual letters, make a function to print those letters, and you’ve got it

…or simply have a look at this tutorial:

http://nehe.gamedev.net/tutorials/lesson13.asp

yw.

// This is not an advanced question
// please post in the beginners forum

If you choose textured fonts as suggested by iNsaNEiVaN, you may be interested in glFont, a very handy library that comes along with a font texture generator.

google search :
key words : glFont
1st link : http://students.cs.byu.edu/~bfish/glfont.php

Using nehe tutorial is fine as long as you don’t have too much text to draw (because his method is rather slow).

Originally posted by kehziah:
[b]// This is not an advanced question
// please post in the beginners forum

If you choose textured fonts as suggested by iNsaNEiVaN, you may be interested in glFont, a very handy library that comes along with a font texture generator.

google search :
key words : glFont
1st link : http://students.cs.byu.edu/~bfish/glfont.php

Using nehe tutorial is fine as long as you don’t have too much text to draw (because his method is rather slow).[/b]

I’m very sorry for posting this question in the advanced catagory… Once again sorry…

Try scrolling down the page. There are 2 other current discussions about text rendering, to which I have replied thus…

try… http://homepages.paradise.net.nz/henryj/code/index.html