Jump to content
  • Advertisement


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

Pipo DeClown

why do you need to multiply

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

why do you need to multiply matrice(s?) when you can use the same matrix to do translation + rotation and then Transform it to WorldSpacE?

Share this post

Link to post
Share on other sites
If you don''t need to multiply matrices, then you don''t. If you do, then you do. It''s like asking "why do you need a car when you can just take public transport?" If public transport offers you everything you need, then don''t buy a car.

As for reasons to use matrix multiplication, here''s one I''m implementing right now - skeletal animation. You have a heirarchy of bones, and the transformations that apply to a particular bone must also be applied to all child bones. So, as your traverse down the "bone tree", you multiply the current matrix with the child''s matrix to get the total transformation.

If I had my way, I''d have all of you shot!

codeka.com - Just click it.

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!