Credits and licences

Whose work this builds on, and under which licences.

@pmndrs/vdb's own code is MIT. The third-party code and data below keep their licences. The full list, with file paths, is THIRD_PARTY.md; the package ships the notices as THIRD_PARTY_NOTICES.md.

WorkLicenceUsed for
emcfarlane/webgpu-nanovdb pnanovdb.wgslApache-2.0The vendored traversal module (@pmndrs/vdb/pnanovdb.wgsl), extended in place with Fp decoders, the world/index map, trilinear sampling and stats readers. The generated modules derive from it. Its NOTICE ships in the package.
OpenVDB and NanoVDB PNanoVDB.hApache-2.0 (the header)The data model and the reference header the WGSL is audited against. The header is in the repository only; it does not ship in the package.
mjurczyk/openvdb (pinned 75e7345)MITThe .wvdb reader, writer and baker, the dense volume source, and the froxel renderer, ported to TypeScript, WGSL and TSL. Each ported file carries a header naming its upstream path.
mjurczyk's Mie table script, after Bohren and Huffman's BHMIEMITPorted as the Lorenz-Mie phase table generator.
JangaFX EmberGen and .wvdb test fixturesCC0 1.0Test data, not shipped in the package.
Wyman, Sloan and Shirley (2013)Published formulaThe analytic CIE 1931 colour matching fit behind blackbody emission colours. No data copied.
fflateMITzlib in the tools.

The OpenVDB sample files (smoke.vdb and others) are from openvdb.org under CC BY-SA 4.0 and are fetched for tests, not committed or shipped.

Thanks to mjurczyk for the froxel renderer and the .wvdb format, and to emcfarlane for the WGSL port of PNanoVDB that this package builds on.