*CMSC848F - Assignment 1*
*Submitted By: Akashkumar Parmar*
*UID: 118737430*
Rendering your first mesh
--------------------------------------------------------------------------------
Practicing with Cameras
===============================================================================
360-degree Renders
--------------------------------------------------------------------------------
Re-creating the Dolly Zoom
--------------------------------------------------------------------------------
Practicing with Meshes
===============================================================================
Constructing a Tetrahedron
--------------------------------------------------------------------------------
In the .gif file, a tetrahedron has been shown. It consists of 4 vertices and 4 triangular faces.
Constructing a Cube
--------------------------------------------------------------------------------
In the .gif file, a cube has been shown. It consists of 8 vertices and 12 triangular faces (i.e., 6 square faces).
Re-texturing a mesh
===============================================================================
*color1* = torch.tensor([1, 0, 0])
*color2* = torch.tensor([0, 0, 0])
Here the chosen colors are Red and Black. The .gif shows the smooth transition from Red to Black.
Camera Transformations
===============================================================================
*R_relative* :
- A rotation matrix that represents the rotation of the camera around the mesh object.
- By changing its value, we can relatively transform the object's orientation.
*T_relative* :
- A translation vector that represents the linear translation of the camera with respect to the mesh object.
- By changing its value, we can relatively change object's linear distance from the camera.
Transformation 1
--------------------------------------------------------------------------------
*R_relative* = + 90° @ z-axis
*T_relative* = No translation
Transformation 2
--------------------------------------------------------------------------------
*R_relative* = No rotation
*T_relative* = Translation of 3 units along z-axis
Pose 3
--------------------------------------------------------------------------------
*R_relative* = No rotation
*T_relative* = Translation of 0.5 units @ X - Axis,
Translation of -0.5 units @ Y - Axis,
Translation of 0.5 units @ Z - Axis
Pose 4
--------------------------------------------------------------------------------
*R_relative* = 90 degree rotation about y-axis
*T_relative* = Translation of 3 units @ X - Axis
Translation of 3 units @ Z - Axis
Rendering Generic 3D Representations
===============================================================================
Rendering Point Clouds from RGB-D Images
--------------------------------------------------------------------------------