SDL performance

Hi,

There?s a SDL performace test provided by SGE called speedtest.exe.
I tried it on an altra cheapo video card and a good 3D card.
They both got just over 3000 triangle texture maps per second.
Does SDL take advantage of 3D graphics cards by default?

The reason I ran the test is because I?m trying to decide between SDL and
Allegro and I?ve read a lot about performance issues with SDL.
One guy at Allegro said he took an SDL game and converted it to Allegro
without making any tweaks and got much higher frame rate.
I need a game engine that can do software & hardware rendering with DirectX.
Example, if the video card does not support rotations,
then I would need the engine to do software rotations.

Thanks for any help!
YT

Hey YT,

What you should REALLY do if you want speed is use OpenGL.

I recommend using SDL to get to OpenGL so that your game is cross platform
compilable and also so you get the event system SDL has (which is super
awesome) as well as that gives you access to use all the extra libs to do
sound etc.

Also w/ OpenGL you can do 3d OR 2d OR a combination of the 2. And of course
OpenGL uses all available 3d graphics acceleration, and you can even use
extensions to utilize more proprietary acceleration techniques if you want
to.> ----- Original Message -----

From: yotango@yahoo.com (YT)
To:
Sent: Thursday, May 13, 2004 10:56 AM
Subject: [SDL] SDL performance

Hi,

There?s a SDL performace test provided by SGE called speedtest.exe.
I tried it on an altra cheapo video card and a good 3D card.
They both got just over 3000 triangle texture maps per second.
Does SDL take advantage of 3D graphics cards by default?

The reason I ran the test is because I?m trying to decide between SDL and
Allegro and I?ve read a lot about performance issues with SDL.
One guy at Allegro said he took an SDL game and converted it to Allegro
without making any tweaks and got much higher frame rate.
I need a game engine that can do software & hardware rendering with
DirectX.
Example, if the video card does not support rotations,
then I would need the engine to do software rotations.

Thanks for any help!
YT


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

I wrote my first game (a super-simple Tetr*s clone) using Allegro,
'cause it looked like it had a bit better documentation, and in fact I
still think it does, but I switched over to SDL because it does MORE and
what it does is done better. Allegro – as far as I could see – For
instance, the keypress event in Allegro is somewhat obscure (to me) if
you want to get the key RELEASE, whereas in SDL it’s MUCH simpler, and I
think also more true to how the system works.

As for 3D stuff, that’s the MAIN reason I moved over to SDL, 'cause it
has a native transition from it to true OpenGL. Allegro’s 3D stuff
looked, well, strange and unnatural. :slight_smile: I don’t want to learn their
workaround to OpenGL – I want to learn and use OPENGL ITSELF.

So, yeah. I like SDL better.

–Scott

YT wrote:>Hi,

There?s a SDL performace test provided by SGE called speedtest.exe.
I tried it on an altra cheapo video card and a good 3D card.
They both got just over 3000 triangle texture maps per second.
Does SDL take advantage of 3D graphics cards by default?

The reason I ran the test is because I?m trying to decide between SDL and
Allegro and I?ve read a lot about performance issues with SDL.
One guy at Allegro said he took an SDL game and converted it to Allegro
without making any tweaks and got much higher frame rate.
I need a game engine that can do software & hardware rendering with DirectX.
Example, if the video card does not support rotations,
then I would need the engine to do software rotations.

Thanks for any help!
YT


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl