Page 1 of 1

SDL only?

Posted: Sun Jan 22, 2006 03:49
by davidahouse
Can the GUI system be used with just SDL as the rendering platform? I see that it can be used with OpenGL, but my game is built on just the 2D parts of SDL.

If not, how difficult would it be to change the code so it would work?

TIA

Re: SDL only?

Posted: Sun Jan 22, 2006 13:05
by lindquist
CEGUI uses features that are only available with decent performance in 3D api (afaik).

Blending, stretching, colour-modulation. These are performance killers in a 2D app.

I suggest you look at this thread to learn more. I posted some code for a working, but pretty damn slow, SDL 2D renderer in there.

HTH

Re: SDL only?

Posted: Sun Jan 22, 2006 13:37
by davidahouse
Thats what I figured, but thought it best to ask first. My GUI needs are pretty simple so I'll probably just roll my own.

Thanks for the info.