End point value correction when traversing an edge using a quantized slope value
Abstract
A system and method for rendering a polygon, such as a triangle. The method may comprise receiving geometry data (or vertex data) defining vertices of the polygon. The method may compute initial vertex x,y values at end points proximate to each of the vertices of the polygon, and a slope value along each edge of the polygon. The computed slope may be a quantized slope value having a first number of bits of precision. The first number of bits of precision may produce inaccuracies for interpolated x,y values computed at the end points of an edge of the polygon. The method may then interpolate x,y values along each respective edge of the polygon using the computed slope along the respective edge of the polygon. Finally the method may store final x,y values for each respective edge of the polygon. The final x,y values comprise the interpolated x,y values for non-end points of the respective edge, and the computed initial vertex x,y values for each of the end points of the respective edge. The operation of storing the computed initial vertex x,y values for each of the end points of the respective edge, instead of using interpolated x,y values at the end points, operates to prevent inclu
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 15.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for rendering a polygon, the method comprising: receiving geometry data defining vertices of the polygon, computing initial vertex x,y values at end points proximate to each of the vertices of the polygon, wherein the end points define the outer edges of the first and last span that traverse the polygon; computing a slope along each edge of the polygon, wherein said computing a slope introduces an error in each computed slope value due to the limited number of precision bits used to represent the slope value; interpolating equally spaced x,y values along each respective edge of the po
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 15 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (1)
- Foley, James D., et al., Computer Graphics: Principles and Practice, 2<nd >Edition, Addison-Wesley Publishing Company, Jul. 1997, pp. 91-99 and 883-885.