Lab 3
Transformations, Illumination
Due: Tuesday, May 9th 2017, 13:45 (in class)
- Individual Effort:
- No team participation is really encouraged in the case of the homework or the labs. If you fail to do so, it will be treated as academic misconduct.
- Late Submission:
- In general late submission is not encouraged/accepted unless there is a very good reason.
Tasks:
The following are based on exercises from the book Interactive Computer Graphics A Top-Down Approach with WebGL 7th edition.
1) Do exercise 5.4 in the book: Show how to compute u and v directions from the VPN, VRP, VUP using only cross products. (2 points)
2) Do exercise 6.13 in the book: Consider two translucent materials that meet along a planar boundary. Suppose that the speed of light in the two materials is v1 and v2. Show that Snell's law is a statement that light travels from a point in one material to a point in the second material in the minimum time. (2 points)
3) Neither diffuse nor Phong illumination is approximating the moon well. What observations tell you that this is true? (2 points)
4) Do exercise 6.21 in the book: If the light position is altered by an affine transformation, such as a modeling transformation, how must a normal vector be transformed so that the angle between the normal and the light vector remains unchanged? (2 points)
5) Do exercise 6.24 in the book: Consider a highly reflective sphere centered at the origin with a unit radius. If a viewer is located at p, describe the points she would see reflected in the sphere at a point q on its surface. (2 points)
Last modified: May 2, 2017
Lukas Herzberger /
a1006039 AT unet DOT univie DOT ac DOT at