Prepared by ononiwu ugochukwu overview of computer graphics



Download 78.8 Kb.
Page24/29
Date22.06.2021
Size78.8 Kb.
#56924
1   ...   21   22   23   24   25   26   27   28   29
COM 422 - Computer Graphics & Animation


  1. Scaling


Scaling transformation is used to change the size of an object. It alters the size of an object. This operation can be carried out by multiplying the coordinate values (x,y) of each vertex by scaling factor (sx,sy) to produce the transformed coordinates (x’,y’).

  • If the value is less than 1 it decreases the size while values greater than 1 increase the size of the object, and the object remains the same when the value of both factors is 1.

  • The same values of 𝒔𝒙 and 𝒔𝒚 produce Uniform Scaling. And different values of 𝒔𝒙 and 𝒔𝒚 produce Differential Scaling.

  • After scaling we can control the position of the object. To control the position of the object we need to keep one position fixed called Fixpoint (𝒙𝒇, 𝒚𝒇) that point will remain unchanged after the scaling transformation.





  1. Download 78.8 Kb.

    Share with your friends:
1   ...   21   22   23   24   25   26   27   28   29




The database is protected by copyright ©ininet.org 2024
send message

    Main page