RARE is a C++ library for realtime rendering of equations. It takes an OASIS expression tree as input and provides the necessary vertex buffers and shaders to render it.
RARE uses C++23, therefore a recent compiler is required. RARE is known to work with Clang 21 or newer. Additionally the following are required:
*can be downloaded at configure time automatically by CMake
When executables are built inside this project, RARE attaches a post-build step that copies runtime DLLs for linked shared dependencies next to the executable.
For downstream projects that include RARE via add_subdirectory(...), call this helper after defining and linking your executable:
target_link_libraries(MyApp PRIVATE RARE)
target_copy_vendored_deps(MyApp)This helper is a no-op on non-Windows platforms.
- Realtime rendering of mathematical expressions
- Support for a wide range of mathematical functions and operators
- Customizable shaders for advanced rendering techniques (e.g. signed distance field rendering)
- Integration with OASIS for seamless expression tree handling
See the OASIS Contributing Guidelines
See the OASIS Code Of Conduct