Professional Documents
Culture Documents
Written Assignment #1 Math For Computer Graphics
Written Assignment #1 Math For Computer Graphics
Written Assignment #1 Math For Computer Graphics
The work must be your own. Please use any resources available to you (the book, the web, etc.),
but write up the answers in your own words, explaining all of the steps. Also please cite any
external references you use (other than the textbook) to come up with your answers.
3. Shirley 2.12. What is the implicit equation of the plane through 3D points (1,0,0),
(0,1,0), and (0,0,1)? What is the parametric equation? What is the normal vector to this
plane?
4. Shirley 2.13. Given four 2D points a0, a1, b0, and b1, design a robust procedure to
determine whether the line segments a0a1 and b0b1 intersect. [Note: you do not need to
write C code, just carefully outline the steps in the algorithm. ‘Robust’ means that your
algorithm should work for all possible values of a0, a1, b0, and b1, and that you should
avoid problems such as dividing by zero. Do not worry about situations where points are
NAN or infinity.]
5. Given 3D points (0,0,0), (3,0,0), and (1,1,0), derive the expression for the barycentric
coordinates for any point p in the z=0 plane. Test several points to make sure your
solution is correct.