NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

GPU curvature estimation on deformable meshes

Wesley Griffin, Yu Wang, D. Berrios, Marc Olano2011

TL;DR

This paper introduces a novel GPU algorithm for estimating surface curvature on deformable meshes in real-time. This bypasses the performance bottleneck of transferring mesh data to the CPU, enabling applications like real-time ambient occlusion and non-photorealistic rendering on dynamic geometry.

What Problem Does This Paper Address?

Estimating surface curvature is crucial for various computer graphics applications, including texture synthesis, shape representation, and artistic line drawing. Traditionally, these estimations have been performed on the CPU, requiring the mesh data to reside in main memory. However, with the increasing trend of keeping geometry on the GPU (e.g., for vertex-skinned animations or GPU-based surface reconstruction), transferring this data back to the CPU for curvature calculation becomes a significant performance bottleneck, especially for real-time applications. This paper addresses the need for an efficient, object-space curvature estimation method that operates entirely on the GPU, without requiring pre-computation or data transfer to the CPU.

Methods

The authors present a GPU algorithm that estimates curvature on arbitrary triangular meshes in real-time. Their approach is based on a CPU algorithm by Rusinkiewicz [2004] but is re-implemented to leverage the parallel processing power of the GPU. The algorithm proceeds in several iterative steps, each operating on either per-face or per-vertex data. Key steps include:

  • Normals & Areas: Recomputing vertex normals and face areas using a geometry shader.
  • Initial Coordinates: Generating an orthonormal basis at each vertex to standardize curvature tensor calculations.
  • Curvature Tensor: Estimating the curvature tensor for each face using least squares and then averaging these tensors across the vertex's one-ring neighborhood.
  • Principal Directions: Diagonalizing the curvature tensor to find the principal curvatures (eigenvalues) and principal directions (eigenvectors) using a vertex shader.
  • Curvature Differential: Estimating the derivative of principal curvatures by incorporating information from the two-ring neighborhood.

The implementation utilizes the graphics pipeline, with vertex shaders for per-vertex operations and geometry shaders for per-face operations. Crucially, the averaging/summing of data across the one-ring neighborhood is achieved through additive blending into a render target, acting as a synchronization mechanism between passes. For specific applications like GPU isosurface reconstruction, they also introduce a CUDA marching cubes algorithm with a hash map to fuse vertices, enabling efficient one-ring neighborhood access.

Datasets

The paper evaluates its algorithm on several datasets:

  • Volumetric Datasets:
    • Hydrogen atom
    • Orange volume (approx. 1.5 million vertices)
    • Bucky ball
  • Animated Models:
    • Horse
    • Elephant
    • Camel
    • Bunny
    • Heptoroid
  • Static Models:
    • Torus (used for error verification)

No new benchmarks were introduced; instead, the authors compare their GPU algorithm's performance against a multi-threaded CPU implementation.

Key Insights and Ideas

  • GPU-native Curvature for Dynamic Scenes: The core insight is that by keeping mesh data on the GPU and performing curvature estimation there, real-time performance becomes achievable for dynamic scenes (vertex-skinned animations, GPU-generated isosurfaces), which was previously a significant hurdle.
  • Leveraging Graphics Pipeline for Synchronization: Using additive blending in render targets as a synchronization primitive for averaging one-ring neighborhood data is an elegant solution that avoids explicit synchronization barriers and leverages hardware acceleration.
  • Unified Framework for Graphics Applications: The paper demonstrates how real-time curvature estimation can be integrated into various graphics pipelines, enabling applications like real-time ambient occlusion approximation and non-photorealistic line drawing.
  • CUDA for Isosurface Reconstruction: The introduction of a CUDA marching cubes algorithm with vertex fusion is a practical step towards integrating GPU-based surface reconstruction with GPU-based analysis like curvature estimation.

Key Results

  • Performance: The GPU algorithm achieves significant speedups over a multi-threaded CPU benchmark, with speedups up to ~18x reported. For example, on a large orange volume (1.5 million vertices), the curvature estimation runs in 39.3 ms on a Quadro FX5800. For animated models, frame rates can reach hundreds of frames per second on modern GPUs.
  • Accuracy: The algorithm demonstrates high accuracy, with maximum absolute errors in curvature attributes being very small (on the order of 10⁻⁶ to 10⁻⁵) when compared to a CPU ground truth on a torus model.
  • Applications: The paper successfully demonstrates the algorithm's utility in:
  • Ambient Occlusion Approximation: Providing a faster, real-time alternative to traditional methods.
  • Non-Photorealistic Rendering: Generating feature lines (silhouette and occluding contours) on dynamic meshes.
  • Isosurface Reconstruction: Enabling real-time analysis of GPU-generated isosurfaces.

Limitations and Future Work

  • Limitations:
    • The current implementation relies on the graphics pipeline for synchronization, which might not be optimal for all scenarios, particularly those requiring more complex data dependencies.
  • The extracted line segments lack a global parameterization, which can complicate stylized stroking.
  • Future Work:
    • Extending the algorithm to include other types of contours, such as apparent ridges.
  • Integrating the line drawing capabilities with existing methods for line visibility and stylization.
  • Developing methods for stylized stroking of the extracted line segments, potentially by addressing the lack of global parameterization.

Summary updated

BibTeX
@misc{griffin2011gpu,
  author = {Wesley Griffin and Yu Wang and D. Berrios and Marc Olano},
  title = {{GPU curvature estimation on deformable meshes}},
  year = {2011},
  doi = {10.1145/1944745.1944772},
}
Figure