Computer Graphics Algorithms Quiz 2 Study Questions
William Shoaff
(This is may not be a complete list of questions: Monday, April 1, 2002, 10:00 am)
- 1.
- What is the clipping ``outcode'' of the real points
-
(-1, 1/2, 2)
- (2,3, 4)
-
(1/2,3/4, 4/5)
- 2.
- What is the clipping ``outcode'' of the homogeneous points
-
(-2, 1, 4, 4)
-
(2,3, 4, 1)
-
(10,15, 16, 20)
- 3.
- Using Blinn's clipping algorithm,
show how to clip the line between
-
P0=(-2, 1, 4, 2) and
P2=(2,3, 4, 1)
-
and
P2=(2, 3, 4, 4)
- 4.
- Show how to map the portion of the view frustrum defined by
,
,
into
clip space.
- 5.
- Show how to map clip space onto to a viewport (display window)
defined by
,
on a display
device with resolution
and
.
- 6.
- Using the DDA line algorithm, show how to compute which pixels would be lit to draw the line
from pixel
- 7.
- Using Bresenham's line algorithm, show how to compute which pixels would be lit to draw the line
from pixel
William D. Shoaff
2002-04-09