Preformance / Optimisations
Posted: Mon Jul 17, 2006 05:24
I'm trying to use CEGUI in a hooked application.
I have hooked the game well enough & can load a window overtop without an hassle.
My problem comes down to one of speed.
When in the menus of this game, everything is smooth, but inside the 3D game world, the game becomes unplayable.
At first i thought this was caused by some SetRenderState conflict, but i finally installed fraps & found that the only reason the menu is smooth at the start, is because it begins at 150 fps & drops to about 70 (with CEGUI on), so its never noticeable.
In the game however, my old video card only gets 20 fps & once i enable CEGUI to render, it drops to below 1 fps.
So my question, before i jump ship looking for a different library...
Is there anyway i can trim down the renderGUI step?
Would it be viable to maybe hack away at the direct x renderer & remove parts (give up functionallity for speed)?
I would really rather not switch to another library, or (ugh) write my own, i use CEGUI for a lot of things & i'm very comfortable with it.
Any help would be apreciated!
I have hooked the game well enough & can load a window overtop without an hassle.
My problem comes down to one of speed.
When in the menus of this game, everything is smooth, but inside the 3D game world, the game becomes unplayable.
At first i thought this was caused by some SetRenderState conflict, but i finally installed fraps & found that the only reason the menu is smooth at the start, is because it begins at 150 fps & drops to about 70 (with CEGUI on), so its never noticeable.
In the game however, my old video card only gets 20 fps & once i enable CEGUI to render, it drops to below 1 fps.
So my question, before i jump ship looking for a different library...
Is there anyway i can trim down the renderGUI step?
Would it be viable to maybe hack away at the direct x renderer & remove parts (give up functionallity for speed)?
I would really rather not switch to another library, or (ugh) write my own, i use CEGUI for a lot of things & i'm very comfortable with it.
Any help would be apreciated!