How can I use SDL as a render for CEGUI

Forum for general chit-chat or off-topic discussion.

Moderators: CEGUI MVP, CEGUI Team

jeff2050
Just popping in
Just popping in
Posts: 3
Joined: Tue May 08, 2007 15:28

How can I use SDL as a render for CEGUI

Postby jeff2050 » Sat May 19, 2007 12:22

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?

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Sat May 19, 2007 18:12

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!

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

Postby Pompei2 » Sun May 20, 2007 13:20

I think one big performance problem will be alphablending :? sdl is really slow with this !

anlumo
Just popping in
Just popping in
Posts: 3
Joined: Sat May 05, 2007 22:50
Location: Vienna, AT
Contact:

Postby anlumo » Mon May 21, 2007 02:40

Nowadays, even 2D stuff should use OpenGL to get decent performance...

jeff2050
Just popping in
Just popping in
Posts: 3
Joined: Tue May 08, 2007 15:28

Postby jeff2050 » Mon May 21, 2007 13:59

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 ... 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!


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.


Return to “Offtopic Discussion”

Who is online

Users browsing this forum: No registered users and 10 guests