
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The instructions for homework 1 in a computer graphics course, covering topics such as perspective projection of spheres, depth interpolation using different methods, and expressing 3d rotations and translations as compositions of symmetries about planes.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Computer Graphics: Homework 1. Due: 9/2/
(a) z
(b) (x^2 +y^2 +z^2 )^1 /^2 (the distance between the viewpoint and the point being projected).
For both of the above, write out a formula that the rasterizer would have to use to interpolate depth from projected coordinates/depth of vertices of a a triangle with vertices (x 0 , y 0 , z 0 ), (x 1 , y 1 , z 1 ), (x 2 , y 2 , z 2 ). In other words, for a fragment at (a, b), how to compute its depth, given the vertices of the triangle it originated from? (the reason for 1 − 1 /z is that the interpolation it requires is linear).