Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

difference between SDL and GLUT

I am learning the Opengl graphic programming at Eclipse. Can someone tell me the difference between GLUT application and SDL application, so that I can dig into either one of them? Tks.

like image 965
lego69 Avatar asked May 16 '10 07:05

lego69


1 Answers

SDL is a larger library for larger needs.

If you're building a simple demo of a rendering mechanism, GLUT is way better than SDL, it takes care of a lot of the details that SDL would otherwise require.

However, if you're developing a serious application, SDL is more likely to be the tool you need to use, as GLUT abstracts more than a real application would normally want to. SDL gives you much more control over everything.

like image 183
luvieere Avatar answered Sep 23 '22 15:09

luvieere