Camera distance adjusts with FOV so the cow's size stays constant.
4 vertices, 4 triangle faces.
8 vertices, 12 triangle faces.
color1 = [0,0,1] (blue, front), color2 = [1,0,0] (red, back), interpolated by z.

1: 90° roll about the Z axis.R_relative=[[0,1,0],[-1,0,0],[0,0,1]]T_relative=[0,0,0]

2: 90° yaw about the Y axis.R_relative=[[0,0,1],[0,1,0],[-1,0,0]]T_relative=[-3,0,3]

3: Translation along Z.R_relative=IT_relative=[0,0,2]

4: Translation along X/Y.R_relative=IT_relative=[0.45,-0.5,0]
Left to right: point cloud 1, point cloud 2, and their union (fills in gaps).
Torus point cloud from its parametric equation. Hole visible from top.
Bonus object: a "peanut" shape (two merged spheres), also sampled parametrically.
Torus mesh via an implicit function + marching cubes. Hole visible from top.
Same peanut shape as 5.2, this time built implicitly (union of two spheres), for direct comparison.
| Point Cloud | Mesh | |
|---|---|---|
| Speed | Faster | Slower with more faces |
| Quality | Gaps if sparse | Smooth surface |
| Construction | Just sample points | Needs marching cubes / topology |
| Memory | Points + colors only | Vertices + face connectivity |
| Best for | Raw sensor data | Precise geometry, rendering quality |
Generated a 2D black/white checkerboard image, then used the cow's UV
coordinates to map each point on that 2D image onto its corresponding
point on the 3D surface (TexturesUV), wrapping the flat
pattern onto the mesh.
Left to right: original mesh, then 10 / 100 / 1000 / 10000 sampled points.