Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: Is OpenGL and GLUT free?

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2012
    Posts
    4

    Is OpenGL and GLUT free?

    Hello all,

    I just started learning OpenGL and GLUT. I wanted to know if they're free to use? If I made a game would I have to pay for a license so I'm able to distrubute my game with OpenGL and GLUT?

    Thanks,
    Zaroth

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,655

    Re: Is OpenGL and GLUT free?

    Nothing to pay.

  3. #3
    Junior Member Newbie
    Join Date
    Mar 2012
    Posts
    4

    Re: Is OpenGL and GLUT free?

    How come there's a freeGLUT? is the orignal GLUT free too?

  4. #4
    Super Moderator OpenGL Guru
    Join Date
    Feb 2000
    Location
    Montreal, Canada
    Posts
    4,421

    Re: Is OpenGL and GLUT free?

    Free can mean 2 things when it comes to software :
    - at no $ cost
    - open source

    GLUT is free but it is closed source.

    Pretty much all libraries are free (free as in $)
    http://www.opengl.org/wiki/Related_toolkits_and_APIs
    ------------------------------
    Sig: http://glhlib.sourceforge.net
    an open source GLU replacement library. Much more modern than GLU.
    float matrix[16], inverse_matrix[16];
    glhLoadIdentityf2(matrix);
    glhTranslatef2(matrix, 0.0, 0.0, 5.0);
    glhRotateAboutXf2(matrix, angleInRadians);
    glhScalef2(matrix, 1.0, 1.0, -1.0);
    glhQuickInvertMatrixf2(matrix, inverse_matrix);
    glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
    glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

  5. #5
    Member Regular Contributor
    Join Date
    Jan 2012
    Location
    Germany
    Posts
    303

    Re: Is OpenGL and GLUT free?

    GLUT is also quite outdated, so I would suggest FreeGLUT if you want something (exactly) like glut, or you can look at alternatives like glfw.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •