Issue with Direct3D9 Renderer Module in 0.7.0

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Kentaree
Just popping in
Just popping in
Posts: 4
Joined: Fri Sep 25, 2009 08:51

Issue with Direct3D9 Renderer Module in 0.7.0

Postby Kentaree » Mon Sep 28, 2009 14:12

I've upgraded CEGUI to 0.7.0, and something strange has started happening with the rendering of the interface. The position is broken, and the interface now reacts to the movement of the camera in game. Provided are screenshots from 0.6 and 0.7 (ignore the differing background).

0.7
Image

0.6
Image

Are there any known problems with the new renderer or is it likely something that I'm doing wrong?

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

Re: Issue with Direct3D9 Renderer Module in 0.7.0

Postby CrazyEddie » Mon Sep 28, 2009 18:59

Hi,

No known problems with the 0.7.0 D3D9 renderer, although this does not mean much since the code is so new ;)

The issue looks like some render state issue, perhaps related to one of the matrices. This will be something you're changing in your code, that we are not setting back to default or disabling in the renderer - if you want to try and fix it, you can try resetting various states prior to calling the renderGUI function. If you happen find which one is causing the issue that would be great. If not, I'll look into it and try and reproduce something either tomorrow or Wednesday, though reproducing certain issues is sometimes quite difficult.

CE.

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

Re: Issue with Direct3D9 Renderer Module in 0.7.0

Postby CrazyEddie » Tue Sep 29, 2009 11:31

I'm pretty sure this is the view matrix. I'll add the code for this either this afternoon or this evening. If you want to confirm this before hand, just add code to reset the view matrix to identity prior to issuing the renderGUI call. I thought we were using this in the module but apparently not - perhaps I had it in there originally and removed it for some reason before I committed the finished version :)

CE.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 14 guests