Assignment Writeup/Results

Q1.1

Q1.2

Q2.1

Vertices = 4, Faces = 4

Q2.2

Vertices = 8, Faces = 12

Q3

color1 = [0,0,1], color2 = [1,0,0]

The colors are kept the same as in the example.

Q4

By default, the camera is placed at a point in on -Z, facing +Z direction, with left as +X direction and up as +Y direction. This is the base position and orientation. R_relative and T_relative modify the camera's base orientation axes and position respectively with respect to the world frame. For example, a T_relative = [-5, 3, 4] would shift the camera towards -Z by 4 units, +X by 5 and -Y by 3.

Q5.1

Plant 1st Plant 2nd Plant Combined

Q5.2

Q5.3

Q6

The below figure is generated if the camera is moving in a spiral motion towards the object while rendering.