Lift a 2D point into homogeneous form by adding a final 1.
Example
Lift 2D points to (x, y, 1) so matrix transforms can include translation.
highlighted = computed this step
Step 1 — Set up
Start with the plane triangle before lifting points.
points (x,y)
Step 2 — Lift vertex A
Add a one to vertex A.
A:[11]→111
Step 3 — Lift vertex B
Add a one to vertex B.
B:[31]→311
Step 4 — Lift vertex C
Add a one to vertex C.
C:[12]→121
Step 5 — Result
Each plane point now has a homogeneous one.
homogeneous vertices ready
homogeneous-coordinatesHomogeneous coordinates write a 2D point as (x, y, 1). That extra 1 lets translation become matrix multiplication in the next lesson.