Help with text
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?
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 ?
^^'
I think you should know how to use OpenGL surface , don't you ?
^^'
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement