Jump to content
  • Advertisement
Sign in to follow this  
Wampus

OpenGL OpenGL equivalent of D3DXCreateText

This topic is 4819 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

Hi all. I'm working on getting a text mesh created for a project, and my OpenGL is a bit rusty. I'm looking for a function call that will triangulate a text string given a font and give me a mesh I can work with, preferably with a way of getting at the vertices rather than rendering them directly to the screen. I've done something similar in DirectX creating a mesh with D3DXCreateText, then locking the mesh's vertex & index buffer to get at the triangles. If anyone knows of something similar in OpenGL to look at I would greatly appreciate it. Thanks in advance for any info.

Share this post


Link to post
Share on other sites
Advertisement
Hello...

OpenGL only deals with the lowlevel graphics renering functions, and leaves everything else up to you (or to some freely distributed libraries ;]).

If you haven't used OpenGL (at all or in a long while) I would advise you to go look through the tutorials at http://nehe.gamedev.net. Start there and ask more here if you need it later on. ;]

Good luck!

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!