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
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
Nothing to pay.
How come there's a freeGLUT? is the orignal GLUT free too?
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);
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.