PDA

View Full Version : Text rendering library



Punchey
10-02-2003, 07:50 AM
Does anyone know of a good OpenGL text rendering library?

It's pretty simple to render textured characters on quads, but what about a library that automates the process of rendering text to a texture so that, for example, a paragraph is all on a single texture?

I need to be able to render static text so rendering it all to a texture would be the most efficient way, but I'm wondering if somebody has already written some code to handle this in a flexible way?

Thanks!

10-02-2003, 07:58 PM
Depending on what APIs are available to you, you can probably just draw the text to an image, and then load the image into a texture.

Punchey
10-03-2003, 06:00 AM
Hmmm... don't know why I didn't think of that, but I guess you're right! That'd probably be by far the easiest!

Thanks!