Depth bounds testing
Abstract
Lights can be conservatively bounded within a depth range. When image pixels are outside of a light's depth range, an associated volume fragment does not have to be rendered. Depth bounds registers can be used to store minimum and maximum depth values for a light. As graphics hardware processes volume fragments overlapping the image, the image's depth values are compared with the values in the depth bounds register. If the image's depth is outside of the depth range for the light, stencil buffer and illumination operations for this volume fragment are bypassed. This optimization can be performed on a per-pixel basis, or simultaneously on a group of adjacent pixels. The depth bounds are calculated from the light, or from the intersection of the volume with one or more other features. A rendering application uses API functions to set the depth bounds for each light and to activate depth bounds checking.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 25.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for rendering a volume within a scene, comprising: rendering a set of pixels of the scene to fill a depth buffer with depth values associated with the set of pixels; setting a depth bounds associated with the volume; defining a fragment associated with the volume, having a volume depth, and covering at least one subset of pixels of the scene, wherein each subset of pixels has a subset depth value; for each subset of pixels, discarding at least a portion of the fragment covering the subset of pixels in response to the corresponding subset depth value being outside of the depth bounds a
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 25 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (5)
- Crow, Franklin; Shadow Algorithms For Computing Graphics; Proc. of SIGGRAPH, 1977 pp. 242-248.
- Everitt, Cass and Kilgard, Mark J.; Practical and Robust Stenciled Shadow Volumes for Hardware-Accelerated Rendering Mar. 12, 2002.
- Foley, James D. et al. Computer Graphics: Principles and Practices, Addison-Wesley Publishing Co., 2nd ed pp. 237-242 (1990).
- Kilgard, Mark J.; Improving Shadows and Reflections via the Stencil Buffer.
- Lengyel, Eric; The Mechanics of Robust Stencil Shadows, Gamasutra, Oct. 11, 2002.