Page 1 of 1

OpenGL renderer and culling

Posted: Tue Jan 24, 2006 08:53
by muhkuh
Hi,

I use the latest stable release of CEGUI with the OpenGl renderer. I realized that CEGUI requires culling set to GL_FRONT or nothing gets rendered. The default value of OpenGl is GL_BACK though. Is it a bug or intentional? Is the library user required to set the correct culling mode for the rendering system or should the CEGUI renderer do it and restore it after rendering the gui is finished?

Tnx a lot.

Markus

Re: OpenGL renderer and culling

Posted: Sat Feb 04, 2006 20:58
by CrazyEddie
It's just something that's just always been that way, as far as I know. If you want to think of it as a bug, that's fine :)

I guess really we should set it and restore. Though a better idea might be to change the order of the vertices so that things work with the default. One of us will do some testing before the next release - pehaps you could add and entry on the bug tracker so it does not get lost?

Thanks,

CE.

Re: OpenGL renderer and culling

Posted: Thu Feb 09, 2006 11:21
by muhkuh
Will do.

Err..would do if I could find the bug tracking system? Is it because of the server change that there is no link to it or am I just blind?

Regards,

Markus

Edit:
Now that the site is back at sourceforge I managed to find the bug tracking system :-).

Posted: Sat Feb 11, 2006 10:44
by CrazyEddie
Thanks for submitting and for the patch - nothing worse than these issues getting lost in the daily grind of CEGUI development ;)