perspective projection

There's a total of 3 articles.

Ray Tracing → Read more...

Ray tracing is the process to identify the color of all the pixels in a 2d screen by emitting rays from all the pixels simulating how light travels in real life. This article covers the math for the ray generation from each pixel for both orthographic and perspective cameras.


Transformation matrix for projection of 3D objects into a 2D plane (projection transform) → Read more...

In Computer Graphics 3D objects created in an abstract 3D world will eventually need to be displayed in a screen, to view these objects in a 2D plane like a screen objects will need to be projected from the 3D space to the 2D plane with a transformation matrix.


In this article I cover two types of transformations: Orthographic projection and Perspective projection and analyze the math behind the transformation matrices.


Perspective projection → Read more...

Perspective projection is a fundamental projection technique that transforms objects in a higher dimension to a lower dimension. This transformation is usually used for objects in a 3d world to be rendered into a screen (a 2d surface), in the transformation these objects give the realistic impression of depth.

This article covers the math behind it and how to generate the transformation matrix to achieve the transformation.