This assignment has to be submitted in Moodle
The following are based on exercises from the book Interactive Computer Graphics A Top-Down Approach with WebGL 7th edition.
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.
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)?
For many Virtual Reality installations, the COP can be at any point and the projection plane can be at any orientation. Derive the projection matrix for this general case.
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 graphics? Name at least two and explain them using the above mentioned triangle.
Last modified: April 21st, 2020
Manfred Klaffenboeck / manfred DOT klaffenboeck AT univie DOT ac DOT at