Assignment 7: Camera Controls
- Due May 27, 2018 by 11:59pm
- Points 8
- Submitting a file upload
Objectives:
To be able to control the camera position/angle/etc.
Description:
In this lab, you will be able to navigate around your scene by controlling the camera. Namely, we will be messing with the parameters of the view matrix.
In one part, we will implement zooming the camera in and out, which is changing the FOV parameter.
We will also want to move the camera's position, either in the XY-plane (panning) by changing the LookAt parameter, or by moving the camera along the z-axis.
Then, we want our lighting to be consistent. Note that most of the lighting won't change, however, specular highlights will (since they depend on the view direction).
Resources:
Look at Triangles Links to an external site. <--- Located in Matsuda/Lea Chapter 7
Note: in the video, I have an animated rotating camera view. You don't need this for the base requirements.
Rubric
Criteria | Ratings | Pts |
---|---|---|
1r. Be able to pan the camera. That is, move the camera along the XY-plane without changing the direction of the camera.
This can be achieved by varying the parameters in the view matrix. The controls can be whatever you want, and in any case, make it clear.
threshold:
pts
|
pts
--
|
|
2r. Be able to move the camera forward and backward without changing the camera direction.
This can be achieved by varying the parameters in the view matrix. The controls can be whatever you want, and in any case, make it clear.
threshold:
pts
|
pts
--
|
|
3r. Be able to zoom in and out.
This is achieved by varying the FOV parameter in your perspective matrix. The controls can be whatever you want, and in any case, make it clear.
threshold:
pts
|
pts
--
|
|
4r. Lighting should match camera changes.
Most importantly, specular highlights should move if the view vector changes.
threshold:
pts
|
pts
--
|
|
1e. Be able to turn the camera left and right (about the y-axis).
threshold:
pts
|
pts
--
|
|
2e. Be able to rotate the camera about the z-axis (spin).
threshold:
pts
|
pts
--
|
|
3e. Be able to pan around a specific object with an animation (like in the demo video).
For full credit, lighting should match (namely specular).
threshold:
pts
|
pts
--
|
|
4e. Be able to make the camera shake with an animation.
That is, make it look like the camera person is shaking the camera.
threshold:
pts
|
pts
--
|
|
5e. Be able to stretch the scene with the camera.
Either in the x or y direction is fine. This can be achieved by changing the aspect ratio.
threshold:
pts
|
pts
--
|