3D Translation

In Computer graphics, 3D Translation is a process of moving an object from one position to another in a three dimensional plane.

Consider a point object O has to be moved from one position to another in a 3D plane.

Let

  • Initial coordinates of the object O = (Xold, Yold, Zold)
  • New coordinates of the objectO after translation = (Xnew, Ynew, Zold)
  • Translation vector or Shift vector = (Tx, Ty, Tz)
3D Translation


Given a Translation vector (Tx, Ty, Tz)-

  • Tx defines the distance the Xold coordinate has to be moved.
  • Ty defines the distance the Yold coordinate has to be moved.
  • Tz defines the distance the Zold coordinate has to be moved.
3D Translation in Computer Graphics

This translation is achieved by adding the translation coordinates to the old coordinates of the object as-

  • Xnew= Xold +Tx (This denotes translation towards X axis)
  • Ynew= Yold +Ty (This denotes translation towards Y axis)
  • Znew= Zold +Tz (This denotes translation towards z axis)

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

3D Translation Matrix