开发者

difference between SDL and GLUT

开发者 https://www.devze.com 2022-12-30 05:07 出处:网络
I am learning the Opengl graphic programming at Eclipse. Can someone tell me the difference between GLUT application and SDL application, s开发者_JAVA百科o that I can dig into either one of them? Tks.

I am learning the Opengl graphic programming at Eclipse. Can someone tell me the difference between GLUT application and SDL application, s开发者_JAVA百科o 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.


SDL is a full multimedia library, which supports graphics, sound, input, networking plus there are a lot third-party add-ons. GLUT is a simple GUI library.

0

精彩评论

暂无评论...
验证码 换一张
取 消