Jump to content
  • Advertisement


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


Again MD3 problem.... about using quaternion

This topic is 6196 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

I got the MD3 loading program from Lonerunner. I''m wondering one thing in his code: What''s the reason he use "quarternion" to handle(view) the model instead of using traditional matrix manipulation? Are there any advantage to do that? Or some other purpose? I would like to know the reasons before I use it.....

Share this post

Link to post
Share on other sites
Quaternions have an x,y,z and w component where as a matrix (for 3d rotation) has 9 elements.

there for multiplying 2 quats yields 8 operations where as multiplying 2 mats yields 18.

Not only that once you get used to quats they are very elegant and very powerful.

I slaved for a couple of weeks to get used to them and I havn''t looked back since.


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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!