Crossbones+ - Reputation: 7457
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.
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.
The voices in my head may not be real, but they have some good ideas!
Members - Reputation: 1561
Posted 02 July 2012 - 02:39 AM
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.
Members - Reputation: 294
Posted 05 July 2012 - 12:21 PM