Page 93 - DCAP504_Computer Graphics
P. 93

Computer Graphics



                              (b)  Which among the following is the scaling matrix used in scaling transformation?

                                        Sx  Sy 
                                             
                                    (i)    0  0  
                                         Sx   0
                                            
                                    (ii)    Sy  0 

                                         S x  0  
                                             
                                    (iii)    0  y S  
                                         0  Sy 
                                             
                                    (iv)    Sx  0  
                              (c)  If the Y-shear factor is 1, identify the shear transformation matrix.
                                        1    0
                                            
                                    (i)    1  1 

                                        1    1
                                            
                                    (ii)    0  1 

                                        1    0
                                            
                                    (iii)    0  1 
                                        0    1
                                            
                                    (iv)    0  1 
                              (d)  Identify the translation matrix in homogeneous coordinate system.
                                        1  0  dx 
                                               
                                        0  1  dy 
                                         0  0  1  
                                    (i)        

                                        1  0  − dx 
                                                
                                        0  1  − dy 
                                         0  0  1  
                                    (ii)        
                                        0  1  − dx 
                                                
                                         1  0  − dy 
                                         0  0  1  
                                    (iii)       

                                        0  1  dx 
                                               
                                         1  0  dy 
                                         0  0  1  
                                    (iv)       














                          86                      LOVELY PROFESSIONAL UNIVERSITY
   88   89   90   91   92   93   94   95   96   97   98