TranslationĪ translation moves an object to a different position on the screen. Any Cartesian point P(X, Y) can be converted to homogenous coordinates by P’ (X h, Y h, h). In this system, we can represent all the transformation equations in matrix multiplication. In this way, we can represent the point by 3 numbers instead of 2 numbers, which is called Homogenous Coordinate system. To convert a 2×2 matrix to 3×3 matrix, we have to add an extra dummy coordinate W. ![]() To shorten this process, we have to use 3×3 transformation matrix instead of 2×2 transformation matrix. Scale the rotated coordinates to complete the composite transformation.Rotate the translated coordinates, and then.To perform a sequence of transformation such as translation followed by rotation and scaling, we need to follow a sequential process − Transformations play an important role in computer graphics to reposition the graphics on the screen and change their size or orientation. When a transformation takes place on a 2D plane, it is called 2D transformation. ![]() We can have various types of transformations such as translation, scaling up or down, rotation, shearing, etc. Transformation means changing some graphics into something else by applying rules.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |