Modulated Blended Anti-Aliasing Two-Pass Rendering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional anti-aliasing techniques require increased memory and bandwidth due to the need for multiple samples per pixel, leading to decreased graphics processing performance and higher system costs.

Innovation Solution

A method involving a two-pass processing approach, where z data is computed for multiple samples in a first pass and color values are accumulated in a single color buffer during a second pass, using a multi-sample stencil buffer to ensure each sample is shaded only once, reducing memory allocation and bandwidth consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If multiple samples per pixel are used for anti-aliasing, then image quality is improved, but memory usage and bandwidth consumption increase

Engineering Contradiction:
Improveimage qualityVSAvoidmemory usage
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent divides the anti-aliasing process into two separate passes: a first pass that computes only z data for multiple samples and stores it in a multi-sample z buffer, and a second pass that computes and accumulates color values. This segmentation allows the system to use multiple samples for high-quality anti-aliasing while reducing memory usage by storing only z data in multi-sample format rather than both z and color data.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts the z data computation and storage from the color data computation and storage. By separating these functions into different passes and different buffer types (multi-sample z buffer vs. single-sample color buffer), the system achieves high-quality anti-aliasing with reduced memory requirements compared to storing multiple copies of both z and color data.

Inventive Principle:
Principle #2Taking out (Extraction)

2Measurement precision

If multiple samples per pixel are used for anti-aliasing, then image quality is improved, but bandwidth consumption increases

Engineering Contradiction:
Improveimage qualityVSAvoidbandwidth consumption
Core Design Contradiction:
Measurement precisionVSLoss of energy

Solution Approach 1:

The patent segments the rendering process into two passes with different bandwidth requirements. The first pass transfers only z data for multiple samples to the multi-sample z buffer, while the second pass transfers color values that are accumulated directly. This reduces overall bandwidth consumption compared to transferring and storing multiple complete pixel data sets.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts color value computation and accumulation from the first pass, performing it separately in the second pass. This allows the system to use multiple samples for quality anti-aliasing while minimizing bandwidth usage by only transferring necessary data (z data in pass 1, color values in pass 2) rather than multiple complete pixel data sets.

Inventive Principle:
Principle #2Taking out (Extraction)

3Measurement precision

If multiple samples per pixel are used for anti-aliasing, then image quality is improved, but graphics processing performance decreases

Engineering Contradiction:
Improveimage qualityVSAvoidgraphics processing performance
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent segments the rendering workload into two specialized passes: the first pass focuses exclusively on z data computation and storage in a multi-sample z buffer, while the second pass handles color value computation and accumulation. This segmentation improves graphics processing performance by allowing each pass to be optimized for its specific task and by reducing memory bandwidth bottlenecks.

Inventive Principle:
Principle #1Segmentation

4Quantity of substance

If a single color buffer is used instead of multi-sample color buffer, then memory usage is reduced, but ensuring proper sample accumulation becomes more complex

Engineering Contradiction:
Improvememory usageVSAvoidprocessing complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by computing and storing all necessary z data for multiple samples in the multi-sample z buffer during the first pass, before the second pass accumulates color values. This preliminary preparation simplifies the second pass, as the system only needs to accumulate color values without managing multi-sample color buffer complexity, thus reducing both memory usage and processing complexity.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9454843B2Modulated and blended anti-aliasing
Publication Date: 2016.09.27 NVIDIA CORP
  • US9454843B2 patent drawing
  • US9454843B2 patent drawing
  • US9454843B2 patent drawing

AI summary

A system, method, and computer program product are provided for anti-aliasing. During a first processing pass of a plurality of graphics primitives, z data is computed for multiple samples of each pixel in an image to generate a multi-sample z buffer. During a second processing pass of the graphics primitives, computed color values corresponding to each pixel in a color buffer that stores one color value for each pixel are accumulated.