Assignment Results¶


Task 1: Practicing with Cameras¶

1.1 — 360-degree Renders¶

360 cow


1.2 — Dolly Zoom¶

Dolly zoom



Task 2: Practicing with Meshes¶

2.1 — Constructing a Tetrahedron¶

Tetrahedron

* Number of Vertices - 4
* Number of Faces - 4


2.2 — Constructing a Cube¶

Cube

* Number of Vertices - 8
* Number of Faces - 12



Task 3: Re-texturing a Mesh¶

Retextured cow

* color1 = (0, 0, 1) → blue for the lowest (bottom) vertices
* color2 = (1, 0, 0) → red for the highest (top) vertices
Vertex colors is linearly interpolated smoothly along the cow’s z-axis. So vertices at the minimum z get pure blue and and vertices at the maximum z get pure red.



Task 4: Camera Transformations¶

View 0
R_relative - [[1, 0, 0], [0, 1, 0], [0, 0, 1]]
T_relative=[0, 0, 4]
View 1
R_relative - [[0, 1, 0], [-1, 0, 0], [0, 0, 1]]
T_relative=[0, 0, 4]
View 2
R_relative - [[1, 0, 0], [0, 1, 0], [0, 0, 1]]
T_relative=[0, 0, 6]
View 3
R_relative - [[1, 0, 0], [0, 1, 0], [0, 0, 1]]
T_relative=[1, 0, 3]
View 4
R_relative - [[0, 0, 1], [0, 1, 0], [-1, 0, 0]]
T_relative=[0, 0, 4]

My explanation : (By adjusting the values of the R_relative and T_relative matrix - I was able to obtain output):

* R_relative (The deteminant of this matrix must not be zero): This is used to rotate the axis. By default is [[1, 0, 0], [0, 1, 0], [0, 0, 1]] - this points in left, up and z direction.
* T_relative: This is to move the object front, back, left and right.



Task 5: Rendering Generic 3D Representations¶

5.1 — Rendering Point Clouds from RGB-D Images¶

Point cloud 1
Point cloud from view 1
Point cloud 2
Point cloud from view 2
Union point cloud
Union of both point clouds

5.2 — Parametric Functions¶

Parametric torus
Parametric Torus
Parametric mobius
Möbius Strip

5.3 — Implicit Surfaces¶

Implicit torus
Implicit Torus (Marching Cubes)
Implicit ellipsoid
Implicit Ellipsoid

Point Cloud vs Meshes
* Rending quality of Meshes is far higher than Mesh.
* Rending speed of Point Cloud is faster than Mesh. So rending Mesh fast can prove to be expensive.
* Memory useage by Point Cloud is less compared to Mesh.
* Point Clouds are easier to use and lightweight - Mesh require faces to be well defined.
* Meshes supports lighting, and point cloud needs needs estimated normals or splatting.



Task 6: Do Something Fun¶

Creative render

A creative render (custom mesh / material / lighting).



(Extra Credit) Task 7: Sampling Points on Meshes¶

10 samples
10 samples
100 samples
100 samples
1000 samples
1000 samples
10000 samples
10000 samples