OpenRV-annotation is a C++ annotation geometry library. It produces triangle-ribbon path geometry (TwkPaint::Path), physics-based input smoothing (TwkPaint::Smoother), and stamp-based brush placement (TwkPaint::StampPath) for use as inputs to a renderer of your choice. Also includes shared GLSL shaders and brush tip assets. Used natively by OpenRV and compiled to WebAssembly for Creative Review via OpenRV-annotation-wasm.
- C++17 compiler (Clang, GCC, or MSVC)
- CMake 3.19+
TwkMath is included in this repository. Imath is fetched via CMake FetchContent at configure time. There are no other dependencies.
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallelcd build
ctest -C Release --output-on-failureSee CONTRIBUTING.md. All contributions require a Developer Certificate of Origin (DCO) Signed-off-by: line in commit messages.
Apache-2.0. See LICENSE for details.