OpenGL equivalent of D3DXCreateText
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.
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!
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!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement