Sampling methods suited for graphics hardware acceleration
AssigneeAutodesk, Inc.
InventorJérôme Maillot
Life of this patent
Estimating the term…
Abstract
Embodiments of the invention provide sampling methods suited for graphics hardware acceleration. A graphics application may specify a grid of pixels to be rendered. The graphics application may supply a graphics rendering engine with one or more sets of camera parameters. Each set of camera parameters is used to alter the position of the pixel grid relative its original position so that a grid of samples can be generated at the new grid position. The graphics rendering engine then renders a grid of samples at the new grid position. Each sample grid may be used sampled to determine a set of intermediate color values that may be blended together to generate a final color value for each pixel in the pixel grid.
Claims29
A computer-implemented method for determining color values for pixels in a graphics image, the method comprising:
- receiving an initial location of a pixel grid associated with the graphics image;
- receiving a first set of camera parameters via a first user interface displayed on a display device;
- computing a second set of camera parameters based on configuration information related to changes in the location of the pixel grid and the initial location of the pixel grid;
- combining the first set of camera parameters and the second set of camera parameters to determine a new location of the pixel grid;
- generating a first sample grid based on the new location of the pixel grid, wherein the first sample grid includes a set of samples corresponding to the pixels in the graphics image;
- rendering the first sample grid to determine a color value for each sample included in the set of samples;
- sampling the first sample grid to determine a first set of intermediate color values for the pixels in the graphics image based on the color values for each sample in the set of samples;
- computing a final pixel value for a first pixel in the graphics image based on a first intermediate color value included in the first set of intermediate color values and associated with the first pixel;
- and
- displaying the first pixel having a color corresponding to the final pixel value on the display device.
A computing device configured to generate color values for pixels in a graphics image, the computing device comprising:
- a central processing unit coupled to a system memory;
- and
- a graphics processing unit coupled to the central processing unit and including a graphics rendering pipeline configured to:
- receive an initial location of a pixel grid associated with the graphics image,
- receive a first set of camera parameters via a first user interface displayed on a display device,
- compute a second set of camera parameters based on configuration information related to chances in the location of the pixel grid and the initial location of the pixel grid;
- combine the first set of camera parameters and the second set of camera parameters to determine a new location of the pixel grid generate a first sample grid based on new location of the pixel grid, wherein the first sample grid includes a set of samples corresponding to the pixels in the graphics image,
- render the first sample grid to determine a color value for each sample included in the set of samples,
- sample the first sample grid to determine a first set of intermediate color values for the pixels in the graphics image based on the color values for each sample in the set of samples, and
- compute a final pixel value for a first pixel in the graphics image based on a first intermediate color value included in the first set of intermediate color values associated with the first pixel.
Dependencies are inferred from the claim text.