Page 1 of 1

CEGUI 0.7.2 + Ogre1.8 + Opengl ES2.0

Posted: Sat Dec 17, 2011 03:36
by finezwx
We have to use CEGUI0.7.2 and Ogre1.8 in our games. And the games are all in Android platform.
Ogre1.8 in Android platform uses Opengl ES2.0 to render, so every geometry needs shader to render!!!.
but the CEGUIOgreRenderer doesn't use any shader script.
I have done much works in CEGUIOgreRenderer for using shader, but all is fail!!!!

Who has done the same work? And can give me the CEGUIOgreRenderer using shader ?


Thanks very much!!!

Re: CEGUI 0.7.2 + Ogre1.8 + Opengl ES2.0

Posted: Sat Dec 17, 2011 08:41
by Kulik
If you are using always using GLES you could use our new GLES renderer.

http://crayzedsgui.hg.sourceforge.net/h ... s/OpenGLES

You will likely have to port some smaller parts because there were API changes.

Re: CEGUI 0.7.2 + Ogre1.8 + Opengl ES2.0

Posted: Sat Dec 17, 2011 09:35
by finezwx
where can I find the new CEGUIOgreRenderer ?
Does the new CEGUIOgreRenderer use shader ???

Thanks very much

Re: CEGUI 0.7.2 + Ogre1.8 + Opengl ES2.0

Posted: Mon Dec 19, 2011 03:21
by finezwx
http://crayzedsgui.hg.sourceforge.net/h ... s/OpenGLES
I have read OpenGLES render,but it uses opengles1.1, not uses opengles2.0, so it doesn't use shader to render!

can CEGUI use opengles2.0 to render ?
Who can give me some suggestion?

Re: CEGUI 0.7.2 + Ogre1.8 + Opengl ES2.0

Posted: Mon Dec 19, 2011 10:52
by Kulik
AFAIK Ogre has something called Fixed Pipeline Emulation. Maybe you can look into that.

I recall people reporting CEGUI as working on Androids and iOS devices. I myself have no idea how that's done. I guess you will have to get your hands dirty to achieve this.

Re: CEGUI 0.7.2 + Ogre1.8 + Opengl ES2.0

Posted: Wed Dec 21, 2011 13:19
by finezwx
I have to do it by myself! And can you give some information?

Re: CEGUI 0.7.2 + Ogre1.8 + Opengl ES2.0

Posted: Wed Dec 21, 2011 16:06
by Kulik
finezwx wrote:I have to do it by myself! And can you give some information?


I am withholding that information and will take it to my grave. :rofl:

Of course if I had any information I would have posted. I have none. I am also unsure what more do you expect. Nobody is going to do your dirty work.

Re: CEGUI 0.7.2 + Ogre1.8 + Opengl ES2.0

Posted: Fri Dec 23, 2011 11:48
by finezwx
I'm very glad that the cegui window all show normaly!!!
I'll share my code later, and welcome every one to give me some suggestions !