3D transformation in homogeneous coordinates manipulates the position, orientation, and scale of 3D objects in three-dimensional space.
Homogeneous coordinates extend the traditional Cartesian coordinates (X, Y, Z) with an additional coordinate (X, Y, Z, W), enabling the perspective projections using matrix multiplication.
The homogeneous coordinates (X, Y, Z, W) represents a 3D point as follows:
3D transformations using homogeneous coordinates are typically represented as
The translation moves an object in 3D space along the x, y, and z axes. Suppose
Here, d
Rotation involves changing the orientation of an object around one or more axes. The rotation occurs along an axis. It also includes the angle of rotation
Suppose
The rotation along the y-axis would be:
The rotation along the z-axis would be:
Here,
Scaling is the process of resizing an object in 3D space. Suppose
where,
The shear transformation distorts the shape of an object along one or more axes. Suppose
where
By understanding and using 3D transformations effectively, we can create complex and realistic 3D scenes in computer graphics. It plays a crucial role in various applications, from video games and animation to medical imaging and augmented reality.
Note: Learn about two dimentional transformation.
Free Resources