3D Shearing

We can denote shearing with ‘SHx,’ ‘SHy,’ and ‘SHz.These ‘SHx,’ ‘SHy,’ ‘SHzare called “Shearing factor.”

The basic difference between 2D and 3D Shearing is that the 3D plane also includes the z-axis.

3D Shearing 3D Shearing

We can perform shearing on the object by following three ways-

  • Shearing along the x-axis: In this, we can store the x coordinate and only change the y and z coordinate.

We can represent shearing along x-axis by the following equation-

x1 = x0

y1 = y0 + SHy. x0

z1 = z0 + SHz. x0

3D Shearing Matrix:

3D Shearing
  • Shearing along the y-axis: In this, we can store the y coordinate and only change the x and z coordinate.

We can represent shearing along with y-axis by the following equation-

x1 = x0 + SHx. y0

y1 = y0

z1 = z0 + SHz. y0

3D Shearing Matrix:

3D Shearing
  • Shearing along with z-axis: In this, we can store the z coordinate and only change the x and y coordinate.

We can represent shearing along with z-axis by the following equation-

x1 = x0 + SHx. z0

y1 = y0 + SHy. Z­0

z1 = z0

3D Shearing Matrix:

3D Shearing



ADVERTISEMENT
ADVERTISEMENT