I got the gui rendering, but only when I don't draw my own s

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

User avatar
toysnob
Just popping in
Just popping in
Posts: 13
Joined: Fri Feb 18, 2005 01:15

I got the gui rendering, but only when I don't draw my own s

Postby toysnob » Thu Feb 24, 2005 03:00

I finally got CEGUI to render the same stuff that is in the demo, however as soon as I try to render so much as my own quad, the UI doesn't render, only my quad. It's one or the other, but never both.

I am rendering the UI last of course, and not using any alpha or any textures. Is there anything I should be doing or not be doing?

Any renderstates in my device I should be setting?

I am using the DX9 renderer.

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

Re: I got the gui rendering, but only when I don't draw my o

Postby CrazyEddie » Thu Feb 24, 2005 09:55

Most render states are set in DirectX9Renderer::initPerFrameStates, though it is highly likely that there are some missing. Depending upon what settings your app uses when rendering geometry, something is probably being missed.

If you do discover which state it is before I can, I would be very grateful for the help :)

CE.

User avatar
toysnob
Just popping in
Just popping in
Posts: 13
Joined: Fri Feb 18, 2005 01:15

Re: I got the gui rendering, but only when I don't draw my o

Postby toysnob » Fri Feb 25, 2005 05:44

Yes I found it. You forgot to disable CULLing. Just disable it and it works fine (in my case) since my app had enabled it.

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

Re: I got the gui rendering, but only when I don't draw my o

Postby CrazyEddie » Fri Feb 25, 2005 10:00

Cool. I'll get this added over the weekend :)

CE


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 4 guests