L3D - Assignment 1
Andrew ID: rajathc
Task 1: Practicing with Cameras (15 Points)
1.1: 360-degree Renders (5 points)
1.2 Re-creating the Dolly Zoom (10 points)
Task 2: Practicing with Meshes (10 Points)
2.1 Constructing a Tetrahedron (5 points)
My Tetrahedron has 4 vertices and 4 faces.
2.2 Constructing a Cube (5 points)
My Cube has 8 vertices and 12 faces.
Task 3: Re-texturing a mesh (10 points)
color1 = [0, 0, 1] and color2 = [1, 0, 0].
Task 4: Camera Transformations (10 points)
4.1
R_relative - Need to rotate -90 degree about Z-axis.
T_relative - No change.
4.2
R_relative - No change.
T_relative - Need to move away on Z-axis.
4.3
R_relative - No change.
T_relative - Need to move away on X-axis.
4.4
R_relative - Need to rotate 90 degree about Y-axis.
T_relative - Need to also move the camera in the X and Z-Axis.
Task 5: Rendering Generic 3D Representations (45 Points)
5.1 Rendering Point Clouds from RGB-D Images (10 points)
5.2 Parametric Functions (10 + 5 points)
Parametric Torus:
Parametric Ellipsoid:
5.3 Implicit Surfaces (15 + 5 points)
Implicit Surface Torus:
Tradeoffs between rendering as a mesh vs a point cloud:
- Rendering speed: Rendering meshes is faster as GPUs are specifically designed for rasterization.
- Rendering quality: Meshes are higher quality with smooth surfaces and support for lighting/shading effects.
- Ease of use: Point clouds are easier to work with as we don't have to worry about vertex connectivity like in meshes.
- Memory usage: For the same number of vertices, point clouds need to store less data as they do not need to save faces like meshes.
Implicit Surface Ellipsoid:
Task 6: Do Something Fun (10 points)
Added some sunglasses to the cow. Sunglasses were scaled, rotated and translated.
Task 7: (Extra Credit) Sampling Points on Meshes (10 points)