Jump to content

  • Log In with Google      Sign In   
  • Create Account


Viability of GLUT in commercial products


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 infectedbrain   Members   -  Reputation: 157

Like
0Likes
Like

Posted 01 July 2012 - 11:25 PM

I wanted to know if it was a good idea to use freeGlut in a commercial quality product or if I should go with something like SFML or SDL.
Any explanation would also be nice.

thanks,
Ben

Sponsor:

#2 SimonForsman   Crossbones+   -  Reputation: 5953

Like
2Likes
Like

Posted 01 July 2012 - 11:48 PM

I wanted to know if it was a good idea to use freeGlut in a commercial quality product or if I should go with something like SFML or SDL.
Any explanation would also be nice.

thanks,
Ben


If it works for you then its fine to use commercially as well, it is however worth remembering that glut was only intended as a support library for the OpenGL Redbook examples, it lacks alot of things that you will need in a game (sound, proper input, etc). and it does steal your mainloop which gets quite annoying after a while. (You can solve sound and input using additional libraries such as OpenAL)

Edited by SimonForsman, 01 July 2012 - 11:51 PM.

I don't suffer from insanity, I'm enjoying every minute of it.
The voices in my head may not be real, but they have some good ideas!

#3 larspensjo   Members   -  Reputation: 1526

Like
0Likes
Like

Posted 02 July 2012 - 02:39 AM

GLUT is from 2001. When you say "GLUT", I suppose you are using freeglut?

Anyway, I think glfw is a better choice. It is not based on legacy OpenGL, and it has a smaller impact (leaving main loop to you). It also has a good active support.
Current project: Ephenation.
Sharing OpenGL experiences: http://ephenationopengl.blogspot.com/

#4 BinaryPhysics   Members   -  Reputation: 294

Like
0Likes
Like

Posted 05 July 2012 - 12:21 PM

Honestly I've only ever thought of GLUT as something that should be used in tutorials. It's not very open to control. That said Amnesia: The Dark Descent actually contains the DLL file for it so I can only assume that it's included.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS