Jump to content
  • Advertisement
Sign in to follow this  

rotation of a vector

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

Hi everyone, I have a bizarre image system where for an image, I get the cosines of the upper left pixel to the world coordinate system. These values are describing the direction of the columns and rows to the world coordinate system. I guess it's like trying to describe the direction of the upper edge and left edge of a plane in 3D space. For example, I have a sample image with cosines of: cols: 0/0/-1 rows: 0/1/0 which means the columns of the image are running down the negative z axis, and the rows are running up the positive y axis. My question is, how could I figure out the resulting cosine direction would be if I apply an arbitrary rotation to the columns for example? If I apply a 90 degree rotation around some axis, what would the cols cosine turn out to be? Thanks

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!