View Full Version : Any good classes or libraries for quaternion's?
10-21-2009, 03:33 PM
I found one at Perone's Programming pad, but I am having difficulty in using it because there is no documentation. What do you all use?
10-21-2009, 04:02 PM
I'm using OpenTK.Math's quaternions.
Even if you are not under .NET, you can take a look at OpenTK sources.
10-21-2009, 09:56 PM
Thanks for the suggestion, but I found this: http://www.programmersheaven.com/download/17059/download.aspx
10-22-2009, 10:06 PM
Some other alternatives ...
A good book that uses quaternions and has source code is "Physics for Game Developers" by David Bourg (http://oreilly.com/catalog/physicsgame) (see the link to Crash Test example (http://examples.oreilly.com/9780596000066/) for the mymath.h file ). This book helped me learn about the use of quaternions and application to physics sims -- they regretfully don't use openGL or my linux OS (but the other OS). However it is still a good explanation of the application of quaternions to physics computations.
Lately, I have been using the GLM OpenGL math Library (http://glm.g-truc.net/) because it matches the notation of openGL GLSL and it has quaternions as an extension. The documentation is sparse but it has been working very well for my transition to OpenGL 3.2.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.