16-825 Assignment 1: Rendering Basics with PyTorch3D

1. Practicing with Cameras

1.1 360-degree Renders

Cow 360

1.2 Re-creating the Dolly Zoom

Dolly zoom


2. Practicing with Meshes

2.1 Constructing a Tetrahedron

4 vertices and 4 triangle faces

Tetrahedron

2.2 Constructing a Cube

8 vertices and 12 triangle faces

Cube


3. Re-texturing a mesh

I chose front = blue (color1 = [0, 0, 1]) and back = red (color2 = [1, 0, 0]) to show the contrast

Retextured cow


4. Camera Transformations

ResultR_relativeT_relativeDescription
t1[[0,1,0],[-1,0,0],[0,0,1]][0, 0, 0]Rotates the camera 90° about Z axis inplace
t2[[0,0,1],[0,1,0],[-1,0,0]][-3, 0, 3]Rotates the camera 90° about the y (up) axis to show the side of the cow. Then adjust the cow's position to make it appear in the middle becuase after rotatoin the object looks off from center
t3[[1,0,0],[0,1,0],[0,0,1]][0, 0, 3]move camera backward to make object shrink in the rendering
t4[[1,0,0],[0,1,0],[0,0,1]][0.5, -0.5, 0]shift the camera along the image plane

5. Rendering Generic 3D Representations

5.1 Rendering Point Clouds from RGB-D Images

1st image -> 2nd image -> Union

RGB-D point clouds

5.2 Parametric Functions

Torus point cloud

Seashell

Seashell

5.3 Implicit Surfaces

Torus mesh

mesh vs. point cloud

Point clouds can be rendered faster without the topological setups, while meshes provied more high quality rendering and is more memory efficient. Meshes are also suitable for downstream tasks like relighting / physics simuliations.

Heart

Heart surface