GPUOpen-LibrariesAndSDKs / BlenderUSDHydraAddon

This add-on allows you to assemble and compose USD data with Blender data and render it all using various renderers via Hydra.
Apache License 2.0
362 stars 37 forks source link

BLEN-479: RPR delegate for MacOS #282

Closed bnagirniak closed 11 months ago

bnagirniak commented 11 months ago

PURPOSE

Make correct build of Hydra RPR delegate on MacOS.

TECHNICAL STEPS

  1. Fixed build of MaterialX.
  2. Fixed build of USD. This required to add -DCMAKE_SHARED_LINKER_FLAGS and set -DPYTHON_LIBRARY to tbb lib.
  3. Fixed build of HdRPR.
    • added preloading of some libs in lib/python/pxr/__init__.py
    • @rpath fixes
    • removed unused libs from install
  4. Fixed zip add-on creation.
  5. Added default to -bin-dir -bl-libs-dir.
  6. Some code improvements and fixes.