Next: Camera Transform
Up: Fundamental of Computer Graphics
Previous: Fundamental of Computer Graphics
World transform is quite useful for the users. Consider the following scenario: a rotated cube, You may go through all troubles to calculate the coordinations manually; or create an ``normal'' cubic, and then apply a set of world transformation to move it to the right position.
The world transform matrix consists five matrices:
We take the OpenGL convention for the world transform, the world transformation matrix is defined as:
|
(1) |
Note: The order of the transfrom matrix is arbitary
And we apply the world transform matrix on the left side of the corordination
to get the new coordination
:
|
(2) |
Next: Camera Transform
Up: Fundamental of Computer Graphics
Previous: Fundamental of Computer Graphics
2007-06-20