Original Post
Hey there.
I'm currently developing a GUI library from scratch, and after making the classes for buttons, windows, scrollbars etc I think its time to make them more user friendly by adding some text.
Today i tried to use the FTGL to draw some text, but the performance was very bad, just by drawing a window i got somewhat around 1300 fps, but if I drew it and a string ,with something like 20 characters, the framerate got around 200 fps using FTBitmapFont, it got even worse if I used FTPixmapFont.
I tried to use this library to avoid writting my own FreeType wrapper, basing myself on nehe's code that i saw here http://nehe.gamedev.net/tutorial/freetype_fonts_in_opengl/24001/ , though I think I could get a better performance from it.
Is there a better way to avoid these performance hits using FTGL?
Are there better text rendering APIs to use just to render some simple text on my GUI components? I don't really need anything complex, just some simple 2D text.
Cumpliments.
I'm currently developing a GUI library from scratch, and after making the classes for buttons, windows, scrollbars etc I think its time to make them more user friendly by adding some text.
Today i tried to use the FTGL to draw some text, but the performance was very bad, just by drawing a window i got somewhat around 1300 fps, but if I drew it and a string ,with something like 20 characters, the framerate got around 200 fps using FTBitmapFont, it got even worse if I used FTPixmapFont.
I tried to use this library to avoid writting my own FreeType wrapper, basing myself on nehe's code that i saw here http://nehe.gamedev.net/tutorial/freetype_fonts_in_opengl/24001/ , though I think I could get a better performance from it.
Is there a better way to avoid these performance hits using FTGL?
Are there better text rendering APIs to use just to render some simple text on my GUI components? I don't really need anything complex, just some simple 2D text.
Cumpliments.