Class | Description |
---|---|
Clip |
Clip any (projected) line segment that sticks out of the view rectangle
in the view plane.
|
Pipeline |
This renderer takes as its input a Scene data structure and
a FrameBuffer data structure.
|
Project |
Project line segments from camera coordinates to the view plane.
|
Rasterize |
Rasterize each line segment into pixels in the framebuffer.
|
Viewport |
Transform each line segment's endpoints from viewplane coordinates
to viewport coordinates so that the view rectangle in the view plane
with
-1 <= x <= 1,
-1 <= y <= 1,
transforms into a viewport where
0.5 <= x < w + 0.5
0.5 <= y < h + 0.5
where w = number of horizontal pixels in the viewport,
h = number of vertical pixels in the viewport.
|