2-D and 3-D Transformations
Previously, we have presented approaches for the generation of polygonal regions and lines. We identified that once the objects are produced, the various applications may need variations in these. For illustration, assume that we have produced the scene of a room. When we move along the room we determine the object's position comes closer to us, it shows bigger even as its orientation modifies. Hence we require altering or manipulating such objects. Fundamentally this process is continued by means of transformations. Transformation is a type of process of changing the position of the object or maybe any combination of these.
The objects are referenced through their coordinates. Modification in orientation, shape and size are accomplished along with geometric transformations which allow us to compute the new coordinates. The fundamental geometric transformations are translation, shearing, rotation and scaling. Another transformation that is frequently applied to objects comprises reflection.
In these sections, we will present transformations to manipulate such geometric 2-Dimentional objects via Translation, and Rotation on the screen. We may like to modify their shapes either via reducing or magnifying their sizes via means of Scaling transformation. We can also determine similar although new shapes via taking mirror reflection along with respect to a chosen axis of references. At last, we extend the 2-D transformations to 3-Dimensional cases.