• Advertisement

Archived

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

Again MD3 problem.... about using quaternion

This topic is 6013 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
Advertisement
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.



D.V.

Share this post


Link to post
Share on other sites

  • Advertisement