Aliased Line Rasterization Using the Diamond Exit Rule

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing graphics processing systems face inefficiencies in rendering angled lines due to aliasing and increased processing effort with higher primitive counts, particularly when using tile-based or immediate-mode rendering, which can lead to jagged lines and increased hardware requirements.

Innovation Solution

Implement a method and hardware for rasterizing aliased lines using the diamond exit rule, reusing existing hardware for conservative rasterization and edge testing, and applying a series of tests to determine which pixels are part of the line, including checks for diamond test area inclusion, extended edge crossings, and slope conditions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If the number of primitives is increased to improve surface approximation accuracy, then the rendering precision is improved, but the processing effort and hardware size increase

Engineering Contradiction:
Improvesurface approximation accuracyVSAvoidhardware size
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent changes the rendering approach by implementing diamond exit rule rasterization with optimized line rendering algorithms. This modifies the parameters of line rasterization to reduce the number of primitives needed while maintaining visual quality, thereby improving surface approximation accuracy without proportionally increasing hardware size.

Inventive Principle:
Principle #35Parameter changes

2Manufacturing precision

If the number of primitives is increased to improve surface approximation accuracy, then the rendering precision is improved, but the processing effort increases

Engineering Contradiction:
Improvesurface approximation accuracyVSAvoidprocessing effort
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The patent implements diamond exit rule rasterization that optimizes line rendering parameters. By using diamond-shaped test areas and optimized exit rules, the system reduces the processing effort required per primitive while maintaining accurate surface approximation, thus improving productivity without sacrificing rendering precision.

Inventive Principle:
Principle #35Parameter changes

3Object-affected harmful factors

If line rasterization rules are used to handle angled lines, then aliasing is reduced, but the hardware complexity increases

Engineering Contradiction:
ImprovealiasingVSAvoidhardware complexity
Core Design Contradiction:
Object-affected harmful factorsVSDevice complexity

Solution Approach 1:

The patent segments the line rendering process into distinct stages: diamond test area determination, edge crossing detection, and exit rule application. By dividing the rasterization process into these modular segments, the hardware can implement aliasing reduction through specialized units for each stage, reducing overall hardware complexity compared to a monolithic approach.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The diamond exit rule hardware implementation is designed to be universal, handling both angled lines and axis-aligned lines through the same diamond-shaped test area mechanism. This multi-functional approach reduces hardware complexity by eliminating the need for separate processing paths for different line orientations.

Inventive Principle:
Principle #6Universality (Multi-functionality)

4Manufacturing precision

If multisampling is used to address aliasing, then the rendering quality is improved, but the processing effort and hardware requirements increase

Engineering Contradiction:
Improverendering qualityVSAvoidhardware requirements
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent introduces diamond-shaped test areas as an intermediary structure in the rasterization process. These diamond areas serve as a mediator between the line geometry and pixel coverage determination, enabling aliasing reduction through geometric testing rather than requiring multiple samples per pixel. This intermediary approach maintains rendering quality while reducing hardware requirements compared to multisampling.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12518446B2Rasterising aliased lines
Publication Date: 2026.01.06 IMAGINATION TECH LTD
  • US12518446B2 patent drawing
  • US12518446B2 patent drawing
  • US12518446B2 patent drawing

AI summary

A method of rasterising a line in computer graphics determines whether the line's start and/or end is inside a diamond test area within the pixel. If the end is not inside and the start is inside, the pixel is drawn as part of the line. If neither the start nor the end of the line are inside, it is determined whether the line crosses more than one extended diamond edge and if so, it is further determined (i) whether an extended line passing through the start and end is substantially vertical and touches the right point of the diamond area, (ii) if the extended line touches the bottom point of the diamond area, and (iii) whether the extended line is on a same side of each point of the diamond area. If any of (i), (ii) and (iii) is positive, the pixel is drawn as part of the line.