Techniques for rendering signed distance functions
AssigneeNVIDIA Corporation
InventorsHerman Hansson Soederlund, Alex Evans, Tomas Akenine-Moller
Life of this patent
Estimating the term…
Abstract
One embodiment of a method for rendering one or more graphics images includes tracing one or more rays through a graphics scene; computing one or more surface normals associated with intersections of the one or more rays with one or more surfaces, where computing each surface normal includes: computing a plurality of intermediate surface normals associated with a plurality of adjacent voxels of a grid, and interpolating the plurality of intermediate surface normals; and rendering one or more graphics images based on the one or more surface normals.
Claims20
A computer-implemented method for computing pixel colors, the method comprising:
- tracing a shadow ray through a graphics scene;
- determining one or more turning points of a cubic function, wherein the cubic function represents a plurality of distances to one or more surfaces of geometry within a voxel of a grid;
- determining, based on the one or more turning points, a plurality of values of the cubic function at a plurality of boundaries of one or more subintervals of an interval associated with the voxel;
- determining, based on the plurality of values, whether a hit point at which another ray intersects another surface of geometry resides within a shadow;
- and
- computing a first pixel color based on whether the hit point resides within a shadow.
One or more non-transitory computer-readable media storing program instructions that, when executed by at least one processor, cause the at least one processor to perform the steps of:
- determining, based on one or more turning points of a cubic function that represents a plurality of distances to one or more surfaces of geometry within a voxel of a grid, whether a hit point at which a ray intersects another surface of geometry resides within a shadow;
- and
- computing a first pixel color based on whether the hit point resides within a shadow.
A system, comprising:
- one or more memories storing instructions;
- and
- one or more processors that are coupled to the one or more memories and, when executing the instructions, are configured to:
- determine, based on one or more turning points of a cubic function, whether a hit point at which a ray intersects a surface of geometry resides within a shadow;
- and
- compute a first pixel color based on whether the hit point resides within a shadow.
Dependencies are inferred from the claim text.