Interpolating sample values from known triangle vertex values
Abstract
A graphics system comprises a rendering unit, a sample buffer and a sample-to-pixel calculation unit. The rendering unit receives graphics data specifying three triangle vertices, generates sample positions, and determines which samples reside inside the triangle. The rendering unit computes an axial rate of change of an ordinate based on the positions and ordinates of the vertices, and, for each sample residing inside the triangle, (a) multiplies the axial rate by a edge-relative sample displacement resulting in a first product, (b) interpolates a projection value for a projection point on a first edge of the triangle, and (c) adds the first product to the projection value resulting in a sample ordinate value. The sample buffer stores the sample ordinate value the samples inside the triangle. The sample-to-pixel calculation unit reads sample ordinate values from the sample buffer and generates a pixel value by filtering the sample ordinate values.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A rendering unit comprising: sample position generation logic configured to generate sample positions in a two-dimensional screen space; sample testing logic configured to receive graphics data including three vertices defining a triangle and to determine which of said sample positions reside inside the triangle; sample ordinate generation logic coupled to the sample position generation logic and the sample testing logic, wherein the sample ordinate generation logic is configured to compute a first axial rate of change of a first ordinate based on the three vertices, and, for each sample posit
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