any reasons not to use glut

Started by
6 comments, last by dfawcett 22 years, 3 months ago
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
http://www.lectersoft.com
Advertisement
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.
SDL is great. www.libsdl.org. Its portable like glut, but more powerful (linux versions of many games are done with SDL), but it isnt as easy to get set up.
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.
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
http://www.lectersoft.com
quote:Original post by dfawcett
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.

That''s what SDL is for.

[Resist Windows XP''s Invasive Production Activation Technology!]
" 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.
www.EberKain.comThere it is, Television, Look Listen Kneel Pray.
how do you use dls with opengl? after reading the first few things in it reminded me of GAPI for wince.

http://www.lectersoft.com
http://www.lectersoft.com

This topic is closed to new replies.

Advertisement