Angel and Shreiner: Interactive Computer Graphics, Seventh
Edition
Chapter 2 Odd Solutions
maintain proportions, so that xsin the same relative position in the
viewport as xis in the window, hence
x−xmin
xmax −xmin
=xs−u
w,
ymax −ymin
2.11 Most practical tests work on a line by line basis. Usually we use
scanlines, each of which corresponds to a row of pixels in the frame buffer.
2.13 There are two fundamental approaches: vertex lists and edge lists.
With vertex lists we store the vertex locations in an array. The mesh is
represented as a list of interior polygons (those polygons with no other
polygons inside them). Each interior polygon is represented as an array of
1