|
Madox posted:That's all my own UI library and texture. It's still inefficient in dealing with text, but I think that's mostly DirectX's fault If you're using ID3DXFont it's going to be slow and there's just no way around it. I spent a while working on my own XML/Lua scriptable UI system for a game project that I'm working on and after a while I came to the conclusion that ID3DXFont was just far too slow to be usable for anything text-heavy. I ended up writing my own simple bitmap font renderer that uses FreeType to generate glyphs and the improvement is absolutely ridiculous. I got something like a 20x decrease in frametime when displaying large amounts of text. I'd post some screenshots of the project it's a part of, but it's fairly unremarkable looking at the moment since I'm saving most of the display-related code for later. Paradoxish fucked around with this message at 01:14 on May 16, 2008 |
# ¿ May 16, 2008 00:58 |
|
|
# ¿ Apr 19, 2024 09:43 |