Practicing with Cameras
1.1 360-degree Renders

1.2 Re-creating the Dolly Zoom

Practicing with Meshes
2.1 Constructing a Tetrahedron

This mesh should have 4 vertices and 4 faces.
2.2 Constructing a Cube

This mesh should have 8 vertices and 12 faces.
Re-texturing a mesh
3 Re-texturing the cow mesh

In this mesh, color_1 is blue ([0.0, 0.0, 1.0]), and color_2 is red ([1.0, 0.0, 0.0]).
Camera Transformations
4 Original picture

4.1 Transformation 1

R_relative should rotate the original image by 90 degrees around the Z-axis.
\[
R_{\mathrm{relative}} =
\begin{bmatrix}
0 & 1 & 0 \\
-1 & 0 & 0 \\
0 & 0 & 1
\end{bmatrix}
\qquad
T_{\mathrm{relative}} =
\begin{bmatrix}
0 \\ 0 \\ 0
\end{bmatrix}
\]
4.2 Transformation 2

R_relative should be the identity matrix, and T_relative should move the camera 2 units far away from the original position along the Z-axis.
\[
R_{\mathrm{relative}} =
\begin{bmatrix}
1 & 0 & 0 \\
0 & 1 & 0 \\
0 & 0 & 1
\end{bmatrix}
\qquad
T_{\mathrm{relative}} =
\begin{bmatrix}
0 \\ 0 \\ 2
\end{bmatrix}
\]
4.3 Transformation 3

R_relative should be the identity matrix, and T_relative should move the camera 0.5 unit right and 0.5 unit up from the original position.
\[
R_{\mathrm{relative}} =
\begin{bmatrix}
1 & 0 & 0 \\
0 & 1 & 0 \\
0 & 0 & 1
\end{bmatrix}
\qquad
T_{\mathrm{relative}} =
\begin{bmatrix}
0.5 \\ -0.5 \\ 0
\end{bmatrix}
\]
4.4 Transformation 4

R_relative should rotate the original image by -90 degrees around the Y-axis, and T_relative should move the camera 3 units along the X-axis to the new original position and 3 units far away from the original position along the Z-axis.
\[
R_{\mathrm{relative}} =
\begin{bmatrix}
0 & 0 & 1 \\
0 & 1 & 0 \\
-1 & 0 & 0
\end{bmatrix}
\qquad
T_{\mathrm{relative}} =
\begin{bmatrix}
-3 \\ 0 \\ 3
\end{bmatrix}
\]
Rendering Generic 3D Representations
5.1 Rendering Point Clouds from RGB-D Images
left: rendered from the first image;
middle: rendered from the second image
right: rendered from the union of the first 2 point clouds;
5.2 Parametric Functions


5.3 Implicit Surfaces


Discussion:
Mesh: Mesh rendering provides continuous surfaces, smooth edges, and better support to render lighting, shadows, and textures. However, it requires correct vertex connectivity, thus rendering speed can be slower, also making data collecting and processing more difficult and increasing memory usage.
Point Cloud: Point cloud rendering is easier to generate from depth cameras or LiDAR and usually requires less structural information and memory usage. Rendering speed can be faster than mesh. However, it may contain noise, holes, and discontinuities, requiring more points and normal information to achieve good visual quality.
Do Something Fun
6.1 Rendering a drum set using mesh

The texture was incorrect at first because load_objs_as_meshes function assumes the entire OBJ model uses a single texture image. However, the drum model contains multiple materials: some use KettleDrum.jpg, while others use diffuse colors defined in the MTL file.
I solved this by using load_obj with create_texture_atlas=True, which preserves material assignments of each face and applies the correct textures or material colors.

Sampling Points on Meshes
7 Comparison between different sampling numbers of points