3D Scaling

In computer graphics, scaling is a process of modifying or altering the size of objects.

  • Scaling may be used to increase or reduce the size of object.
  • Scaling subjects the coordinate points of the original object to change.
  • Scaling factor determines whether the object size is to be increased or reduced.
  • If scaling factor > 1, then the object size is increased.
  • If scaling factor < 1, then the object size is reduced.

Consider a point object O has to be scaled in a 3D plane. Let:

  • Initial coordinates of the object O = (Xold, Yold,Zold)
  • Scaling factor for X-axis = Sx
  • Scaling factor for Y-axis = Sy
  • Scaling factor for Z-axis = Sz
  • New coordinates of the object O after scaling = (Xnew, Ynew, Znew)

This scaling is achieved by using the following scaling equations

  • Xnew = Xold x Sx
  • Ynew = Yold x Sy
  • Znew = Zold x Sz

In Matrix form, the above scaling equations may be represented as-

3D Scaling Matrix