


The mesh should have 4 vertices and 4 faces.

The mesh should have 8 vertices and 12 faces (2 triangles per cube face).

color1 = [0, 0, 1]
color2 = [1, 0, 0]
Original image:

Transformations:
a) R_relative rotates the object by 90deg about z, T_relative does nothing:
|
|
|
b) R_relative does nothing, T_relative moves the object forward:
|
|
|
c) R_relative does nothing, T_relative moves the object to the left and downward w.r.t. the camera:
|
|
|
d) R_relative rotates the object -90deg about the camera y, T_relative moves the object forward (+z) then to the left (+x) to bring it back into the camera's FoV:
|
|
|
| PC from first image | PC from second image | Combined PC |
|---|---|---|
![]() |
![]() |
![]() |
Torus:

Klein bottle (https://en.wikipedia.org/wiki/Klein_bottle#Bottle_shape):

Torus:

Heart (https://mathworld.wolfram.com/HeartSurface.html):

Tradeoffs between rendering as a mesh vs a point cloud:
A cube being morphed over time:

| Mesh | 10 pts | 100 pts | 1000 pts | 10000 pts |
|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |