Tutorial Exercise 3

advertisement
Tutorial Exercise 3
CS3162 Introduction to Computer Graphics
Helena Wong, 2000
1. Illustrate how to generate different intensity variations using halftone approximation with 2x2 grids
and 2 intensity levels (0,1) per pixel?
2. According to the picture of line drawing (zero width) in section 6.4 of your lecture notes, the line is
drawn across some pixels. What intensity values should be painted for each of these pixels?
3. Repeat question 2 for the line drawing (with finite width) in section 6.4 of your lecture notes. But
this time use the pixel-weighting masks (available in section 6.4).
4. Describe the 3D viewing pipeline.
5. What is viewing volume. Illustrate how the different kinds of shapes of viewing volumes are
obtained for parallel projection and perspective projection.
6. Show how to clip the following polygon against the clipping rectangle.
7. Set up geometric data tables for a unit cube.
1
Download