CeGUI + CDX ?

Forum for general chit-chat or off-topic discussion.

Moderators: CEGUI MVP, CEGUI Team

User avatar
Termit
Just popping in
Just popping in
Posts: 2
Joined: Mon Sep 26, 2005 14:05

CeGUI + CDX ?

Postby Termit » Mon Sep 26, 2005 14:26

Hi Eddie! Thank you for this great library. It is amazing that such work can be done by obe human:)
I have a question - in my game I use CDX library, it is wrapper over DirectX (http://www.cdxlib.com/index.php)
I was unable to use it with the GUI library - cdx draws nothing and I see only GUI output. Can I use them simultaneously somehow? Any tips are appericated.

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

Re: CeGUI + CDX ?

Postby CrazyEddie » Mon Sep 26, 2005 17:33

I imagine that CDX is expecting to find render states untouched from the previous frame. Obviously CEGUI needs to change somw of these to do it's thing - so this is likely what the problem is.

If CDX has some means of initialising the required states, you should call this each frame, else you're going to have to save states before rendering the gui and restore them afterwards (using the D3D methods for this).

HTH

CE.

User avatar
Termit
Just popping in
Just popping in
Posts: 2
Joined: Mon Sep 26, 2005 14:05

Re: CeGUI + CDX ?

Postby Termit » Wed Sep 28, 2005 07:02

Thank you Eddie! Ill try to check these things and put the results here if succeed.


Return to “Offtopic Discussion”

Who is online

Users browsing this forum: No registered users and 6 guests