16-825 Learning for 3D Vision

Assignment 1

Name: Marcus Diaz

Andrew ID: Marcusdi

1. Practicing with Cameras


1.1. 360-degree Renders (5 points)

360 Degree Cow Render

1.2 Re-creating the Dolly Zoom (10 points)

Dolly Zoom Effect

2. Practicing with Meshes (10 Points)


2.1 Constructing a Tetrahedron (5 points)

Tetrahedron 360

The tetrahedron mesh has 4 vertices and 4 triangular faces.

2.2 Constructing a Cube (5 points)

Cube 360

The cube mesh has 8 vertices and 12 triangular faces

3. Re-texturing a mesh (10 points)


Hulk Cow

My color choices for the retexture were purple and green. After seeing the example where red and blue were used (resembling spider-man), I thought it would be cool to make the cow resemble Hulk.

4. Camera Transformations (10 points)


No Transform:

Pre-transformation cow

Transform 1:

Cow render1

R_relative=[[0, 1, 0], [-1, 0, 0], [0, 0, 1]], T_relative=[0, 0, 3].

R_relative will perform a 90 degree rotation about the z-axis. T_relative keeps the cow centered and in frame with a z-distance of 1 unit.

Transform 2:

Cow render2

R_relative=[[1, 0, 0], [0, 1, 0], [0, 0, 1]], T_relative=[0, 0, 5].

R_relative will maintain its identity matrix and do nothing. T_relative moves the cow 5 units away, making it appear smaller/further away.

Transform 3:

Cow render3

R_relative=[[1, 0, 0], [0, 1, 0], [0, 0, 1]], T_relative=[0.75, -0.75, 3.75].

R_relative will maintain its identity matrix and do nothing. T_relative moves the cow 0.75 units in the +x direction (left), 0.75 units in the -y direction (down), and 3.75 units in the +z axis (into the screen), making it appear slightly smaller than the initial size.

Transform 4:

Cow render4

R_relative=[[0, 0, 1], [0, 1, 0], [-1, 0, 0]], T_relative=[0, 0, 3].

R_relative will rotate the cow about its y-axis 90 degrees in the clockwise direction. T_relative moves the cow 3 units in the +z direction to keep it the same size as the original image

5. Rendering Generic 3D Representations (45 Points)


5.1 Rendering Point Clouds from RGB-D Images (10 points)

plant

5.2 Parametric Functions (10 + 5 points)

torus parametric

Torus parametric point cloud

cone

New object - Cone parametric point cloud

5.3 Implicit Surfaces (15 + 5 points)

Torus mesh

Torus implicit mesh

Cylinder mesh

New object - Cylinder implicit mesh

Trade-offs between rendering as a mesh vs. as a point cloud:

(Extra Credit) 6. Do Something Fun (+10 points)


plane in flight

I chose to render an overhead view of a plane in a turbulent flight from Free3D. the model is over 3000 units long, with fine details. Consequently, the texturing of the gif is quite compressed within a 250x250 image size.

(Extra Credit) 7. Sampling Points on Meshes (10 points)


Cow meshes

Samples from the cow mesh:

original mesh -> 10 points -> 100 points -> 1000 points -> 10000 points

The procedure for the samples underwent the following: