16-825 Learning For 3D Vision -- Assignment 1

Alan Chen
jianninc@andrew.cmu.edu

1. Practicing with Cameras

1.1 360-Degree Renders

a1.1

1.2 Re-creating the Dolly Zoom

a1.2

2. Practicing with Meshes

2.1 Constructing a Tetrahedron

a2.1

This mesh has 4 vertices and 4 faces.

2.2 Constructing a Cube

a2.2

This mesh has 8 vertices and 12 (triangular) faces.

3. Re-texturing a Mesh

a3

My choice of color 1 is light blue: [0.68, 0.85, 0.9], color 2 is pastel pink: [1.0, 0.82, 0.86].

4. Camera Transformation

R_relative is the rotation matrix on the camera frame, it decides the camera's orientation.

T_relative is the translation matrix on the camera frame, it decides where the camera is placed.

4.1 Camera Transformation 1

a41

R_relative = [[0,1,0],[-1,0,0],[0,0,1]], T_relative = [0,0,0]

4.2 Camera Transformation 2

a42

R_relative = [[1,0,0],[0,1,0],[0,0,1]], T_relative = [0,0,3]

4.3 Camera Transformation 3

a43

R_relative = [[1,0,0],[0,1,0],[0,0,1]], T_relative = [0.5,-0.5,0]

4.4 Camera Transformation 4

a44

R_relative = [[0,0,1],[0,1,0],[-1,0,0]], T_relative = [-3,0,3]

5. Rendering Generic 3D Representations

5.1 Rendering Point Clouds from RGB-D Images

a511 a512 a513

Left image: Point cloud corresponding to the first image
Middle image: Point cloud corresponding to the second image
Right image: Point cloud formed by the union of the 2 point clouds.

5.2 Parametric Functions

Torus

a521

New Object of My Choice (Trefoil Knot)

a522

5.3 Implict Surfaces

Torus

a531

I have a GPU so all rendering runs fast on my machine. However, after a run through of rendering, rendering the torus with parametric functions (point cloud) takes 3.99 seconds, which is more than double the time taken for rendering the torus that is the same size but with implicit functions (mesh) (1.23 seconds). Besides that, the quality for the point cloud is significantly better (perhaps I used a high density of point clouds). Personally, I think parametric functions are more intuitive because it gives separate equations for x, y, z data. The point cloud torus also use nearly double the memory of the mesh torus (444 KB vs. 256 KB).

New Object of My Choice (Mobius Strip)

a532