Page 1 of 1

Is CEGUI OpenGL 3.2 ready?

Posted: Thu Feb 03, 2011 18:09
by Scorcher24
Could not find something about it, so I dare to ask:
Is OpenGL usable with a 3.2 Core Context? Are there still deprecated functions in use?
Can I somehow enforce CEGUI to use new functions only?
Thanks for answering.

Re: Is CEGUI OpenGL 3.2 ready?

Posted: Thu Feb 03, 2011 19:19
by Kulik
I don't have any confirmed info about this but AFAIK if you are not using the strict context you will be fine. CEGUI has been used in OpenGL3 and it works, even though it's not 100% elegant and using purely GL3 functions.

Re: Is CEGUI OpenGL 3.2 ready?

Posted: Thu Feb 03, 2011 23:15
by Scorcher24
Well, thats the Problem. I use a strict context.
You can either use the core or the compability context.

Re: Is CEGUI OpenGL 3.2 ready?

Posted: Thu Feb 03, 2011 23:54
by Kulik
It shouldn't be that hard to implement a GL3 renderer, it would just mean to add a bunch of shaders emulating fixed pipeline. I am not very experienced with GL3 though so I may be talking nonsense here :-) It should probably be split from the old OpenGLRenderer.

If you decide to implement it, perhaps join #cegui so we can discuss this.

Re: Is CEGUI OpenGL 3.2 ready?

Posted: Wed Feb 09, 2011 02:53
by Scorcher24
Kulik wrote:It shouldn't be that hard to implement a GL3 renderer, it would just mean to add a bunch of shaders emulating fixed pipeline. I am not very experienced with GL3 though so I may be talking nonsense here :-) It should probably be split from the old OpenGLRenderer.

If you decide to implement it, perhaps join #cegui so we can discuss this.


I would like to. But my knowledge with 3.2 is still to little to do this :D.

In 3.2 you need to use VBO's all the time and as you said, Shaders. It is not hard to implement basic functionality, but it is hard to master. Thats why I don't want to do it.
And last time I tried CEGUI I still had problems integrating it :D. So I am in no way competent enough to do this.
Sorry.

Re: Is CEGUI OpenGL 3.2 ready?

Posted: Sat Apr 16, 2011 14:21
by Ident
can i ask why you need to work in core profile? I can't think of any reason against compatibility mode. At least none without a quick solution.