Sign in to follow this  
dkent

To GLUT or not to GLUT

Recommended Posts

dkent    122
Are there any reasons for not using GLUT when developing a game? We are just in the beginning phases and I want to check this out before we get locked in to using it. -david

Share this post


Link to post
Share on other sites
superdeveloper    188
I say Aye. I think it's a useful tool for rapid development of your game. If you implement your own window system, you will need to maintain it and that can be annoying... Also, its not difficult to "phase it out" even at the end of your project.

Share this post


Link to post
Share on other sites
frenchfry164    122
I've used GLUT in the past and it is pretty good. Of course, there is a LOT of room for improvement, which was supposed to be done in FreeGLUT, but I haven't seen a heck of a lot of new features lately.

The other day I discovered GLFW. I'd suggest everybody look it up. It works just like OpenGL, and has much more functionality than GLUT.

edit: In reply to alnite, GLUT does let you do fullscreen, it's called game mode. You pass a string with all the parameters to GLUT and then tell it to enter game mode. Oh, and I wouldn't limit myself to just SDL for large projects.

Share this post


Link to post
Share on other sites
alnite    3438
Quote:
Original post by frenchfry164
edit: In reply to alnite, GLUT does let you do fullscreen, it's called game mode. You pass a string with all the parameters to GLUT and then tell it to enter game mode. Oh, and I wouldn't limit myself to just SDL for large projects.

I have heard of this game mode, but I am not sure whether it's part of GLUT or some third-party developers added it. If it was then good.

Share this post


Link to post
Share on other sites
zedzeek    529
>>I have heard of this game mode<<

sdl has got nothing to do with glut. see here www.libsdl.org,
glut hasnt been updated in years, sdl like glut is crossplatform (even runs on ps2) it also handles sound/input etc

Share this post


Link to post
Share on other sites
Koshmaar    989
AFAIK GLUT doesn't handle all that input/timer/thread stuff, so in this case SDL is the winner. On the other key though, GLUT has support for many different and sometimes handy functions that ease developement of 3D game - here GLUT is better.
Choice is yours, hovewer I would advice you to use SDL like I'm doing right now -> OpenGL + SDL and everythings fine, I can't complain (but I'm writing 2D game, so in your case it may be different). Another advantage of SDL is that it's constantly updated, and GLUT is not.

You can also throw dice ;-)

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