SDL only?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

User avatar
davidahouse
Just popping in
Just popping in
Posts: 2
Joined: Sun Jan 22, 2006 02:44
Contact:

SDL only?

Postby davidahouse » Sun Jan 22, 2006 03:49

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

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Re: SDL only?

Postby lindquist » Sun Jan 22, 2006 13:05

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

User avatar
davidahouse
Just popping in
Just popping in
Posts: 2
Joined: Sun Jan 22, 2006 02:44
Contact:

Re: SDL only?

Postby davidahouse » Sun Jan 22, 2006 13:37

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.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 26 guests