Jump to content
  • Advertisement
Sign in to follow this  
GaryNas

Cross product and coordinate systems

This topic is 3123 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'm a little confused about cross product and left/right coordinate systems. Consider these two vectors: A = {0, 0, 1} B = {1, 0, 0} Without considering coordinate systems, the cross product is {0,1,0}. Now in a left handed system, I get {0, -1, 0} following the right hand rule, but {0,1,0} using a left hand rule. This is obviously a basic question, but I'm not quite sure how to interpret this. How can I use this information to build a look at camera matrix in the two different coordinate systems? Thanks for any info.

Share this post


Link to post
Share on other sites
Advertisement
When you represent the vectors with numbers, you always have some a reference coordinate system (basis). The numerical result has the meaning only in the same basis. In the left-handed system the cross product is still {0,1,0} but the basis is now different and the three numbers correspond to some other vector.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!