Author Topic: What is c++ GLUT library used for ?  (Read 1758 times)

0 Members and 1 Guest are viewing this topic.

pllaybuoy

  • Guest
What is c++ GLUT library used for ?
« on: 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?

Offline blackboxx

  • /dev/null
  • *
  • Posts: 11
  • Cookies: 0
  • Programmer, Student
    • View Profile
Re: What is c++ GLUT library used for ?
« Reply #1 on: October 22, 2012, 07:06:16 pm »
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:
« Last Edit: October 22, 2012, 07:11:36 pm by blackboxx »

pllaybuoy

  • Guest
Re: What is c++ GLUT library used for ?
« Reply #2 on: October 22, 2012, 07:47:55 pm »
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

Offline Satan911

  • VIP
  • Knight
  • *
  • Posts: 289
  • Cookies: 25
  • Retired god/admin
    • View Profile
Re: What is c++ GLUT library used for ?
« Reply #3 on: October 22, 2012, 07:53:27 pm »
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).

« Last Edit: October 22, 2012, 08:01:56 pm by Satan911 »
Satan911
Evilzone Network Administrator

Offline Xires

  • Noob Eater
  • Administrator
  • Knight
  • *
  • Posts: 379
  • Cookies: 149
    • View Profile
    • Feed The Trolls - Xires
Re: What is c++ GLUT library used for ?
« Reply #4 on: October 23, 2012, 03:08:38 pm »
IIRC, FreeGLUT is free by license.  I believe the Mesa licensing behind some of the GLUT libs are limiting in 1 aspect or another.
-Xires