github KhronosGroup/ANARI-SDK v0.17.0

49 minutes ago

ANARI-SDK v0.17.0 — Highlights

(note the v0.17.0-1 tag only contains CI fixes for PyPI package publishing)

🆕 New devices

  • halcyon — a new Embree/ISPC CPU reference device with two renderers:
    • preview: modelled on helide, shades in ISPC, and by default shades like OpenUSD Storm. It supports normal maps and has an experimental CORTAO ambient-occlusion estimator.
    • quality: a path tracer ported from Typhoon with MaterialX materials. It supports depth of field and progressive resolution.
    • Built and tested on Linux and Windows. Image sampler texels are kept in their native type.
  • hydra — renders through OpenUSD Hydra render delegates (Storm, HdEmbree, ...), one device subtype per delegate. It is the reverse of hdAnari and builds against OpenUSD 26.08. See its README for known limitations.
  • ptc — an MPI data-parallel compositing device (KHR_DATA_PARALLEL_MPI). Each rank renders its own data with a wrapped device (helide by default). Frames are depth-composited onto rank 0.
  • capture — a device that renders nothing and writes a canonical text snapshot of the committed object graph for each frame, so applications can test exactly what they hand to ANARI. It ships with a capture diff library and tool (anariCaptureDiff). It now also counts the API calls made before each capture.

🐍 Python wheels

  • The anari Python bindings are now packaged as wheels, validated on install, and published to PyPI on release tags. musllinux wheels are included.
  • Device wheels are new: helide is a single wheel for all Python versions, and helide_gpu is a version-agnostic wheel.
  • The anari package has extras for pulling in devices: anari[helide], anari[helide_gpu] and anari[all].
  • The frontend can load device libraries from Python package directories.
  • Fixed a device library being unloaded while its objects were still alive.
  • Device wheel metadata is fixed so PyPI accepts it.
  • Post-releases are now tagged v<version>-N.
  • Wheels now build with the Ninja generator by default.

🖥️ helide_gpu

  • Shades surfaces like OpenUSD Storm, with ambient occlusion and CORTAO ported from halcyon's preview renderer.
  • New features:
    • Quad lights, including primary visibility.
    • HDRI lights.
    • faceVarying triangle attributes.
    • physicallyBased normal maps.
    • Samplers on metallic, roughness, opacity and emissive.
    • Fast structuredRegular field updates.
    • Camera clip planes that fit the scene.
  • SDL3 is now loaded at runtime (trampolines on all platforms, PySDL3 lookup, delayed loading on macOS), which makes wheel packaging possible.
  • Fixed Metal resource bindings and made Metal the preferred driver on macOS. Added GPU detection to the smoke tests.
  • Status-message capture is now supported.

🔧 helium / helide fixes

  • Committed parameter reads are now scoped to the reader thread.
  • Completion callbacks can call back into their own frame and commit it.
  • Updates that arrive while the commit buffer is flushing are no longer lost.
  • Uses the exact sRGB transfer curve and keeps sRGB alpha linear.
  • Fixed RGBA8 colour packing on big-endian hosts.
  • Fixed std::mutex being constexpr-constructed with MSVC.
  • A batch of helide fixes was merged, and the devices now advertise the extensions they actually implement.
  • Behavior change: the default camera direction in helide and halcyon is now (0, 0, -1), as the spec says. Apps that relied on the old default should set direction explicitly.

🏗️ Build & CI

  • helide and halcyon share one anari_embree setup. They use an installed Embree 4.3+ with TBB when found and otherwise build Embree from source. Debug builds with TBB are fixed.
  • CI builds against Embree's release packages (updated to 4.4.1), builds in parallel and skips AVX512.
  • Fixed CMake issues:
    • .. components in install destinations.
    • JSON_EXTENSION_FILES and EXTRA_OPTIONS parsing as multi-value keywords.
    • The data directory is now found from anariConfig's install prefix.
    • Threads::Threads compile options no longer leak to anari_backend consumers.
  • The frontend locates its own library with dladdr and finds a Windows device's DLL dependencies next to it.
  • Release assets now include a source package with pre-fetched dependencies.
  • Unanchored library load errors are now shown by loadANARILibrary.
  • Fixed the viewer crashing when the library was unloaded before windows were destroyed.

🔌 hdAnari (Hydra plugin)

  • Rendering:
    • Meshes subdivide per USD complexity (OpenSubdiv).
    • Implicit surfaces render with crease-aware normals.
    • Faces left uncovered by geomsubsets now render.
    • displayColor is honored on material-less geometry.
    • HDRI domes are oriented per USD upAxis.
    • Fixed half-float (EXR) textures rendering black.
    • Fixed texture-coordinate v flipping to match the ANARI sampler convention.
    • Bound non-st texture-coordinate primvars.
  • Lights, camera and settings:
    • Authored light intensity, exposure and colour are now emitted.
    • Exposure and tonemap controls, plus camera exposure.
    • Render settings are read from UsdRenderSettings.
    • Renderer settings are derived from ANARI introspection.
  • MDL:
    • Hardened registry lifecycle and init.
    • Better load-failure reporting and recovery.
    • Identical MDL materials are shared.
  • Reports sample progress and frame convergence (usdrecord now terminates).
  • Builds against OpenUSD 25.05 and finds OpenGL as a USD dependency on macOS.
  • Applies UsdUVTexture scale/bias to sampler output transforms.

