Project 3
©Jorg Peters
Points: 30 (+ 40 BONUS)
Resources
Set up
Points: 0
-
Use Perspective projection, set the
field of view angle to be 45 degree, near plane to be
0.1 and far plane to be 100.
-
Camera movements from Project 2:
Use
← and
→ keys move the camera along the
blue circle parallel to the equator.
↑ and
↓ keys
rotate the camera along the red circle orthogonal
to the equator.
Point the camera always to the origin.
Choose a good "up" direction.
-
The r key resets the program
to its startup state
(displays x-y plane, clear rotations, etc.).
Task 1: Display face grid
Points: 12+3
Deform a N x N wireframe grid to resemble your face geometry
and place into the scene. Choose N=20.
Show quad-wireframe for full points (triangle -3 pts).
The f key toggles
show/hide of the wireframe of the
model (show no facets yet!)
Task 2: Add a texture
Points: 0+12+3
-
Take a photo of your face
-
Map the photo onto the quad facets of the grid.
-
The F key toggles
show/hide of the facetted (Frankenstein) head with texture
BONUS:
Points: 35+5
Render a smooth surface
(Points: 17+3 + 12+3)
Treat the wireframe grid as bi-quadratic control net
and convert it to (N-2) x (N-2) patches in BB-form
The P key toggles
show/hide of the smoothly rendered head
( = with sufficiently high sample level)
uv-map your face texture onto the curved surface.
The u key toggles
show/hide of the texture.
Animate the front of your face: to show a smile
(explain in Readme.txt)
WHAT TO SUBMIT
as for previous projects
Filepaths to load models must be relative to the source directory
(no absolute paths specific to your computer).
Use a "models" folder within the top-most level of the source repo ("ogl-master").
If you need to deviate specify the location in the readme file.