Barycentric centroid sampling method and apparatus
Abstract
A method and corresponding apparatus for calculating the centroid of a fragment to be rendered is disclosed. The method calls for moving the sampling point of a pixel from its initial center point to the center of the fragment containing a portion of an image to be rendered. The method comprises the steps of receiving a coverage mask containing at least one sample point of the pixel fragment under consideration; determining which of the sample points are within the fragment; determining a value representative of the number of sample points that are within the fragment; determining offset values of the fragment centroid based on the number of sample points within the fragment; and determining the barycentric coordinates of the centroid of the fragment. The centroid of the fragment is where sampling of the primitive will occur. By sampling at the centroid of the fragment, rendered image quality is improved due to the reduced anti-aliasing effects at the edges of the primitive.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 22.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method of computing the centroid of a fragment, comprising the steps of: (a) determining the center point of a pixel containing a fragment to be rendered; (b) receiving a coverage mask including a plurality of sample points; (c) determining a coverage mask value based on the number of sample points within the fragment; (d) determining fragment centroid offset values based on the coverage mask value of step (c); and (e) determining offset coordinates of the fragment centroid based on the fragment centroid offset values and the center point of the pixel containing a fragment to be rendered.
- Claim 2Depends on #1
The method of claim 1 , wherein the offset coordinates of step (e) are Cartesian values.
- Claim 3Depends on #1
The method of claim 1 , further including the step of (f) interpolating appearance
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 22 total)
References Cited — Backward Prior Art (1)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2002097241 A1 | System and method for producing an antialiased image using a merge buffer | — | 113 |