Skip to content

AcademySoftwareFoundation/OpenRV-annotation

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors