A full turntable around the cow mesh, generated by sweeping 36 equally-spaced
azimuth angles through look_at_view_transform. The point light is
re-located to the camera's position on every frame so the cow is never backlit.

The camera distance and field of view are swept together so the cow keeps a
constant apparent width in frame: for a fixed real-world width w,
distance = (w/2) / tan(fov/2). As the FOV narrows the camera pulls back,
producing the classic vertigo/dolly-zoom effect where the background appears to
compress relative to the subject.

Vertices and faces defined by hand. 4 vertices, 4 triangular faces.

An axis-aligned cube built from 8 vertices with two triangles per face. 8 vertices, 12 triangular faces.

The cow is recolored with a per-vertex gradient based on z-coordinate:
color1 = (0, 0, 1) (blue) at the front (z_min) and
color2 = (1, 0, 0) (red) at the back (z_max), linearly
interpolated by alpha = (z - z_min) / (z_max - z_min).

For each target view, the new camera extrinsics are
R = R_relative @ R_0 and T = R_relative @ T_0 + T_relative,
where R_0 = I and T_0 = (0, 0, 3).
T_relative = 0).
R and T update
with different multiplication conventions (R_relative @ R_0 vs.
R_relative @ T_0), simply rotating no longer keeps the camera aimed
at the cow — T_relative = (-3, 0, 3) supplies the correction
needed to re-center it.
T_relative = (0, 0, 2)), shrinking the cow in frame.
T_relative = (0.5, -0.5, 0)), moving the cow toward the
lower-left of frame.Two RGB-D views of a plant are unprojected into 3D point clouds using the camera intrinsics/extrinsics, then merged into a third, unioned point cloud. Each single view has holes from occlusion and missing depth; the union fills most of them in.
Left to right: view 1, view 2, union of both
Torus (required): sampled directly from its parametric equations
— x=(R+r cosφ)cosθ, y=(R+r cosφ)sinθ, z=r sinφ
— and colored by the tube angle φ so the hole and the tube's circular
cross-section are both clearly visible while it spins.
Extra credit — Möbius strip: parameterized by a loop angle
u and a width coordinate v
(x=(1+½v cos(u/2))cos u, etc.), colored across its width so the
half-twist that makes it one-sided is visible as the color pattern flips.


Torus (required): defined as the zero level-set of
F(x,y,z) = (√(x²+y²) - R)² + z² - r²,
evaluated on a voxel grid and converted to a mesh with marching cubes.


Extra credit: a gyroid — a triply-periodic minimal surface defined by
F(x,y,z) = sin x cos y + sin y cos z + sin z cos x — extracted the
same way over a region spanning a few periods.
Mesh vs. point cloud — discussion (5 pts):
O(voxel_size³) — even though the
resulting mesh itself is compact. A point cloud only ever stores
O(N) points directly, with no volumetric intermediate.