Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.21 KB

File metadata and controls

32 lines (20 loc) · 1.21 KB

OpenRV-annotation

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.

Requirements

  • 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.

Build

cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel

Tests

cd build
ctest -C Release --output-on-failure

Contributing

See CONTRIBUTING.md. All contributions require a Developer Certificate of Origin (DCO) Signed-off-by: line in commit messages.

License

Apache-2.0. See LICENSE for details.