I wont to rotate QuickTime Move 180 degrees.
Now my file's matrix(tkhd) is
1 0 0
0 1 0
0 0 1
I got this matrix form Dumpster.
What is the 3 × 3 matrix for a rotation of 180 degrees?
To rotate the ΔXYZ 180° counterclockwise about the origin, multiply the vertex matrix by the rotation matrix, [−100−1] . Therefore, the coordinates of the vertices of ΔX'Y'Z' are X'(−1,−2), Y'(−3,−5), and Z'(3,−4) .
Assuming you want a 3x3 homogeneous matrix for a 2D rotation about the Z-axis, then the matrix you want is:
-1 0 0 0 -1 0 0 0 1
If you want to rotate about a different axis, then the matrix will be different.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With