• Advertisement
Sign in to follow this  

OpenGL text

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

It seems that OGLFT is much slower than fonts in DirectX. Is this just my imagination? Should I not use OGLFT or is OGLFT fine to use for a game? I do need TTF fonts, by the way. Thank you

Share this post


Link to post
Share on other sites
Advertisement
Does OGLFT redraw the text each frame? It would probably be better to use FreeType to render the text to a texture. That way this could be done only when the text changes. Rendering a texture each frame would be much faster.

Share this post


Link to post
Share on other sites
from a google


Characters can be rendered in several ways:

1. Outlines extracted directly from vector font face data (the lines and curves in TrueType and Type1 formats)
2. Tessellated, filled polygons
3. Extruded solids (through the GLE Tubing and Extrusion library)
4. Monochrome bitmaps
5. Solid grayscale, antialiased pixmaps
6. Translucent antialiased pixmaps
7. As texture maps


r u using method 7?
u should be

Share this post


Link to post
Share on other sites
Yes, but I think I have to do something else too. If you see the tables, there are values for immediate draw, cached glyph and display list. It seems like I'm only using immediate draw, because it is rendering much slower.

Share this post


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

  • Advertisement