Hi,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?
Hi,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?
Multiplying by the following matrix will rotate a vector by 180 degrees in R3:
-1 0 0
0 -1 0
0 0 -1
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.