Archived

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

dfawcett

any reasons not to use glut

Recommended Posts

dfawcett    122
things i noticed, no need for winproc,winmain, and anything windows related. there seems to be a empty window when running an app. is that normal? and can the gl commands i would use in a normal app be used with glut? http://www.lectersoft.com

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
The console file is ''normal'' (it''s useful for debugging). You can turn it off with a compiler flag (sorry don''t remember which one).

You can use GL just like usual (note: GL, not functions that belong to WGL/GLX/AGL/etc).

There are many reasons to use Glut, and many not to use it. I personnally dislike the callback mechanism and find the input handling too limited. I personnally use SDL instead of Glut, but that''s a matter of choice. Glut was meant for small projects you''ll sometimes run into very annoying limitations.

Share this post


Link to post
Share on other sites
Johnny Watson    508
Well, GLUT''s speed is limited to the Windows refresh rate, and it also hides some really important code needed for libraries such as DirectInput, DirectSound, FMOD, ect... Other than that, GLUT is okay for smaller demo''s or games which don''t use any of the aforementioned libraries. You can also use OpenAL (through ALUT) along with GLUT.

Johnny Watson
Owner/Main Programmer Vigasotech, Inc.

Share this post


Link to post
Share on other sites
dfawcett    122
it would be nice if glut could give us the information we need to use other liraries. or at least include some directx stuff for us.

http://www.lectersoft.com

Share this post


Link to post
Share on other sites
Eber Kain    130
" it would be nice if glut could give us the information we need to use other liraries. or at least include some directx stuff for us. "

GLUT is open source, or at least it used to be.

Share this post


Link to post
Share on other sites