When we listen about computer graphics nowadays we have no problem to relate it to our lives. Everybody has seen a video game, a film or even series with this type of design. Computer graphics are based on the edition of models and figures that can create, store, modify and render by pixels on the screen the edition.
At first, there were invented for military reasons but the development of the techniques had extended the opportunities to other uses as the ones named before.
For this editions the most simple transformations for a 2 dimension or 3 dimension model are the next ones:
1) Movement (lineal): to change the position of the model to a new one by a vector. (Example of a 2D figure)
2) Scale: for changing the size of the figure. (Example of 3D)
3) Rotation: used to rotate a model in a circular movement around an axis for a defined angle.
[R] = rotation matrix
{x'} = [R] {x}
Here is an example of a rotation from the mechanics II subject:
They are asking us to rotate the first piece (A) so that it meets with the second one (B). Which is the rotation matrix R and the rotation angle?



No hay comentarios:
Publicar un comentario