Page 1 of 1
How can I use SDL as a render for CEGUI
Posted: Sat May 19, 2007 12:22
by jeff2050
You know that there are some 3D renders for CEGUI such as Direct3D, SDL+OpenGl etc. But I'd like to use CEGUI in my 2d game, that means I need to use a non-2d render. Who knows if there's a simple solution to implement a 2d render for CEGUI?
Posted: Sat May 19, 2007 18:12
by scriptkid
Hi,
Lindquist has done some work on this litteraly years ago, you can read this thread:
http://www.cegui.org.uk/modules/newbb/v ... umpost4123
His main problems were performance when drawing gradients and such...
CEGUI really benefits from 3D accelaration, so i hope you get some satifying results in a 2d-only enviroment.
HTH and good luck!
Posted: Sun May 20, 2007 13:20
by Pompei2
I think one big performance problem will be alphablending

sdl is really slow with this !
Posted: Mon May 21, 2007 02:40
by anlumo
Nowadays, even 2D stuff should use OpenGL to get decent performance...
Posted: Mon May 21, 2007 13:59
by jeff2050
scriptkid wrote:Hi,
Lindquist has done some work on this litteraly years ago, you can read this thread:
http://www.cegui.org.uk/modules/newbb/v ... umpost4123His main problems were performance when drawing gradients and such...
CEGUI really benefits from 3D accelaration, so i hope you get some satifying results in a 2d-only enviroment.
HTH and good luck!
I don't know where I can get the package to test? It seems that I can't find that zip file posted by Lindquist.