IBRT is the Interactive BRL-CAD Ray Tracer. This repository now holds our application and our OSPRay plugins, not a vendored OSPRay source tree.
apps/IBRTThe Qt desktop viewer, render worker, and test suite.plugins/brl_cadThe BRL-CAD OSPRay plugin built asospray_module_brl_cad.docsProject-specific build notes, layout notes, and performance plans.
OSPRay, Qt, Embree, rkcommon, ISPCRT, TBB, and related runtime dependencies come from an external bext install tree supplied at CMake configure time with BEXT_INSTALL_DIR.
This repo does not vendor or build OSPRay itself anymore.
You need:
- a
bextinstall tree, typically something like<bext>/.build/install - a BRL-CAD install prefix
- CMake 3.20+
- a working C++ toolchain
Example:
cmake -S . -B build/local \
-DBEXT_INSTALL_DIR=/path/to/bext/.build/install \
-DBRLCAD_PREFIX=/path/to/brlcad/install
cmake --build build/local
ctest --test-dir build/local --output-on-failureIf Qt is not part of the supplied bext install, extend CMAKE_PREFIX_PATH when configuring.
More detail lives in docs/building.md.
IBRTandIBRTRenderWorkeruse OSPRay from the suppliedbextinstall.- The BRL-CAD plugin is built in this repo and deployed into the local runtime output for the app, worker, and tests.
- Demo BRL-CAD databases are loaded from
BRLCAD_PREFIX/share/dband copied into local viewer runtimes when available.