

The tetrahedron has 4 vertices and 4 triangular faces. The cube has 8 vertices and 12 triangular faces, since each of its six square sides uses two triangles.


I chose dark blue color1 = [0, 0, 0.1] for the front and warm brown color2 = [0.8, 0.5, 0.3] for the back. Linear interpolation along each vertex's z-coordinate creates the smooth transition.

The starting camera has R0=I and T0=(0,0,3). I read each target as a change in orientation, size, or image position, chose the desired final camera translation, and solved Trel = Tdesired − Rrel·T0. Using the standard axis-rotation formulas with cos(90°)=0 and sin(90°)=1 gives Rz(−90°)=[[0,1,0],[−1,0,0],[0,0,1]] and Ry(90°)=[[0,0,1],[0,1,0],[−1,0,0]]. The small 0.5 and 0.3 offsets were tuned visually to match the pictures.









Meshes store connectivity, so they produce continuous surfaces, clean silhouettes, and reliable lighting with relatively few vertices, but extracting and maintaining good topology is more involved. Point clouds are easy to sample, combine, and obtain from sensors, but they can show holes and need many points (plus careful point-radius choices) for a dense-looking surface. Their memory and rendering cost therefore rise quickly with visual quality.



Faces are sampled in proportion to their area, followed by a uniform barycentric sample within the selected triangle.




