I'm getting this problem.
http://www.ogre3d.org/phpBB2/viewtopic.php?t=32277
I can't ship my game like this. So I need to spend some time to see what I can do to fix this. Maybe nothing, since such a widespread and evident problem likely does not have any easy fix. The alternative is to use Ogre's font system and write my own thing, but I might as well try to do what I can.
Now the problem is clear - it is because every character is individually rendered. I believe the solution is also clear - if the static text does not change, render to texture, then blit that one texture, rather than each character. For big strings this can give you 100X the performance.
I've done this 3 times in other engines, but with CEGUI I'm totally unfamiliar with where to start. So a few questions:
1. Does CEGUI have the ability to write text to a texture, rather than to screen?
2. What difficulties are there that have blocked you from doing this already?
3. Assuming I write the text to a texture, is there any particular way I should draw to the screen?
Any feedback that will save time is appreciated.
50% framerate slowdown with 6 lines of text
Moderators: CEGUI MVP, CEGUI Team
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 5 guests