This assignment has to be turned in twice:
The following are based on exercises from the book Interactive Computer Graphics A Top-Down Approach with WebGL 7th edition.
Using barycentric coordinates, how do you calculate an arbitrary point P in a triangle formed by the Vertices V1, V2, V3? What are some of the practical applications for barycentric coordinates in computer grahics? Name at least two and explain them using the above mentioned triangle.
Find the projection of a point onto the plane ax + by + cz + d = 0 from a light source located at infinity in the direction (dx,dy,dz)?
Derive the perspective projection matrix when the COP can be at any point and the plane can be at any orientation.
Show how to compute u and v directions from the VPN, VRP, and VUP using only cross products.
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 on its surface.
Last modified: November 11, 2018
Manfred Klaffenboeck / manfred DOT klaffenboeck AT univie DOT ac DOT at