SDL and OpenGL

Started by
4 comments, last by nefthy 18 years, 10 months ago
Hello all. Not exacly openGL, but related to my openGL programming. Are any of you using SDL (http://www.libsdl.org/) for your openGL programming projects? I just read about SDL on gamedev.net and it looks like the answer to all my problems (well maybe not all). Endre
Advertisement
Yup,

Its very handy. Heres a project where I setup GL using SDL:
http://www.eng.uwaterloo.ca/~rramraj/Gamedev/chess_tutorial/src_tree/chess_src.zip

Cheers,
- llvllatrix
Thanks.

I'll take a look at it.

What parts of SDL do you use? Just the windows init part or do you use it for other stuff too, like sound and input?

Endre
Mostly windows init and user input. I use OpenAL/OggVorbis for sound. Its a bit more flexible.

Cheers,
- llvllatrix
Aye, SDL is immensely useful, like many, I just use it for window init and user input.
Yea, SDL is a fine lib. Sad most people don't understand the concept behind the keybord input (just look at the SDL port of lesson 7 and you'll know what I mean).

Also very nice is SDL_image which can handel all popular image formats (BMP, PNM (PPM/PGM/PBM), XPM, LBM, PCX, GIF, JPEG, PNG, TGA, and TIFF)

This topic is closed to new replies.

Advertisement