quaternion
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
try the one on the gametutorials.com
there''s not much of them available on net, so it''s better to understand one, pal! :-D
there''s not much of them available on net, so it''s better to understand one, pal! :-D
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.
It''s only the math, but it will let you understand quaternions, and from that you should be able to grok the tutorials.
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...
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...
Another great matrix/quaternion FAQ, that will tell you EVERYTHING you need to know:
http://www.j3d.org/matrix_faq/matrfaq_latest.html
http://www.j3d.org/matrix_faq/matrfaq_latest.html
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.
and
http://www.martinb.com/maths/geometry/rotations/
have been invaluable to me in figuring this stuff out.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement