Q 1) a) find the matrix that represents rotation of an object by 45 degree about the origin. B) what are the new coordinates of the point p(2 , -4) after the rotation?
Answers
Answered by
2
Now, from my understanding, in order to move the camera I have to move the world by the inverse of that amount. So if I want to move +1 in the Z axis I translate the world -1 in the Z axis. Since I am using quaternions to represent orientations, I use the camera quaternion's inverse (since the orientations are always unit quaternions, I optimize by using the conjugate instead of calculating the inverse) to rotate the world by the right amount.
Here is how I convert a quaternion to a matrix, where q is the inverted quaternion:
Answered by
0
Answer:
Step-by-step explanation:
Similar questions