Jump to content
  • Advertisement

Archived

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

noRulez43

quaternion

This topic is 5532 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
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
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!