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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With