Assignment 1: Rendering Basics with PyTorch3D (Total: 90 Base Points + 20 Extra Credit)

Name: Yannick Daniel Gibson
Andrew ID: ydg

1.1. 360-degree Renders (5 points)

1.2 Re-creating the Dolly Zoom (10 points)

2.1 Constructing a Tetrahedron (5 points)

Vertices: 4
Faces: 4

2.2 Constructing a Cube (5 points)

Vertices: 8
Faces: 12

3. Re-texturing a mesh (10 points)

Color 1: [1, 1, 0]
Color 2: [0, 0, 0]

4. Camera Transformations (10 points)

4.1 Transformation 1

             ⎡ 0  1  0 ⎤                ⎡ 0 ⎤
R_relative = ⎢-1  0  0 ⎥   T_relative = ⎢ 0 ⎥
             ⎣ 0  0  1 ⎦                ⎣ 0 ⎦

R_relative rotates the camera 90 degrees around the z-axis while T_relative leaves its position unchanged.

4.2 Transformation 2

             ⎡ 1  0  0 ⎤                ⎡  0  ⎤
R_relative = ⎢ 0  1  0 ⎥   T_relative = ⎢  0  ⎥
             ⎣ 0  0  1 ⎦                ⎣ 1.5 ⎦
        

R_relative keeps the camera orientation unchanged while T_relative moves the camera from world z = -3 to -4.5.

4.3 Transformation 3

             ⎡ 1  0  0 ⎤                ⎡ 0.5 ⎤
R_relative = ⎢ 0  1  0 ⎥   T_relative = ⎢-0.5 ⎥
             ⎣ 0  0  1 ⎦                ⎣  0  ⎦
        

R_relative keeps the camera orientation unchanged while T_relative shifts the view by 0.5 in x and -0.5 in y.

4.4 Transformation 4

             ⎡ 0  0  1 ⎤                ⎡-3 ⎤
R_relative = ⎢ 0  1  0 ⎥   T_relative = ⎢ 0 ⎥
             ⎣-1  0  0 ⎦                ⎣ 3 ⎦
        

R_relative rotates the camera 90 degrees around the y-axis while T_relative repositions it to keep the cow in view.

5.1 RGB-D Point Clouds

Image 1 | Image 2 | Union

5.2 Parametric Functions (10 + 5 points)

A torus and a spring

5.3 Implicit Surfaces (15 + 5 points)

Torus | Eccentric cone

Meshes usually give better visual quality than sparse point clouds, with continuous surfaces and smooth lighting. Point clouds are simpler; speed and memory depend on triangle/point counts, while implicit extraction requires a voxel grid.

6. Cow Saturn (+10 points)

Cow being orbited by 2 rings.

7. Sampling Points on Meshes (+10 points)

Left to right: 10, 100, 1,000, 10,000 points, and the original mesh.