3D Geometrical Transformations

3D Geometrical Transformations are operations that change the position, size, orientation, or shape of objects in three-dimensional space using matrix representations.

1. Introduction

In 3D graphics, objects are defined using x, y, and z coordinates. Transformations modify these coordinates to move, resize, or rotate objects in 3D space.

2. Types of 3D Transformations

3. Translation

Translation moves an object in 3D space by adding translation values to its coordinates.

x' = x + tx
y' = y + ty
z' = z + tz

4. Scaling

Scaling changes the size of an object by multiplying its coordinates with scaling factors.

x' = x × sx
y' = y × sy
z' = z × sz

5. Rotation

Rotation turns an object about one of the coordinate axes (X, Y, or Z).

6. Rotation About Coordinate Axes

Z-axis Rotation:
x' = x cosθ − y sinθ
y' = x sinθ + y cosθ
z' = z

7. Reflection

Reflection produces a mirror image of an object about a plane such as XY, YZ, or XZ plane.

8. Shearing

Shearing distorts the shape of an object by shifting one coordinate proportional to another.

9. Matrix Representation

3D transformations are represented using 4×4 homogeneous transformation matrices.

10. Applications

Practice Questions

  1. What are 3D geometrical transformations?
  2. Explain 3D translation and scaling.
  3. Describe rotation about coordinate axes.
  4. What is reflection in 3D?
  5. Where are 3D transformations used?

Practice Task

Explain with matrices: ✔ 3D translation ✔ 3D rotation about Z-axis ✔ 3D scaling