Abstract
An algorithm is presented which clips on a non-rotated viewport positioned anywhere on the viewport plane relative to the viewing vector. This is a generalization of the traditional three-dimensional clipping algorithm in which the viewing vector intersects the viewport at its center. This traditional algorithm is shown to be a special case of the general algorithm. Also shown is that both orthogonal box clipping and perspective pyramid clipping can be accomplished using the same algorithm with only a slight increase in complexity. Finally, the ability to perform switch-controlled hither and yon plane clipping is described. It should be noted that with this general clipping algorithm no separate clipping operation is required for two-dimensional operations since they can be handled as an orthogonal projection from an arbitrary default Z-plane onto the viewport plane.

This publication has 1 reference indexed in Scilit: