Assignment 1

Question 1.1: 360-degree renders

360-degree render of a cow

Question 1.2: Re-creating the Dolly Zoom

Dolly zoom effect

Question 2.1: Constructing a Tetrahedron

Tetrahedron construction
Number of vertices = 4. Number of faces = 4.

Question 2.2: Constructing a Cube

Cube construction
Number of vertices = 8. Number of faces = 12.

Question 3: Re-texturing a mesh

Re-textured cow mesh
color1 = torch.tensor([0,1,0])
color2 = torch.tensor([1,0,0])

Question 4: Camera Transformations

Transform 1
Camera Transform 1
R1 = [[0, 1, 0], [-1, 0, 0], [0, 0, 1]]
T1 = [0, 0, 0]
Transform 2
Camera Transform 2
R2 = [[1, 0, 0], [0, 1, 0], [0, 0, 1]]
T2 = [0, 0, 3]
Transform 3
Camera Transform 3
R3 = [[1, 0, 0], [0, 1, 0], [0, 0, 1]]
T3 = [0.5, 0, 0]
Transform 4
Camera Transform 4
R4 = [[0, 0, 1], [0, 1, 0], [-1, 0, 0]]
T4 = [-3, 0, 3]
In the way R_relative and T_relative are defined in the starter code, T_relative first translates the camera from its starting position (3 units along Z axis from the origin) and the R_relative rotates it about its modified location.

Question 5.1: Rendering Point Clouds from RGB-D Images

RGB-D 1
RGB-D Image 1
RGB-D 2
RGB-D Image 2
RGB-D Union
RGB-D Union

Question 5.2: Parametric Functions

Torus
Torus parametric function
Bumpy Sphere
Bumpy sphere parametric function

Question 5.3: Implicit Surfaces

Torus Mesh
Torus mesh
Superellipsoid Mesh
Superellipsoid mesh
In terms of rendering speed, mesh is better than a point cloud. Mesh would also be better in terms of rending quality, especially for smooth surfaces. To add to that, to render smooth surfaces, the preferred choice would be a mesh, because a point cloud would have too many superfluous points. In terms of ease of use, point clouds are much easier to manipulate because they are just a set of points with features whereas a mesh requires connectivity information between vertices which can get very complicated.

Question 6: Do Something Fun

Fun torus animation
This is a torus revolving around another torus encircling it without contact.