View Full Version : Difference between GLUT and SDL appliation

04-06-2010, 07:13 PM
Would like to know the difference between GLUT and SDL appliation that I am learning at Code:Blocks, which is the best for 3D graphics application as well. Tks

Alfonse Reinheart
04-06-2010, 08:51 PM
Well, as you probably noticed, SDL is about 100x the size of GLUT.

GLUT is a simple tool for simple needs. If you're putting together a demo to test out some particular rendering mechanism, GLUT is infinitely better than SDL. GLUT takes care of a lot of the details that SDL would otherwise require.

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

04-07-2010, 11:11 PM
Well noted with thanks.