A General-purpose Hidden Line Algorithm
As in previous chapters, we assume that objects are set up by the ‘scene3’ routine, but now insist that the NOV vertices in the scene are stored in the X, Y, and Z arrays. Their perspective projections on to the view plane are stored in arrays V and W. The NOF facets are stored as a list of vertex indices (a maximum of six) in array F, and the number of edges on any facet is placed in array H.
Unable to display preview. Download preview PDF.