Prefiltered Antialiased Lines Using Half-Plane Distance Functions
dc.contributor.author | McNamara, Robert | en_US |
dc.contributor.author | McCormack, Joel | en_US |
dc.contributor.author | Jouppi, Norman P. | en_US |
dc.contributor.editor | I. Buck and G. Humphreys and P. Hanrahan | en_US |
dc.date.accessioned | 2013-10-28T09:57:04Z | |
dc.date.available | 2013-10-28T09:57:04Z | |
dc.date.issued | 2000 | en_US |
dc.description.abstract | We describe a method to compute high-quality antialiased lines by adding a modest amount of hardware to a fragment generator based upon half-plane edge functions. (A fragment contains the information needed to paint one pixel of a line or a polygon.) We surround an antialiased line with four edge functions to create a long, thin, rectangle. We scale the edge functions so that they compute signed distances from the four edges. At each fragment within the antialiased line, the four distances to the fragment are combined and the result indexes an intensity table. The table is computed by convolving a filter kernel with a prototypical line at various distances from the line s edge. Because the convolutions aren t performed in hardware, we can use wider, more complex filters with better high-frequency rejection than the narrow box filter common to supersampling antialiasing hardware. The result is smoother antialiased lines. Our algorithm is parameterized by the line width and filter radius. These parameters do not affect the rendering algorithm, but only the setup of the edge functions. Our algorithm antialiases line endpoints without special handling. We exploit this to paint small blurry squares as approximations to small antialiased round points. We do not need a different fragment generator for antialiased lines, and so can take advantage of all optimizations introduced in the existing fragment generator. | en_US |
dc.description.seriesinformation | SIGGRAPH/Eurographics Workshop on Graphics Hardware | en_US |
dc.identifier.isbn | 1-58113-257-3 | en_US |
dc.identifier.issn | 1727-3471 | en_US |
dc.identifier.uri | https://doi.org/10.2312/EGGH/EGGH00/077-086 | en_US |
dc.publisher | The Eurographics Association | en_US |
dc.subject | I.3.1 [Computer Graphics] | en_US |
dc.subject | Hardware Architecture Graphics processors | en_US |
dc.subject | I.3.3 [Computer Graphics] | en_US |
dc.subject | Picture/Image Generation Line and curve generation | en_US |
dc.title | Prefiltered Antialiased Lines Using Half-Plane Distance Functions | en_US |