Random-access rendering of general vector graphics
Authors:
Open Access
- 1 December 2008
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Graphics
- Vol. 27 (5) , 1-10
Abstract
We introduce a novel representation for random-access rendering of antialiased vector graphics on the GPU, along with efficient encoding and rendering algorithms. The representation supports a broad class of vector primitives, including multiple layers of semitransparent filled and stroked shapes, with quadratic outlines and color gradients. Our approach is to create a coarse lattice in which each cell contains a variable-length encoding of the graphics primitives it overlaps. These cell-specialized encodings are interpreted at runtime within a pixel shader. Advantages include localized memory access and the ability to map vector graphics onto arbitrary surfaces, or under arbitrary deformations. Most importantly, we perform both prefiltering and supersampling within a single pixel shader invocation, achieving inter-primitive antialiasing at no added memory bandwidth cost. We present an efficient encoding algorithm, and demonstrate high-quality real-time rendering of complex, real-world examples.Keywords
This publication has 18 references indexed in Scilit:
- Real-time rendering of textures with feature curvesACM Transactions on Graphics, 2008
- Perfect spatial hashingACM Transactions on Graphics, 2006
- A Weighted Error Metric and Optimization Method for Antialiasing PatternsComputer Graphics Forum, 2006
- Resolution independent curve rendering using programmable graphics hardwareACM Transactions on Graphics, 2005
- Shadow silhouette mapsACM Transactions on Graphics, 2003
- A ghost in a snowstorm [computer graphics]IEEE Computer Graphics and Applications, 1998
- Reconstruction filters in computer-graphicsACM SIGGRAPH Computer Graphics, 1988
- Vector elimination: A technique for the implicitization, inversion, and intersection of planar parametric rational polynomial curvesComputer Aided Geometric Design, 1984
- The A -buffer, an antialiased hidden surface methodACM SIGGRAPH Computer Graphics, 1984
- Reentrant polygon clippingCommunications of the ACM, 1974