Skip to main content
gamedev.net
🔒 Locked

GLUT?

Started by xtrmntr 3 replies 450+ views
Original Post
xtrmntr
xtrmntr
Ok, I have been spending a good few weeks going through the openGL API documentation online as well as the GLU and GLUT documentation. I plan on purchasing the openGL programming guide and possibly reference although it seems like that might be overkill. I haven''t even started to write a program with it as I want to have most of the concepts and basics rooted in before I just jump in and get myself frustrated. In my search I have come to the understanding that there are basically 4 main parts for openGL programming(correct me if I''m wrong): GL function set, GLU function set, GLUT function set, GLAUX function set. The first is the most basic functions for working in 3D, the second and fourth are sets of helper functions that may or may not use functions from the first and the third is an alternative to Win32(?). My question (assuming you have stayed with me here) is what are some of the pros and cons of using GLUT over Win32? I have gone through some of the beginning tutorials at Jeff''s site and noticed that he uses strictly Win32. When I look at the setup for that as apposed to how you set things up with GLUT it makes me wonder why he uses it (especially since GLUT makes things more platform independant). Thanks
xtrmntr
xtrmntr
Whoa... SDL has GLUT beat be a mile from the looks of it (just skimmed the openGL setup tut.). Not only does it process events, but it handles sound, timers, threads and some other cool stuff too!

Thanks for the info!

(still would like to know peoples thoughts, perhaps from the more seasoned openGL programmers, NULL excluded of course )
Johnny Watson
Johnny Watson
GLUT is okay for testing out certain features an engine of yours may have, and its also okay for smaller applications, but as for games, GLUT isn''t too great. It''s a lot slower than using plain Win32 OpenGL, plus it doesn''t give you any control over a lot of variables required for certain other libraries such as FMOD. While GLUT is a nice, quick and dirty way to get things done, for larger projects, you want to use Win32.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.