Real-Time GPU Vector Graphics SDF Generation Based on Quadratic Stroke Rendering
Xuhai Chen, Guangze Zhang, Juan Cao, Zhonggui Chen
Abstract
Signed distance fields (SDFs) and their multi-channel variants (MSDFs) are widely recognized as an effective and practical solution for high-quality, real-time vector graphics rendering. However, generating these fields remains a significant CPU-bound bottleneck, limiting their use in dynamic, interactive applications. This paper introduces a novel, GPU-accelerated algorithm that reframes SDF generation as a parallel quadratic stroke rendering problem. By leveraging the GPU’s tessellation and fragment evaluation pipeline, we parallelize distance calculations for every pixel within a stroke’s influence region. We introduce a localized sign-resolution scheme and a shader-based pipeline that merges per-curve distances using efficient atomic operations. Our results demonstrate a substantial speedup over state-of-the-art CPU libraries like MSDFGen and Skia while maintaining comparable visual accuracy. This performance breakthrough enables real-time generation of distance fields for dynamic user interfaces and on-the-fly synthetic data creation.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
Related papers
- Neural Geometric Level of Detail: Real-Time Rendering With Implicit 3D ShapesTowaki Takikawa, Joey Litalien, Kangxue Yin, Karsten Kreis et al.CVPR 2021
- Neural Signed Distance Function Inference through Splatting 3D Gaussians Pulled on Zero-Level SetWenyuan Zhang, Yu-Shen Liu, Zhizhong HanNeurIPS 2024 · 58 citations
- VecFontSDF: Learning to Reconstruct and Synthesize High-Quality Vector Fonts via Signed Distance FunctionsZeqing Xia, Bojun Xiong, Zhouhui LianCVPR 2023
- GSDF: 3DGS Meets SDF for Improved Neural Rendering and ReconstructionMulin Yu, Tao Lu, Linning Xu, Lihan Jiang et al.NeurIPS 2024 · 78 citations
- Mixwell: Sharp 2D Fluid Brushes for Progressive Physics-Based MixingDoug L. James, Ethan JamesSIGGRAPH 2026
