Bitmapped fontsīitmap fonts are fast, flexible and platform independent. However, these libraries are not universally available on all systems and I have a bad habit of trying to be portable and platform independent. These extensions do a great job of text rendering. This method produces high quality, scalable text, but this is also the slowest approach due to the overhead of generating and rendering the glyph polygons. Polygon glyphs created from outline font definitions This is quick to render at run time, but isn’t very flexible or efficient. ![]() The simplest and fastest method, a texture is pre-built for each piece of text that needs to be displayed. ![]() ![]() One of the big problems OpenGL runs into after you’ve got your first few polygons flying around the screen is the lack of a standard method for generating text within the API.Ī few techniques have evolved to tackle the problem: Pre-generated string textures
0 Comments
Leave a Reply. |