Well been away for awhile, working on things. But one of the things i sorta left for awhile was the ability to render txt, looking around and finding the ftgl library.
So my problem isn't actually rendering the text with a .ttf, but that for some reason the rendering is extremely slow.
Here's an example of what i mean: (using FRAPS as the guide for fps)
With font rendering:
[media]http://imageshack.us/photo/my-images/707/withfontrendering.png/[/media]
Without:
[media]http://imageshack.us/photo/my-images/707/nofontrendering.png/[/media]
As you can see, quite the difference, just wondering on what might be causing such a drop? Surely font-rendering isn't that expensive?
Currently using [font="Verdana, Arial, Helvetica, sans-serif"][color="#111111"][size=2]FTGLPixmapFont, using the "less expensive" methods i.e FTGLBitmapFont isn't really helping at all. A gain of only a couple of FPS.
Just to show you my main loop :
[/font]http://pastebin.com/MTUVgDX6
I am rendering my text inside that loop, as the idea is that the text will rendering certain values which will be updated. Any ideas what i could be doing wrong?