Do you know about SDL ?

SimonA
02-26-2002, 06:00 AM
SDL uses DirectX and OpenGL but it is not limited to just one OS!
Its easy to use, contains alot of examples and best of all its LGP!
With it being Open Source, if you find an error then you can fix it and submit the change.

Ive been using it for a while now and the on-line support is great.

I can seriously recommend this for cross-platform games and if your not to hot on programming, then check out the examples on the website.

Click for SDL site. (http://www.libsdl.org/)

Good luck!

Si.

Forgot to mention, its C though.

denmeister
02-26-2002, 06:16 AM
I saw a paper on SDL once. In Windows it cuts your frame-rate almost by a third. Too much over-head. It's good for a quick and dirty little demo or SDK. But for something that requires raw power, I'd pass.

Good suggestion though. It's always an option. And options is what this business is all about.

SimonA
02-26-2002, 11:22 AM
I seriously doubt it has that much of an overhead. Sure it will have a little but a third sounds like the guy did something wrong like trying using HardWare mode on a card that only supports SoftWare.

I know I did that for a while and wondered why it seemed slow :)

Now it runs fast. I did a small test app and it ran very fast on an old P233. Although I dont mess with DX so I cannot compare.

Si.

denmeister
02-26-2002, 11:25 AM
It's certainly possible, but from what I understand, the overhead came from too many far calls in functions that are used in rendering loops. I don't know first hand, myself.

SimonA
02-27-2002, 02:37 PM
Well I suppose it could generate that much of an overhead if you used their basic plot pixel function. The routine is far from optimised and was only intended as an example.

I created my own routines to do this encapsulated inside a class and get a huge increase in performance.

Its just a case of what you want and how to optimise for it.

Si.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum