Page 126 - DCAP504_Computer Graphics
P. 126

Unit 8: 3-D in Computer Graphics



               The various 3-D transformations that are discussed next are the following:
               1.   Translation
               2.   Scaling
               3.   Rotation

               These are some of the basic 3-D transformations.
               8.2.1    Translation
               Translation is the method of changing the location of an object that is placed on a straight line from one
               coordinate position to another. Translation distances, D x, D y and D Z are added in case of moving a three
               dimensional point from (x, y, z) to any point (x’, y’, z’).  The same is depicted in figure 8.8.

                                               Figure 8.8 : 3-D Translation




























               In order to achieve a translation transformation within a 3-D space we make use of the transformation
               matrix:









               Notice the use of the symbol T followed by (x, y, z) to denote a matrix responsible for translation (in the
               x, y and z directions). This provides a concise way of referring to a matrix of this form.
















                                        LOVELY PROFESSIONAL UNIVERSITY                          119
   121   122   123   124   125   126   127   128   129   130   131