- #1
lampshader
- 39
- 0
Homework Statement
Suppose that you want to rotate 80 degrees a cube in three dimensional space centered at the point C(2,4,5) about the x-axis. In other words, you want a pitch 80 degrees centered at the point C(2,4,5). Suppose that you want to rotate a vertex of the cube, the point (x,y,z) = (6,7,9) at an 80 degree pitch centered at point C. What is the resulting point (x',y',z')?
Homework Equations
Pitch rotation for x-axis:
[1____ 0______0_____0]
[0___cos80___-sin80__0]
[0___sin80____cos80__0]
[0____ 0______0_____1]
and Scaling with respect to the center point (although I do not need to scale the object):
[x'] [1__0__0__xc] [1____0_____0____0] [1__0__0__-xc] [x]
[y'] [0__1__0__yc] [0__cos80 _-sin80__0] [0__1__0__-yc] [y]
[z']= [0__0__1__zc] [0__sin80__cos80__0] [0__0__1__-zc] [z]
[1] [0__0__0__1] [0____0_____0____1] [0__0__0__1] [1]
The Attempt at a Solution
What I did was I went ahead and replaced the scaling matrix (middle) with the pitch rotation matrix..I don't think this is right, because my answers need "6" as the resulting x-component.
Could someone just show me the matrix formula to use for this problem?