📚 Docs & housekeeping

  • Added CONTRIBUTING.md, with the AI-contributions notice and CLA pre-disclosure.
  • The README now refers to Vela instead of TSD.
  • Fixed several unit-test races in the helide FrameRelease and WaitQuery tests.

What's Changed

  • fix(viewer): unload ANARI library after destroying windows by @LDeakin in #366
  • hdanari: improve MDL material support and harden the hdAnari Hydra delegate by @tarcila in #367
  • hdanari: fix build against OpenUSD 25.05 by @tarcila in #369
  • Find OpenGL as a USD dependency on macOS by @szellmann in #371
  • Add CONTRIBUTING.md with CLA and AI text by @KhronosWebservices in #372
  • helium: fix RGBA8 color packing on big-endian hosts by @pkubaj in #373
  • fix(helium): keep updates that arrive while the commit buffer flushes by @jeffamstutz in #374
  • Helium frame callback reentry by @jeffamstutz in #375
  • fix(devices): advertise extensions that helide and helide_gpu implement by @tarcila in #378
  • fix(hdanari): apply UsdUVTexture scale/bias to sampler output transforms by @jeffamstutz in #379
  • libhelium/helide/helide_gpu fixes by @jeffamstutz in #380
  • fix(code_gen): report sourceExtension per parameter type by @jeffamstutz in #381
  • Add the hydra device: ANARI on OpenUSD Hydra render delegates by @jeffamstutz in #382
  • fix(hydra): build against OpenUSD 26.08 by @jeffamstutz in #383
  • cmake: fix parse JSON_EXTENSION_FILES and EXTRA_OPTIONS as multi-value keywords by @tarcila in #384
  • Add new 'halcyon' reference device by @jeffamstutz in #385
  • halcyon: flatten scene/ into helide's directory layout by @jeffamstutz in #387
  • halcyon: keep image sampler texels in their native type, read them in place by @jeffamstutz in #386
  • halcyon: progressive resolution for the quality renderer by @jeffamstutz in #388
  • Add a capture device and capture diff tool by @jeffamstutz in #389
  • ci: build in parallel, skip Embree AVX512, update Embree to 4.4.1 by @jeffamstutz in #390
  • halcyon: depth of field for the quality renderer by @jeffamstutz in #391
  • fix(halcyon): build with MSVC on Windows by @jeffamstutz in #393
  • loadANARILibrary: show unanchored library load error message by @Lgt2x in #377
  • Add the ptc MPI data-parallel compositing device by @jeffamstutz in #396
  • capture: count the API calls made before each capture by @jeffamstutz in #397
  • cmake: avoid using .. components in install destinations by @mathstuf in #395
  • helide_gpu: load SDL3 at runtime (Linux only) by @mathstuf in #398
  • helide_gpu: add Python wheel packaging by @mathstuf in #399
  • Helide gpu delay load sdl macos windows by @mathstuf in #401
  • helide_gpu: also support glslang as the binary name by @mathstuf in #402
  • helide_gpu: ambient occlusion and Storm-style shading by @jeffamstutz in #404
  • halcyon: match helide_gpu shading in the preview renderer by @jeffamstutz in #405
  • CORTAO ambient occlusion and a diffuse-only headlight in halcyon and helide_gpu by @jeffamstutz in #406
  • helide_gpu: fit the camera clip planes to the scene by @jeffamstutz in #412
  • fix(cmake): find the data directory from anariConfig's install prefix by @johnwparent in #407
  • fix(python): keep a device library loaded while its objects are alive by @johnwparent in #409
  • capture diff: clarify and extend unordered object arrays by @jeffamstutz in #413
  • CTS camera direction by @sankhesh in #414
  • build(python): package the anari Python bindings as wheels by @johnwparent in #408
  • test(python): validate an installed anari wheel by @johnwparent in #410
  • ci(python): publish the anari wheels to PyPI on release tags by @johnwparent in #411
  • fix(frontend): find a Windows device's DLL dependencies next to it by @johnwparent in #416
  • fix(frontend): locate the frontend library with dladdr on itself by @johnwparent in #417
  • fix(helium): don't construct std::mutex as constexpr with MSVC by @johnwparent in #419
  • fix(examples): flush helium's commit buffer when the template renders by @johnwparent in #420
  • build(python): build musllinux python wheels by @johnwparent in #418
  • ci(python): publish anari from the 'publish anari wheels' environment by @johnwparent in #421
  • ci(python): let TestPyPI rehearsals repeat a version by @johnwparent in #422
  • helide, halcyon: use an installed Embree with TBB when found; use Embree releases in CI by @jeffamstutz in #423
  • Gha device wheels by @mathstuf in #415
  • helide: build a single wheel for all Python versions by @mathstuf in #424
  • Publish device wheels by @mathstuf in #425
  • capture: accept parameters declared on the "default" subtype by @jeffamstutz in #427
  • Gha helide gpu wheels by @mathstuf in #426
  • tests: fix a race in the helide FrameRelease unit test by @jeffamstutz in #430
  • wheel: add an all extra to install all supported devices by @mathstuf in #429
  • cmake: keep Threads::Threads compile options out of anari_backend consumers by @jeffamstutz in #431
  • ci: build the release source package with pre-fetched dependencies by @jeffamstutz in #432

New Contributors

Full Changelog: v0.16.0...v0.17.0

Don't miss a new ANARI-SDK release

NewReleases is sending notifications on new releases.