Projection Matrix


Projection matrix three main component:

Aspect ratio

We scale, shink thing on x-axis.

FOV:

Talking about 'how much object can we see?'

so, we inverse the scale factor to: 1 / tan(angle/ 2)

Normalizing

So zfar / (zfar - znear), zfar over the total Z distance give us normalized value. And at the end we subtract the offset.

The flow of projection:

Date: 2024-01-05 Fri 00:00

Author: Terry Fung

Created: 2024-11-10 Sun 14:09

Emacs 29.4 (Org mode 9.6.15)

Validate