HeadlinesBriefing favicon HeadlinesBriefing.com

GPU Bézier Curve Evaluation via Texture Lookup

Hacker News •
×

A new paper from the Journal of Computer Graphics Techniques (JCGT) introduces a texture-based method for evaluating Bézier curves on the GPU. This approach utilizes the GPU's fixed-function linear texture interpolation hardware, offloading curve evaluation for potential performance gains in compute-intensive tasks.

The technique, developed by Muhammad Anas and Alan Wolfe, is versatile and can be extended to Bézier surfaces and volumes. It also supports more complex curve types like B-splines, NURBS, and various polynomial forms. The paper details how Seiler interpolation can be integrated for enhanced efficiency.

Performance and accuracy were benchmarked against traditional polynomial evaluation in shader code. The full text, a PDF of 2.9 MiB, is available for download along with source code for three demonstration applications: Color Grading, Particle Sim, and View Curves. The paper is published in JCGT, vol. 15, no. 2, with a citation provided for further reference.