CEGUI about War3 probem!

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

jasonjzz
Not too shy to talk
Not too shy to talk
Posts: 40
Joined: Mon Dec 22, 2008 06:37

CEGUI about War3 probem!

Postby jasonjzz » Thu Nov 26, 2009 09:56

I used the hook Functhion inject the CEGUI to the War3, but have a probem,I capture one pic!

pic address:
http://hi.baidu.com/fasdfasdfvz/album/item/6f64f7bf3fe7e82519d81fb6.html


why in the game the Tree and the Hero's look like very notture!


sorry my pool english

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: CEGUI about War3 probem!

Postby CrazyEddie » Thu Dec 03, 2009 09:48

Hi,

It looks like a state issue. Assuming D3D, you'd need to save the D3D states prior to drawing the CEGUI output and restore them again afterwards. The DirectX documentation covers this in State Blocks - we chose not to do this automatically for performance reasons.

CE.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 2 guests