EvilZone
Programming and Scripting => C - C++ => : pllaybuoy October 22, 2012, 04:29:08 PM
-
Here in my country bscs students are taught c++ and glut in their first year of bachelors , since I am a higschooler and self learning idk anything about it , mind any body tell me what GLUT is for ? I mean for game dev or gui software dev?
-
In my university, GLUT is taught in a 400-level, Computer Graphics course. Students here are expected to use the application Codeblocks, which contains the appropriate libraries necessary to create applications using GLUT. You should have enough programming experience before trying to learn GLUT, since it is not that far off from the C syntax. I am sure you can use it for gaming graphics, and related things. Before learning it, I think it's necessary to have a decent background of linear algebra.
This attachment should help you learn more about GLUT:
-
Thanks mate :) And I have started OOP , I will give that borland's graphics.h a go before this GLUT and will see what it comes out to be , also there is this MUD programming in c++ that I am aiming to learn , these are like just preparation to start learning directX , because I've heard thats really hard so I am trying different GUI stuff before directX
-
GLUT is a utility toolkit for OpenGL. It's basically an API that makes your life a lot easier when managing windows and callbacks in an OpenGL context. I used it a lot when I programmed a game engine in C++ (using OpenGL of course as graphics library). I'm unsure what's the difference between GLUT and freeglut though. Used both but don't remember in which context.
I also used GLEW a lot (another OpenGL library).
- http://glew.sourceforge.net/
- http://www.opengl.org/resources/libraries/glut/
- http://freeglut.sourceforge.net/
-
IIRC, FreeGLUT is free by license. I believe the Mesa licensing behind some of the GLUT libs are limiting in 1 aspect or another.