Page 1 of 1

RenderEffect BUG with CEGUIOgreRenderer?

Posted: Tue Dec 07, 2010 01:33
by hitjack
using Origin 1.7.4 CEGUI and Origin OGRE 1.7.1 and CEGUI provide CEGUIOgreRenderer ,In the CEGUI Demo7Sample when i resized the Main App Window the cegui window borders will strange, like this
Image
but when i using Direct3D9Renderer it's seems ok

Re: RenderEffect BUG with CEGUIOgreRenderer?

Posted: Tue Dec 07, 2010 13:18
by Kulik
Are you using DX10/DX11 in Ogre? It's experimental and the fixed pipeline emulation has rough edges. OgreRenderer through DX10/11 could look like the screenshot you posted.

Re: RenderEffect BUG with CEGUIOgreRenderer?

Posted: Wed Dec 08, 2010 03:07
by hitjack
:( the fact is I using DX9 in Ogre.and using RenderEffect or setUsingAutoRenderingsurface true. will occur that.

Re: RenderEffect BUG with CEGUIOgreRenderer?

Posted: Thu Dec 09, 2010 13:11
by Kulik
I think we've seen this bug before and it was related to drivers. Please post what GPU you are using and what drivers. This is an annoying bug and AFAIK we haven't really tracked it down last time, it just disappeared with driver updates. Maybe it's not CEGUI's fault at all, who knows.

Re: RenderEffect BUG with CEGUIOgreRenderer?

Posted: Sun Dec 12, 2010 09:13
by hitjack
:( As you said,the programe runs on my friend's computer all seems well~
Tragedy

Re: RenderEffect BUG with CEGUIOgreRenderer?

Posted: Wed Dec 15, 2010 08:45
by hitjack
:o I think i have find the reason occur that problem! when sized the app window then trigger the notifyDisplaySizeChanged and OgreCEGUIRenderer do declareRenderSize, but after that the D3D9 DeviceLost. the TextureTarget must be invalid! It is seems CEGUIOgreRenderer's bug.
In order to fix that , after DeviceLost I called notifyDisplaySizeChanged,the problem is solved!