Jump to content
  • Advertisement

Archived

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

shoryuken

Do you guys use GLUT ??

This topic is 5895 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have read that GLUT is not favorable in game programming. I am wondering why this is so. I must''ve read the reason for it, but I have forgotten. Most game companies don''t use GLUT. Is this true? Why so?

Share this post


Link to post
Share on other sites
Advertisement
The only thing I am aware of it that it isn''t cross platform as OpenGL is intended to be. GLUT is targeted at Windows and makes it easier to setup a window. Probably does other stuff but I never used it so that''s all I know!

Share this post


Link to post
Share on other sites
I don''t use GLUT, but I probably would if I was making OpenGL demos and not entire games. For entire games I would use GLUT, except that I found SDL.
quote:
Original post by Mr Bakbugawk
The only thing I am aware of it that it isn''t cross platform...

Yes it is.

Share this post


Link to post
Share on other sites
Not true at all. GLUT is crossplatform. I have many programs that compile with GLUT flawlessly for Windows, Solaris, and Linux. GLUT, however, has far less functionality than you will get by using native OS API''s, since it has a fairly spartan feature set. That said, if you can live with what GLUT provides you, it is a very simple and fast way to program. I usually prefer to use a GLUT skeleton instead of a WGL skeleton whenever I do an OpenGL project.

Share this post


Link to post
Share on other sites
I hear it just isn''t flexible enough for some things.

I have had only 1 problem with it, and I am using SDL now...




-AfroFire

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
GLUT is there more for learning. It isn''t really there for the purpose of making a full-fledged game. It lacks serious control over aspects of interface control and such. But glut is MUCH easier to use than windows. especially if learning opengl before windows. its also platform independent and avoids a lot of windowing source code for examples. in directx tutorials the first chapter always explains how to use a little windows because it doesnt have a glut like thing and only supports windows anyway.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!