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
0.6
Are there any known problems with the new renderer or is it likely something that I'm doing wrong?
Issue with Direct3D9 Renderer Module in 0.7.0
Moderators: CEGUI MVP, CEGUI Team
- 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
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.
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.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
- 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
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.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Who is online
Users browsing this forum: No registered users and 4 guests