A hardware-accelerated implementation of cubic bezier curves, using tessellation shaders.
based on Blinn-Loop's method. The method is described in their 2005 SIGGRAPH paper:
Written in C++17
and OpenGL 4.1
. To compile the project, make sure you have a working Internet connection, and have cmake
installed:
$ git clone https://codeberg.org/alifara/bezier_curve.git gh_alifarazz_bezier_curve
$ cd gh_alifarazz_bezier_curve
$ cmake -DCMAKE_BUILD_TYPE=Release -B build/ -S .
$ cmake --build build -t bezier -j
$ ./build/bezier src/shader/