Jump to content
  • Advertisement
Sign in to follow this  
Pixelsmith

Help with text

This topic is 4867 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'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?

Share this post


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

^^'

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!