Sign in to follow this  
infectedbrain

Viability of GLUT in commercial products

Recommended Posts

[quote name='infectedbrain' timestamp='1341206727' post='4954781']
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
[/quote]

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

Share this post


Link to post
Share on other sites
GLUT is from 2001. When you say "GLUT", I suppose you are using freeglut?

Anyway, I think [url="http://www.glfw.org/"]glfw [/url]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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this