What are the transformations required to rotate a unit cube with one corner at (0,0,0)
and the opposite corner at (1,1,1) by 30 degrees about the main diagonal, in a
counter-clockwise sense when viewed from the diagonal to the origin.On a graph
paper (or using Matlab) draw the projection of the rotated cube on the x-y plane.
This is an exercise problem in most of the books on computer graphics but i could not find a solution to this.
My guess is that i have to first translate the cube onto the main diagonal and then rotate it by 30 deg and again do an inverse translation.
The Homeworks due on monday (24 Oct 2011) at 5pm.
Thanks in advance