OpenGL text

This topic is 3276 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

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 on other sites
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 on other sites

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 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.

• 13
• 10
• 12
• 10
• 13
• Forum Statistics

• Total Topics
632998
• Total Posts
3009802
• Who's Online (See full list)

There are no registered users currently online

×