GPU Circle Rendering via Square Primitive and Lookup Table

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for rendering circles in graphics API requests are inefficient, leading to excessive software branching and overhead, as they often require polygon approximation or texture mapping, which results in wasted work and consumption of additional resources.

Innovation Solution

A method that uses a GPU to render circles by defining a square with a circle inside, determining pixel coverage using a lookup table, and blending pixels to achieve smooth anti-aliased edges, thereby reducing software interpretation and resource usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If polygon approximation is used to render circles, then the circle can be drawn using basic geometric primitives, but the number of geometric primitives increases considerably adding geometric complexity and processing overhead

Engineering Contradiction:
Improveease of circle renderingVSAvoidgeometric primitive complexity
Core Design Contradiction:
Ease of manufactureVSDevice complexity

Solution Approach 1:

The patent extracts the circle rendering function from the general polygon rendering path by implementing a dedicated circle rendering unit within the GPU. This specialized unit handles circle-specific operations (calculating coverage values, determining pixel inclusion) separately from the main polygon rasterization pipeline, thereby avoiding the need to use complex polygon approximations while maintaining hardware efficiency.

Inventive Principle:
Principle #2Taking out (Extraction)

2Ease of manufacture

If texture mapping is used to render circles, then the circle image can be displayed, but pixels outside the circle must still be rasterized and shaded causing wasted work and additional texture memory consumption

Engineering Contradiction:
Improveease of circle renderingVSAvoidrendering efficiency
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The patent extracts the circle rendering logic from the general texture mapping process by implementing a dedicated coverage value calculation mechanism. Instead of using texture mapping which requires rasterizing all pixels within the bounding box, the invention calculates coverage values only for pixels that intersect with the circle boundary, thereby eliminating wasted rendering work and avoiding texture memory consumption.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The circle rendering unit performs self-contained operations to determine pixel inclusion and coverage values without requiring the broader texture mapping infrastructure. The system serves its own rendering needs through dedicated hardware components that handle circle-specific computations independently, avoiding the overhead of general-purpose texture processing.

Inventive Principle:
Principle #25Self-service

3Ease of manufacture

If conventional circle rendering methods are used, then circles can be rendered, but excessive software branching and interpretation occur causing software overhead and pipeline bottlenecks

Engineering Contradiction:
Improveease of circle renderingVSAvoidsoftware execution time
Core Design Contradiction:
Ease of manufactureVSLoss of time

Solution Approach 1:

The patent replaces software-based circle rendering logic with dedicated hardware circuitry implemented in the GPU. The circle rendering unit uses hardware components (such as comparison units, coverage value calculation circuits) to perform circle rendering operations in parallel with other graphics processing tasks, eliminating the need for software interpretation and branching while maintaining rendering accuracy.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS9105113B1Method and system for efficiently rendering circles
Publication Date: 2015.08.11 NVIDIA CORP
  • US9105113B1 patent drawing
  • US9105113B1 patent drawing
  • US9105113B1 patent drawing

AI summary

A graphics processor method and system for rendering a circle. The method includes the step of accessing an instruction to render a circle. A square is defined using at least one graphics primitive, and a circle is defined within the square, wherein a center of the circle corresponds to a center of the square and wherein a radius of the circle is defined by a width of the square. The circle is rasterized into at least one pixel and a coverage value is determined for each pixel of the circle by comparing a distance from the pixel to the center of the circle with the radius of the circle. Each pixel is then shaded in accordance with the coverage value.