Rasterizer edge function optimizations
Abstract
A set of techniques for rapidly computing a half-plane membership test for successive patches of pixels. By using an inheritance relation to carry forward values already computed at patch boundaries, the computational load for each successive patch is minimized. In a sample embodiment, just one interior point and one new boundary point are computed for each new patch of 64 pixels. Each of the 64 pixels can be described by an offset from one of the 5 reference points (i.e. the one interior point, the one newly computed boundary point, and 3 previously computed boundary points). By exploiting shift and complement relations, only a small number of offsets need to be independently computed (only 10 in this example). Since membership is determined merely by the sign of the relevant half-plane functions being computed, a simple compare between the half-plane function at the reference point and the half-plane function for the relevant offset suffices to evaluate the function's sign for that particular pixel.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 2.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method of performing a half-plane membership test for a pixel, comprising the steps of: calculating an edge function for a first pixel of a patch, the first pixel having a first offset and being in the half-plane; calculating a second offset for a second pixel of the patch; comparing the first offset and the second offset to determine if the second pixel is in the half-plane.
- Claim 2Depends on #1
The method of claim 1 , wherein if the second offset is greater than the first offset, the second pixel is in the half-plane.
- Claim 3Depends on #1
The method of claim 1 , wherein the position of a third pixel of the patch is stated as an offset from a nearest one of a plurality of reference points.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (1)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 6,344,852 B1 | Optimized system and method for binning of graphics data | 2002 | 196 |
Non-Patent Literature (3)
- Apgar et al., A Display System for the Stellar Graphics Supercomputer Model GS1000, ACM, Computer Graphics, vol. 22, No. 4, Aug. 1988, pp. 255-262.
- Pineda, A Parallel Algorithm for Polygon Rasterization, ACM, Computer Graphics, vol. 22, No. 4, Aug. 1988, pp. 17-20.
- Watt et al., " Advanced Animation and Rendering Techniques" 1992, ACM Press, pp. 22-27.