rendering problems with ogre and cegui
Moderators: CEGUI MVP, CEGUI Team
- lindquist
- CEGUI Team (Retired)
- Posts: 770
- Joined: Mon Jan 24, 2005 21:20
- Location: Copenhagen, Denmark
rendering problems with ogre and cegui
Hi all.
I've just started looking into Ogre about a week ago. And through recommendations from their site I'm now also trying out CEGUI...
Everything seems really nice and i like it alot. But I have an issue with rendering. With Ogres DX9 renderer everything works flawlessly, but in OpenGL nothing looks right...
Does anyone have any ideas ? Ogre itself works fine, its just the rendering of CEGUI that gets messed up.
[img align=left]http://www.helix.dk/shots/dx9.jpg[/img]
[img align=left]http://www.helix.dk/shots/gl.jpg[/img]
I've just started looking into Ogre about a week ago. And through recommendations from their site I'm now also trying out CEGUI...
Everything seems really nice and i like it alot. But I have an issue with rendering. With Ogres DX9 renderer everything works flawlessly, but in OpenGL nothing looks right...
Does anyone have any ideas ? Ogre itself works fine, its just the rendering of CEGUI that gets messed up.
[img align=left]http://www.helix.dk/shots/dx9.jpg[/img]
[img align=left]http://www.helix.dk/shots/gl.jpg[/img]
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: rendering problems with ogre and cegui
Hmmm, that's an odd one I've not seen anything quite like this before.
Are you using the default scene manager? If not, have you told the Gui system which scene manager you're using?
CE.
Are you using the default scene manager? If not, have you told the Gui system which scene manager you're using?
CE.
- lindquist
- CEGUI Team (Retired)
- Posts: 770
- Joined: Mon Jan 24, 2005 21:20
- Location: Copenhagen, Denmark
Re: rendering problems with ogre and cegui
I am using ST_GENERIC
creates the Ogre::SceneManager
creates the CEGUI:OgreRenderer
and yeah... its pretty odd
creates the Ogre::SceneManager
Code: Select all
scene = root->getSceneManager( Ogre::ST_GENERIC );
creates the CEGUI:OgreRenderer
Code: Select all
CEGUI::Renderer *r = new CEGUI::OgreRenderer( window, Ogre::RENDER_QUEUE_OVERLAY, false, 0, Ogre::ST_GENERIC );
and yeah... its pretty odd
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: rendering problems with ogre and cegui
Hi,
Okay I'm not sure how to reproduce this, everything works okay here.
Have you tried any of the gui demos (running the binaries will do, if you do not want to compile); do any of these show the same issue? This should allow us to narrow the field a little.
Thanks,
CE.
Okay I'm not sure how to reproduce this, everything works okay here.
Have you tried any of the gui demos (running the binaries will do, if you do not want to compile); do any of these show the same issue? This should allow us to narrow the field a little.
Thanks,
CE.
- lindquist
- CEGUI Team (Retired)
- Posts: 770
- Joined: Mon Jan 24, 2005 21:20
- Location: Copenhagen, Denmark
Re: rendering problems with ogre and cegui
Hi again.
I just tried out demo4,6,7 precompiled versions.
It's exactly the same. DX9 works fine, OpenGL screws up.
Right now I'm think driver issues. I'm using a Radeon 9600 XT with Catalyst 5.1...
Right now I'm home having my lunch break, but I'll try out another driver when I get off work.
The screenshots are from 0.1.1 but I tried out the CVS version and it's exactly the same.
anyways... Thanx for the quick reply.
I just tried out demo4,6,7 precompiled versions.
It's exactly the same. DX9 works fine, OpenGL screws up.
Right now I'm think driver issues. I'm using a Radeon 9600 XT with Catalyst 5.1...
Right now I'm home having my lunch break, but I'll try out another driver when I get off work.
The screenshots are from 0.1.1 but I tried out the CVS version and it's exactly the same.
anyways... Thanx for the quick reply.
Re: rendering problems with ogre and cegui
Just wanted to state that I have got the same problems (for quite a while), but it only happens on ATI cards (tested with 9200, 9700 Pro and Mobility 9700), the nVidia ones I tested with (5900XT, 6600GT) work fine, so I also think that this is a driver issue.
- lindquist
- CEGUI Team (Retired)
- Posts: 770
- Joined: Mon Jan 24, 2005 21:20
- Location: Copenhagen, Denmark
Re: rendering problems with ogre and cegui
Ok... I tested my demo on my roommates computer and it worked fine.
Should have done this in the first place.
He has a standard Radeon 9600 with some old driver installed.
I then tried reverting to the 4.12 catalyst (13 dec. I think) and it worked fine for me too...
So it seems that ATI's catalyst 5.1 has faulty OpenGL support.
Either that or there is some obscure bug in Ogres OpenGL renderer itself...
Well... It's good enough for me that it works with 4.12
Should have done this in the first place.
He has a standard Radeon 9600 with some old driver installed.
I then tried reverting to the 4.12 catalyst (13 dec. I think) and it worked fine for me too...
So it seems that ATI's catalyst 5.1 has faulty OpenGL support.
Either that or there is some obscure bug in Ogres OpenGL renderer itself...
Well... It's good enough for me that it works with 4.12
Re: rendering problems with ogre and cegui
When I tried out the new catalyst drivers (5.1) on 17 Jan 05 I ran into the same problem. I rolled back to 4.12 for now untill I get a response back from ATI dev support or the next driver comes out. My bet is the next driver update will be out before I get a response to my query about the problem. I have been trying to set up a small test case using just OpenGL but so far I cannot duplicate the problem. Seems to be something with Dynamic vertex buffers and alpha blending.
Re: rendering problems with ogre and cegui
Made some headway on this. Its not Dynamic vbo and alpha blending as I thought since my little test app works fine. Seems to be something in the render state setting in gl when an Ogre material gets rendered then CEGUI. Kind of a deja vu with the SO_FLAT/SO_GOURAUD problem. Seems like the previous drivers were more lax/forgiving maybe. If no Ogre materials get rendered then things work fine for CEGUI rendering. I'll play some more with the render state settings in ogrerenderer.cpp.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: rendering problems with ogre and cegui
Cool, I can't reproduce this here so if it does turn out to be another missing render state setting (I felt for sure we had them all now ), your finding it will be a great help
CE
CE
Re: rendering problems with ogre and cegui
Well, never got a reply from ATI about this problem but Catalyst 5.2 is out and the problem is now gone. Ogre GL renderer now works fine with CEGUI.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: rendering problems with ogre and cegui
Thanks for the update. Nice to know you can always count on ATI for support
- ErikHjortsberg
- Not too shy to talk
- Posts: 26
- Joined: Sun Jan 23, 2005 12:45
- Location: Sweden
- Contact:
Re: rendering problems with ogre and cegui
I got the same problem when I switched from nvidia driver 1.0-6629 to 1.0-7167.
I use Mandrake 10.1, Ogre 1.0 and CEGUI 0.2.0. I have a Geforce 6800 128Mb.
I use Mandrake 10.1, Ogre 1.0 and CEGUI 0.2.0. I have a Geforce 6800 128Mb.
- ErikHjortsberg
- Not too shy to talk
- Posts: 26
- Joined: Sun Jan 23, 2005 12:45
- Location: Sweden
- Contact:
Re: rendering problems with ogre and cegui
The problem has been solved, see here: http://www.ogre3d.org/phpBB2/viewtopic.php?t=8713
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 4 guests