Help with text

Started by
2 comments, last by mr_tawan 18 years, 12 months ago
I've been googling around the net for a few days looking for ways to display text on the screen when using openGL and STL_ttf. All the examples I can find are really complicated. I've even looked at other font libaries, but still no luck. I can't beleive it's really that difficult to display text. All I want to know is the simplist way to display text on the screen when using Opengl. Can anyone help me please?
"Many that live deserve death. And many that die deserve life. Can you give it to them?Then don't be too eager to deal out death in judgment."-J.R.R. Tolkien
Advertisement
[google] for glFont. it's relative easy to use.
http://nehe.gamedev.net/lesson.asp?index=03
If you know how to convert from SDL_Surface to OpenGL's Surface (or texture, I don't know what it is called, since i didn't tried the OpenGL yet), it should fine. Because all rendering functions (TTF_Render*_*()) return SDL_Surface (please read the SDL_TTF Document for more detail).

I think you should know how to use OpenGL surface , don't you ?

^^'

http://9tawan.net/en/

This topic is closed to new replies.

Advertisement