OpenGL Mathematics Library

Discussion about everything. New games, 3d math, development tips...
Post Reply
dlangdev
Posts: 1324
Joined: Tue Aug 07, 2007 7:28 pm
Location: Beaverton OR
Contact:

OpenGL Mathematics Library

Post by dlangdev »

http://glm.g-truc.net/index.html

OpenGL Mathematics (GLM) is a mathematics library for 3D applications based on OpenGL Shading Language(GLSL). The project's goal is to provide to 3D programmer the same tools when he develops under GPU and CPU. This project wasn't limited by GLSL tools, an extension system based on GLSL extensions development conventions allows to extend GLSL capabilities. GLM is release under MIT license and available for all version of GCC from version 3.4 and Visual Studio from version 7.1 (2003).

------------------

I've downloaded the API a while ago. Ran a sample test and it went OK.

I'll do more tests later and if it looks good it might replace my matrix lib.

So far, I love the syntax that it's quite fun to use. It looks like this API will help me in my procedural building as well.
Image
marrabld
Posts: 37
Joined: Wed Jul 11, 2007 9:16 am

Post by marrabld »

Have you tried The GNU/Scientific Library ?

http://www.gnu.org/software/gsl/

I use them for Uni things, I haven't tried them for game stuff as yet but it has all of the matrix functions that you would need.
Dorth
Posts: 931
Joined: Sat May 26, 2007 11:03 pm

Post by Dorth »

Contrarily to dlangdev's proposed lib, it is infected with gnu license, so no thanks.
marrabld
Posts: 37
Joined: Wed Jul 11, 2007 9:16 am

Post by marrabld »

What is the problem with that?
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

Dorth wrote:Contrarily to dlangdev's proposed lib, it is infected with gnu license, so no thanks.
Why? Have you even looked at the MIT license? You can't get much less restrictive than that...

http://www.opensource.org/licenses/mit-license.php
marrabld
Posts: 37
Joined: Wed Jul 11, 2007 9:16 am

Post by marrabld »

Sure that is pretty good but, I haven't found the GNU licence restrictive for my needs anyway. Seems to me that the GSL libs have quite a lot more in them ie interpolation functions, non linear solvers etc etc the list is large.

If they are useful why not use them. I am not trying to start a debate, I am genuinely curious.
Dorth
Posts: 931
Joined: Sat May 26, 2007 11:03 pm

Post by Dorth »

The mit only means you must give access to the _original_ software in copy left, contrarily to gnu which infects whatever contains it. For that matter, if you link the lib as a dll, there is no problem if you also give the lib source with it, only when you link it does it become somewhat murky whether or not you need to include a way to recompile as that is NOT specified in the license.
Post Reply