Techniques for deferred decoupled shading
First Claim
1. A device to render two-dimensional (2D) imagery from three-dimensional (3D) model data comprising:
- a processor circuit;
a fine rasterizing component for execution on the processor circuit to employ multiple screen image samples per screen image pixel of a screen image to perform fine rasterization of a 3D model to identify a set of visible primitives of the 3D model that are visible from a perspective of the screen image;
a coarse rasterizing component for execution on the processor circuit to employ a single shading image sample per shading image pixel of a shading image that corresponds to the screen image to perform coarse rasterization of the 3D model from the perspective of the screen image to identify at least one primitive along a path of a shading image sample associated with a shading image pixel; and
a shading component for execution on the processor circuit to determine whether each of the at least one primitives identified as along the path of the shading image sample are identified as a visible primitive in the set of visible primitives and shade each of the at least one primitives identified as along the path of the shading image sample and identified as a visible primitive in the set of visible primitives to derive a first color value for the shading image pixel associated with the shading image sample.
1 Assignment
0 Petitions
Accused Products
Abstract
Various embodiments are generally directed to techniques for reducing the processing demands of shading primitives in rendering a 2D screen image from a 3D model. A device includes a fine rasterizing component to employ multiple screen image samples per screen image pixel to perform fine rasterization to identify a set of visible primitives, a coarse rasterizing component to employ a single shading image sample per shading image pixel to perform coarse rasterization from the same perspective as the fine rasterization to identify at least one primitive along a path of a shading image pixel, and a shading component to shade a primitive identified by a screen image sample of a first screen image pixel as visible within the shading image pixel and identified as along the path of the shading image sample associated with the shading image pixel to derive a color value. Other embodiments are described and claimed.
6 Citations
25 Claims
-
1. A device to render two-dimensional (2D) imagery from three-dimensional (3D) model data comprising:
-
a processor circuit; a fine rasterizing component for execution on the processor circuit to employ multiple screen image samples per screen image pixel of a screen image to perform fine rasterization of a 3D model to identify a set of visible primitives of the 3D model that are visible from a perspective of the screen image; a coarse rasterizing component for execution on the processor circuit to employ a single shading image sample per shading image pixel of a shading image that corresponds to the screen image to perform coarse rasterization of the 3D model from the perspective of the screen image to identify at least one primitive along a path of a shading image sample associated with a shading image pixel; and a shading component for execution on the processor circuit to determine whether each of the at least one primitives identified as along the path of the shading image sample are identified as a visible primitive in the set of visible primitives and shade each of the at least one primitives identified as along the path of the shading image sample and identified as a visible primitive in the set of visible primitives to derive a first color value for the shading image pixel associated with the shading image sample. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A device to render two-dimensional (2D) imagery from three-dimensional (3D) model data comprising:
-
a processor circuit; a shading component for execution on the processor circuit to shade a primitive within a shading image pixel of a shading image that corresponds to a screen image to determine a first color value of the shading image pixel when the primitive is identified as along a path of a shading image sample associated with the shading image pixel and identified as a visible primitive in a set of visible primitives; a resolving component for execution on the processor circuit to assign the first color value to each screen image sample of a first set of screen image samples of a 3D model that falls within the shading image pixel; and a sample averaging component for execution on the processor circuit to average color values of a second set of screen image samples of the 3D model that falls within a first screen image pixel of the screen image to determine a second color value of the first screen image pixel, the first screen image pixel at least partially coinciding with the shading image pixel, and the second set of screen image samples differing from and sharing at least one screen image sample with the first set of screen image samples. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer-implemented method for rendering two-dimensional (2D) imagery from three-dimensional (3D) model data comprising:
-
employing multiple screen image samples per screen image pixel of a screen image to perform fine rasterization of a 3D model to identify a set of visible primitives of the 3D model that are visible from a perspective of the screen image; employing a single shading image sample per shading image pixel of a shading image that corresponds to the screen image to perform coarse rasterization of the 3D model from the perspective of the screen image to identify at least one primitive along a path of a shading image sample; and shading a primitive to derive a first color value based on determining the primitive is identified as along the path of the shading image sample and identified as a visible primitive in the set of visible primitives. - View Dependent Claims (15, 16, 17, 18, 19)
-
-
20. At least one non-transitory machine-readable storage medium comprising instructions that when executed by a computing device, cause the computing device to:
-
employ multiple screen image samples per screen image pixel of a screen image to perform fine rasterization of a 3D model to identify a set of visible primitives of the 3D model that are visible from a perspective of the screen image; employ a single shading image sample per shading image pixel of a shading image that corresponds to the screen image to perform coarse rasterization of the 3D model from the perspective of the screen image to identify at least one primitive along a path of a shading image sample; and shade a primitive to derive a first color value based on a determination that the primitive is identified as along the path of the shading image sample and identified as a visible primitive in the set of visible primitives. - View Dependent Claims (21, 22, 23, 24, 25)
-
Specification