Hi,
I have got a figure which is related to world to viewing coorinate transformation. The clipping window is rotated so we have to first do translation to origin and then perform rotation. I can understand the translation matrix which is:
1 0 -4
0 1 -3
0 0 1
but i cant understand rotation matrix which is:
0.866 0.5 0
-0.5 0.866 0
0 0 1
I cant understand why we have minus sign in row2 column 1 instead of row 1 column 2. I know the rotation matrix:
cos(theta) -sin(theta) 0
sin(theta) cos(theta) 0
0 0 1
Some body please guide me.
Zulfi.

I have got a figure which is related to world to viewing coorinate transformation. The clipping window is rotated so we have to first do translation to origin and then perform rotation. I can understand the translation matrix which is:
1 0 -4
0 1 -3
0 0 1
but i cant understand rotation matrix which is:
0.866 0.5 0
-0.5 0.866 0
0 0 1
I cant understand why we have minus sign in row2 column 1 instead of row 1 column 2. I know the rotation matrix:
cos(theta) -sin(theta) 0
sin(theta) cos(theta) 0
0 0 1
Some body please guide me.
Zulfi.


