This topic is now archived and is closed to further replies.

joseph drake


Recommended Posts

SDL and OpenGl are very different ... things.

In SDL you use Surfaces and Blit (Copy) them over each other.
In OpenGL you use Vectors and re-render the whole scene every Frame new.

You can however use SDL to make the window and handle the Input from the keyboard etc. and Use OpenGL ''inside'' SDL for the Grafik stuff.

Im am very new to OpenGL myself. And played around with SDL before that.

Now i use them both together and i think its great.

Creating the Window etc and handling the Input and events with SDL is realy easy and OpenGl is obviously a very Powerfull Grafik Libary.

And both SDL and OpenGl are Portable to many Platforms.

If you are new to both, i suggest you:
- Learn basics of SDL, make small little games and have fun.

- Learn OpenGl and use SDL as Framework for OpenGL.

- Have fun programming


if god gave us the source code, we could change the world!

Share this post

Link to post
Share on other sites
SDL''s great to learn for beginners, especially since then its easy to move over to OpenGL, since SDL is as good a library as any for making your windows, a prerequesite step for OpenGL. Its image manipulation, sound, and networking features are also good for use with OpenGL.

Share this post

Link to post
Share on other sites