GPU Ray-Casting for 2D Vector Art Rendering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional methods for rendering 2D Bézier bounded content on graphics hardware are inefficient, particularly for animated content, due to the need for expensive CPU-side triangulation and significant preprocessing, which can be time-consuming and costly on low-end GPU devices.

Innovation Solution

A method for ray-casting 2D animated vector art that maintains curves in their analytic form and uses a point-in-polygon algorithm to determine inside-outside tests on the GPU, reducing CPU overhead and leveraging graphics hardware for efficient rendering of quadratic Bézier content without triangulation, while bounding the number of curves needed for inside-outside tests to avoid looping and branching.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If CPU-side triangulation and preprocessing are used to render Bézier bounded content on graphics hardware, then rendering compatibility with conventional GPU pipelines is achieved, but CPU processing load and preprocessing time increase significantly

Engineering Contradiction:
Improverendering compatibilityVSAvoidCPU processing load
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent replaces the conventional CPU-based triangulation and preprocessing pipeline with a GPU-based implicit curve rendering approach. Instead of using CPU to perform planar mapping and triangulation of Bézier curves, the invention uses GPU's programmable shader architecture to directly evaluate implicit curve equations, substituting the mechanical preprocessing steps with parallelized GPU computation that eliminates triangulation entirely

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

Solution Approach 2:

The patent changes the fundamental rendering parameters from piece-wise linear triangle meshes to continuous implicit curve representations. By representing Bézier curves in implicit form and using ray-casting algorithms in the pixel shader, the system transforms the rendering approach from discrete triangle-based geometry to continuous mathematical curve evaluation, thereby eliminating the need for CPU-side triangulation while achieving high-quality vector art rendering

Inventive Principle:
Principle #35Parameter changes

2Manufacturing precision

If Delaunay triangulation and subdivision preprocessing is performed to enable resolution independent rendering, then rendering quality is improved, but preprocessing time becomes prohibitive for animated content

Engineering Contradiction:
Improverendering qualityVSAvoidpreprocessing time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent extracts and eliminates the time-consuming Delaunay triangulation and subdivision preprocessing steps from the rendering pipeline. By using implicit curve representations with ray-casting in the pixel shader, the invention removes the need for complex spatial decomposition and triangulation preprocessing, achieving resolution-independent rendering directly from the implicit curve equations without intermediate geometric processing

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent enables continuous rendering of animated vector content by maintaining curves in their analytic implicit form throughout the rendering pipeline. Instead of breaking curves into discrete triangular segments that require re-triangulation for animation frames, the implicit representation allows continuous evaluation at any resolution and animation state, eliminating the need for repeated preprocessing of animated sequences

Inventive Principle:
Principle #20Continuity of useful action

3Manufacturing precision

If stencil buffer logic is used for inside-outside testing of complex shapes, then rendering accuracy is improved, but overdraw increases significantly on low-end GPU devices

Engineering Contradiction:
Improveinside-outside test accuracyVSAvoidGPU bandwidth consumption
Core Design Contradiction:
Manufacturing precisionVSLoss of energy

Solution Approach 1:

The patent uses a simplified ray-casting approach that copies the implicit curve evaluation logic directly into the pixel shader, avoiding the need for complex stencil buffer operations. Instead of using multiple buffer passes and stencil logic to determine inside-outside status, the invention evaluates the implicit curve equation directly at each pixel, copying the mathematical evaluation into the shader to achieve both accuracy and efficiency on low-end devices

Inventive Principle:
Principle #26Copying

Data Source

PatentUS8379025B1Methods and apparatus for rendering vector art on graphics hardware
Publication Date: 2013.02.19 ADOBE INC
  • US8379025B1 patent drawing
  • US8379025B1 patent drawing
  • US8379025B1 patent drawing

AI summary

Methods and apparatus for ray-casting 2D animated vector art on graphics hardware. Embodiments maintain curves in their analytic form when transmitted to the GPU. On the CPU, the curves in the vector art may be subdivided into a plurality of monotonic curve segments. A plurality of intervals may be generated from the curve segments. Further subdivision may be applied on the CPU to any interval that includes more than n curves, where n is the maximum number of curves that can be processed in parallel in the pixel shader. On the GPU, the pixels are evaluated to determine whether each pixel is inside or outside of the curve network. The technique used in the GPU may be based on a point-in-polygon algorithm that casts rays from points under test and counts the number of curve crossings before the rays exit the shape using a modified implicit formula.