16-825 Assignment 1: Rendering Basics with PyTorch3D

Name: Hiroki Mii

Andrew ID: hmii

1. Practicing with Cameras

1.1 360-degree Renders

cow 360

1.2 Re-creating the Dolly Zoom

dolly

2. Practicing with Meshes

2.1 Constructing a Tetrahedron

tetrahedron

A tedrahedron has 4 vertices and 4 triangular faces.

2.2 Constructing a Cube

cube

A cube has 8 vertices and 12 triangular faces.

3. Re-texturing a mesh

colored cow

color1 = [0, 1, 1] is blue green and color2 = [1, 0, 1] is purple.

4. Camera Transformations

transformation 1

Camera Transformation 1:
R_relative - 90 degree counterclockwise rotation about z-axis (roll)
T_relative - Zoom out 0.5 units in the z-direction

transformation 2

Camera Transformation 2:
R_relative - No rotation
T_relative - Zoom out 2.5 units in the z-direction

transformation 3

Camera Transformation 3:
R_relative - No rotation
T_relative - Move right 0.5 units in the x-direction and zoom out 0.5 units in the z-direction

transformation 4

Camera Transformation 4:
R_relative - 90 degree counterclockwise rotation about the y-axis (yaw)
T_relative - Move left 2.5 units in the x-direction, move up 0.25 units in the y-direction, and zoom out 4 units in the z-direction

5. Rendering Generic 3D Representations

5.1 Rendering Point Clouds from RGB-D Images

point cloud

From left to right: The point cloud corresponding to the first image, the point cloud corresponding to the second image, the point cloud formed by the union of the first 2 point clouds.

5.2 Parametric Functions

torus cone

5.3 Implicit Surfaces

implicit torus implicit hour glass

Points clouds are generally faster to render because they consist of just indendent points storing location and color. Meshes require rasterization and lighting computation making it more expensive to render. However for this reason, meshes arguably have higher quality since they have continuous surfaces whereas point clouds are made up of discrete dots. Furthermore, increasing point cloud samples to make shapes look continuous can be more memory-expensive.

Points clouds are easier to generate from parametric and implicit function directly by plugging and chugging parameter values. Meshes require an extra step of marching cubes to extract connectivity.

6. Do Something Fun (Extra Credit)

trex

T-Rex eating a donut.