Archived

This topic is now archived and is closed to further replies.

noRulez43

quaternion

Recommended Posts

noRulez43    122
Does anyone know of a really simple tutorial on how to use quaternions to calculate coordinates in a move-through-space sort of game. I ran into the gimble lock problem, so I started looking around but I don''t understand any of the tutorials out there. Not even the one on nehe''s site. If I could just find an example without 40 different header files, etc...that would be great

Share this post


Link to post
Share on other sites
Angasule    122
http://pw1.netcom.com/~hjsmith/Quatdoc/Qindex.html

It''s only the math, but it will let you understand quaternions, and from that you should be able to grok the tutorials.

Share this post


Link to post
Share on other sites
DarkKiller    122
Did you have matrices in school? I don''t, so I tried this link:
http://skal.planet-d.net/demo/matrixfaq.htm

Everything from "What is a matrix" through "What is Gimble Lock" to "How do I use quaternions to perform cubic interpolation between matrices" is explained there.

Very helpful I think!

Dark

McNugget next time...

Share this post


Link to post
Share on other sites
John Keiser    122
http://www.gamasutra.com/features/19980703/quaternions_01.htm

and

http://www.martinb.com/maths/geometry/rotations/

have been invaluable to me in figuring this stuff out.

Share this post


Link to post
Share on other sites