{"_id":"@adobe/spz","_rev":"14-6be845cb0047205a77f41cc25d9a01f9","name":"@adobe/spz","dist-tags":{"latest":"0.3.2"},"versions":{"0.1.8":{"name":"@adobe/spz","version":"0.1.8","keywords":["wasm","emscripten","gaussian-splatting","3d"],"author":{"name":"Niantic Labs & Adobe"},"license":"ISC","_id":"@adobe/spz@0.1.8","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/nianticlabs/spz","dist":{"shasum":"81f40c162122aa4f1a10c74d36ce82c7b31cc8cd","tarball":"https://registry.npmjs.org/@adobe/spz/-/spz-0.1.8.tgz","fileCount":5,"integrity":"sha512-MXl3Mo/2x3fhD9XVtg4rnzhN7XjiEXDZeY18wFHdITsdnoCNxwYTYGhFr7vDYNtTnIKJn8NYUPgoYUBybObmqg==","signatures":[{"sig":"MEQCIGKV4mw+3jAcQWMtyJipvwaPOVF3tNkEDqgtN2Lmv4eaAiA/ebp7Q1Ad2XcCxBP21NmSDV9Sr4K/0a/he4iZz1ZjmQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":366765},"main":"dist/spz.js","types":"dist/spz.d.ts","exports":{".":{"types":"./dist/spz.d.ts","default":"./dist/spz.js"}},"gitHead":"ea5284e7f840d3e58918d9717740a6ec5dc72142","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prebuild":"rm -rf ./dist","publishPackage":"npm publish --access public"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"_npmVersion":"10.8.2","description":"WebAssembly module for loading Gaussian splat (SPZ) files","directories":{},"_nodeVersion":"20.20.1","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/spz_0.1.8_1774494326299_0.6299294450012103","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@adobe/spz","version":"0.1.9","keywords":["wasm","emscripten","gaussian-splatting","3d"],"author":{"name":"Niantic Labs & Adobe"},"license":"ISC","_id":"@adobe/spz@0.1.9","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/nianticlabs/spz","dist":{"shasum":"d135b10191dfaa510798baa357a28a4279659342","tarball":"https://registry.npmjs.org/@adobe/spz/-/spz-0.1.9.tgz","fileCount":5,"integrity":"sha512-23MIO9Dat0+nIBXZqvBb8aKjXZ+Ps8CBm0NP5Q+CWDVkPEYZeiXp3ImFtufMEFOXU8e9oevp6BG8rEk/jyFmpg==","signatures":[{"sig":"MEUCIEOu2myGSbdk3OMDWIK5Bi0WURW7bFImtaldHPUOkC3gAiEA3/gTdpkV0ZawRONmWS59d0Jt/S6m+w4PVbQTLe+e9I4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":367450},"main":"dist/spz.js","types":"dist/spz.d.ts","exports":{".":{"types":"./dist/spz.d.ts","default":"./dist/spz.js"}},"gitHead":"554cd9e00aaf2cd33b0bc93fb6c730eab2b9d473","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prebuild":"rm -rf ./dist","publishPackage":"npm publish --access public"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"_npmVersion":"10.8.2","description":"WebAssembly module for loading Gaussian splat (SPZ) files","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/spz_0.1.9_1775760715121_0.527167084320616","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@adobe/spz","version":"0.2.0","keywords":["wasm","emscripten","gaussian-splatting","3d"],"author":{"name":"Niantic Labs & Adobe"},"license":"ISC","_id":"@adobe/spz@0.2.0","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/nianticlabs/spz","dist":{"shasum":"a4971ef107dfc248f0e294f249df54774f914460","tarball":"https://registry.npmjs.org/@adobe/spz/-/spz-0.2.0.tgz","fileCount":5,"integrity":"sha512-k+iWAzSm9F2MK/tRJXHnicpC79IB26L7oJkweFaVbrrbmMpI+haet1CRXhPPFHHNXzG3NLuTQH/fHQjpvZRBZg==","signatures":[{"sig":"MEYCIQCE3uqA+V1uGe+Z5J4xLow3USKKjfNeS8HVHLxQqjTXWAIhAPxC5j3xLTEfC1B+ZsLPY3qQGnsMZQ+gU3ZzYRS2hIA2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":313674},"main":"dist/spz.js","types":"dist/spz.d.ts","exports":{".":{"types":"./dist/spz.d.ts","default":"./dist/spz.js"}},"gitHead":"07c62b668e34edca501ea08601aa87c3a290d45a","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prebuild":"rm -rf ./dist","publishPackage":"npm publish --access public"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"_npmVersion":"10.8.2","description":"WebAssembly module for loading Gaussian splat (SPZ) files","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/spz_0.2.0_1775768008583_0.555716164111423","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@adobe/spz","version":"0.2.1","keywords":["wasm","emscripten","gaussian-splatting","3d"],"author":{"name":"Niantic Labs & Adobe"},"license":"ISC","_id":"@adobe/spz@0.2.1","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/nianticlabs/spz","dist":{"shasum":"a089b5c86691ca03c59ac688b9bda93de4b37482","tarball":"https://registry.npmjs.org/@adobe/spz/-/spz-0.2.1.tgz","fileCount":5,"integrity":"sha512-w6A71jYWrt4glTGvmpchwG42Rom3BAhgU3Wq+e0FXcSBJZnSvK5zhRaMFlTRm1Z8R3JwWsxPHgu8DIIF9sjQxw==","signatures":[{"sig":"MEUCIBi1BQQ2tB7RHguKZWp+AuF38hhI7awre0ng5qTO/fFiAiEA/yMyuuzXAhMwilqO1nNHGz/UOLl9S2SfVOhED07tWOE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":853315},"main":"dist/spz.js","types":"dist/spz.d.ts","exports":{".":{"types":"./dist/spz.d.ts","default":"./dist/spz.js"}},"gitHead":"aba5dcd507e4cb7463deab61982e9072fe956c71","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prebuild":"rm -rf ./dist","publishPackage":"npm publish --access public"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"_npmVersion":"10.8.2","description":"WebAssembly module for loading Gaussian splat (SPZ) files","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/spz_0.2.1_1778090218604_0.12786414902776633","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@adobe/spz","version":"0.2.2","keywords":["wasm","emscripten","gaussian-splatting","3d"],"author":{"name":"Niantic Labs & Adobe"},"license":"ISC","_id":"@adobe/spz@0.2.2","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/nianticlabs/spz","dist":{"shasum":"f2c3547a62e63daa1e5a52a36204300fceeed012","tarball":"https://registry.npmjs.org/@adobe/spz/-/spz-0.2.2.tgz","fileCount":5,"integrity":"sha512-KUCw5R52rCBnfyvOOIa9nUQGfR6TEcHjYzuWDYRGb1fpkpnkci6VXFqCx/xFJ1yEN7V5gc9YxU2zIY6sEjIbhw==","signatures":[{"sig":"MEUCIHhccLMIZgRs3yTAy5RylcyhxO9lxeQyMj8RR1kwukFlAiEA/C9YWmLb9vablUuIDubYthjXolhRXshEo4XLVlyxaUM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":868263},"main":"dist/spz.js","types":"dist/spz.d.ts","exports":{".":{"types":"./dist/spz.d.ts","default":"./dist/spz.js"}},"gitHead":"6694741c33d96d2883849bd3470d17f04849cdda","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prebuild":"rm -rf ./dist","publishPackage":"npm publish --access public"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"_npmVersion":"10.8.2","description":"WebAssembly module for loading Gaussian splat (SPZ) files","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/spz_0.2.2_1778703889624_0.860441325891792","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@adobe/spz","version":"0.2.3","keywords":["wasm","emscripten","gaussian-splatting","3d"],"author":{"name":"Niantic Labs & Adobe"},"license":"ISC","_id":"@adobe/spz@0.2.3","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"namarora","email":"namarora@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/nianticlabs/spz","dist":{"shasum":"3990b72bd0e56fc6ad7bc90383f826b873ef111e","tarball":"https://registry.npmjs.org/@adobe/spz/-/spz-0.2.3.tgz","fileCount":7,"integrity":"sha512-iMiIB+FUxQ2vaNxP012fdIVd4yugyq0PUXBaknGfYDE3xpTNU5PrhbLtnDTGFE9anKOwjneOuanSKqaaNpC68Q==","signatures":[{"sig":"MEQCICJ75vo4CKDHcS6gqpY/3XLGEcBjcHpxKedfyZ72mM46AiBQcmEZOQ7ccGgtde039QHDEfc7jqI4fDq8hanFCkyRug==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":886011},"main":"dist/spz.js","types":"dist/spz.d.ts","exports":{".":{"types":"./dist/spz.d.ts","default":"./dist/spz.js"}},"gitHead":"e3da739c6b8abe2424138f72217264cd505349a2","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prebuild":"rm -rf ./dist","publishPackage":"npm publish --access public"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"_npmVersion":"10.8.2","description":"WebAssembly module for loading Gaussian splat (SPZ) files","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/spz_0.2.3_1788303577778_0.06679814064965028","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@adobe/spz","version":"0.3.0","keywords":["wasm","emscripten","gaussian-splatting","3d"],"author":{"name":"Niantic Labs & Adobe"},"license":"ISC","_id":"@adobe/spz@0.3.0","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"namarora","email":"namarora@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"aljoseph","email":"aljoseph@adobe.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/nianticlabs/spz","dist":{"shasum":"48877b42bf1b09ce4fc5bca81b1c6fe58afe255d","tarball":"https://registry.npmjs.org/@adobe/spz/-/spz-0.3.0.tgz","fileCount":7,"integrity":"sha512-WvqjH85ikqTjpkRSgSHNch8S9eSQbK9w5VFCS7LYO349rdN06NDUDDLNqPxHdaMAGgmzFImLv4TygWARmBrzlg==","signatures":[{"sig":"MEQCIFIKgJoOkYUSF24NcRiD4+PBmEz4N2tT6+hs3m6dzeTRAiAwNIScbnbkrtOMC+lWbYpcYHvNn8FVfi188ceexGm86Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICUYxVkXraKzTeTA+R/94blzRmtT4dPSuKgf7nq+GBUTAiB+n56CVTwVYoV5Sw+FyJ76m3cDTYWYHx6vw7EQCvGqyA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":976244},"main":"dist/spz.js","types":"dist/spz.d.ts","exports":{".":{"types":"./dist/spz.d.ts","default":"./dist/spz.js"}},"gitHead":"a64df1d3bddb649da5c355832e8a80dfd7f8bb4c","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prebuild":"rm -rf ./dist","publishPackage":"npm publish --access public"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"_npmVersion":"10.8.2","description":"WebAssembly module for loading Gaussian splat (SPZ) files","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/spz_0.3.0_1794262608807_0.004720357717544088","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@adobe/spz","version":"0.3.1","keywords":["wasm","emscripten","gaussian-splatting","3d"],"author":{"name":"Niantic Labs & Adobe"},"license":"ISC","_id":"@adobe/spz@0.3.1","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"namarora","email":"namarora@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"aljoseph","email":"aljoseph@adobe.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/nianticlabs/spz","dist":{"shasum":"ab971f4729c8174f84dc77c01ee722c0825c4965","tarball":"https://registry.npmjs.org/@adobe/spz/-/spz-0.3.1.tgz","fileCount":7,"integrity":"sha512-3HVGFYny7rGrpPFvAApDLM9U0owm0wO1+ipcEC52JIy+Vj0p/Mmuuq95utVmdZ7FLAfWb4mvme+H0JBvpc3HFw==","signatures":[{"sig":"MEUCIQDc6SMaQhO8tGwbk8N+HvwnXLenelsJXC8sSOw8BSph9AIgO6bxRp7PR8cMgAun3cK3SKgw8ohYJSCxQovJffZYIV0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICJD/Z45cZ6Z+/LLtEK8I9gwwDfcRNUbLuQTHlp0DRGmAiAE053kZh2jvWbNDV1O1osFMe1gwZMqIEhBXyngVdykAQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":979686},"main":"dist/spz.js","types":"dist/spz.d.ts","exports":{".":{"types":"./dist/spz.d.ts","default":"./dist/spz.js"}},"gitHead":"04aa3bd0735dc5299a5f91be05eb02c8a5276584","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prebuild":"rm -rf ./dist","publishPackage":"npm publish --access public"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"_npmVersion":"10.8.2","description":"WebAssembly module for loading Gaussian splat (SPZ) files","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/spz_0.3.1_1794271371703_0.7944058277351425","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"_id":"@adobe/spz@0.3.2","dist":{"shasum":"0f091bb640a7fb59fe1e27cae6a40520c621402e","tarball":"https://registry.npmjs.org/@adobe/spz/-/spz-0.3.2.tgz","fileCount":7,"integrity":"sha512-TL6m1qiGiV4hPVG/eEVsdVVsejL+DkERMq2fT5vHgKEGThp651TE8hIxGb8wkN8BMhlQN8q//z5Ky2nZ/OmCeA==","signatures":[{"sig":"MEQCICeMG9+dJZXLJC9F4fVgE24scFx1O/1XtQtbAKmmHCitAiBzmF0W8jxE/ixipK7fAFJ/NucEvNJkXZJ8uAbFkaoRkw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDE0JUwtIUTdptFtWiJi4UOMlgUxVqvlex/QaGE87LmjAIhAIzbIcb6Vmu26svEk6bnFz3kp779iszrqzEKs4fBqxjv"}],"unpackedSize":979825},"main":"dist/spz.js","name":"@adobe/spz","types":"dist/spz.d.ts","author":{"name":"Niantic Labs & Adobe"},"exports":{".":{"types":"./dist/spz.d.ts","default":"./dist/spz.js"}},"gitHead":"f270ed753ab60c3cb99f79347827344a56eb92d2","license":"ISC","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prebuild":"rm -rf ./dist","publishPackage":"npm publish --access public"},"version":"0.3.2","_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"homepage":"https://github.com/nianticlabs/spz","keywords":["wasm","emscripten","gaussian-splatting","3d"],"_npmVersion":"10.8.2","description":"WebAssembly module for loading Gaussian splat (SPZ) files","directories":{},"maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"namarora","email":"namarora@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"aljoseph","email":"aljoseph@adobe.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"_nodeVersion":"20.20.2","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/spz_0.3.2_1794625179545_0.23448552639209752"}}},"time":{"created":"2026-03-26T03:05:26.219Z","modified":"2026-11-14T02:59:40.189Z","0.1.8":"2026-03-26T03:05:26.501Z","0.1.9":"2026-04-09T18:51:55.314Z","0.2.0":"2026-04-09T20:53:28.724Z","0.2.1":"2026-05-06T17:56:58.781Z","0.2.2":"2026-05-13T20:24:49.798Z","0.2.3":"2026-09-01T22:59:37.918Z","0.3.0":"2026-11-09T22:16:48.965Z","0.3.1":"2026-11-10T00:42:51.832Z","0.3.2":"2026-11-14T02:59:39.661Z"},"author":{"name":"Niantic Labs & Adobe"},"license":"ISC","homepage":"https://github.com/nianticlabs/spz","keywords":["wasm","emscripten","gaussian-splatting","3d"],"description":"WebAssembly module for loading Gaussian splat (SPZ) files","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"namarora","email":"namarora@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"aljoseph","email":"aljoseph@adobe.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"readme":"# spz\n\n`.spz` is a file format for compressed 3D gaussian splats. This directory contains a C++ library\nfor saving and loading data in the .spz format.\n\nspz encoded splats are typically around 10x smaller than the corresponding .ply files,\nwith minimal visual differences between the two.\n\n## Internals\n\n### Coordinate System\n\nBy default, SPZ stores data in an RUB coordinate system following the OpenGL and three.js\nconvention. This can be overridden via the `SPZ_ADOBE_coordinate_system` extension, which allows\ndata to be stored in any named coordinate system (see [extensions/README.md](extensions/README.md)). This differs from other data formats such as PLY (which typically uses RDF), GLB (which\ntypically uses LUF), or Unity (which typically uses RUF). To aid with coordinate system conversions,\ncallers should specify the coordinate system their Gaussian Cloud data is represented in when saving\nand what coordinate system their rendering system uses when loading. These are specified in the\nPackOptions and UnpackOptions respectively.  If the coordinate system is `UNSPECIFIED`, data will\nbe saved and loaded without conversion, which may harm interoperability.\n\nThere are 16 named coordinate systems organised in two families:\n\n- **Standard family** — letters denote the X, Y, Z axis directions (e.g. `RUB` = Right, Up, Back):\n  `LDB`, `RDB`, `LUB`, `RUB`, `LDF`, `RDF`, `LUF`, `RUF`\n- **Rotated family** — axes are permuted by a 90-degree rotation about X (Y and Z are swapped):\n  `LFD`, `RFD`, `LFU`, `RFU`, `LBD`, `RBD`, `LBU`, `RBU`\n\nConverting between families applies a 90-degree rotation about the X axis in addition to any axis\nflips, which also rotates spherical-harmonics coefficients via the appropriate Wigner D-matrix.\n\n## Implementations\n\n### C++\n\nRequires `libz` and `libzstd` as dependent libraries, otherwise the code is completely self-contained.\nA CMake build system is provided for convenience.\n\n**Note:** If `libz` or `libzstd` are not found on the system, the CMake build system will automatically download them using FetchContent. This ensures consistent builds across different environments.\n\n### Typescript\n\nTo build the Typescript interface through Web-Assembly (WASM), an Emscripten environment needs to be setup before compilation. One may install the Emscripten SDK following the instructions [here](https://emscripten.org/docs/getting_started/downloads.html).\n\nUnder an emscripten environment, the Makefile can be generated through:\n```\nemcmake cmake -B build-wasm .\n```\nThen one can build through\n```\ncmake --build build-wasm\n```\nThe package will be built and installed into the `dist` folder.\n\n\n## API\n\n### C++\n\n```\nbool saveSpz(\n   const GaussianCloud &gaussians, const PackOptions &options, std::vector<uint8_t> *output);\n```\n\nConverts a cloud of Gaussians to `.spz` format and writes the result to a vector of bytes.\n\n   - `gaussians`: The Gaussians to save\n   - `options`: Flags that control the packing behavior, including SH quantization parameters.\n   - `output`: A vector that will be populated with bytes encoded in .spz format\n   - Returns true on success and false on failure.\n\n---\n\n```\nbool saveSpz(\n   const GaussianCloud &gaussians, const PackOptions &options, const std::string\n&filename);\n```\n\nSaves a cloud of Gaussians in `.spz` format to a file\n\n   - `gaussians`: The Gaussians to save\n   - `options`: Flags that control the packing behavior, including SH quantization parameters.\n   - `filename`: The path to the file to save to.\n   - Returns true on success and false on failure.\n\n---\n\n```\nGaussianCloud loadSpz(const std::vector<uint8_t> &data, const UnpackOptions &opti\nons);\n```\n\nLoads a cloud of Gaussians from bytes in `.spz` format.\n\n   - `data`: A vector containing the encoded spz data\n   - `options`: Flags that control the unpacking behavior.\n   - Returns a `GaussianCloud` decoded from the vector. In case of an error, this will return\n     a result with no gaussians\n\n---\n\n```\nGaussianCloud loadSpz(const std::string &filename, const UnpackOptions &options);\n```\n\nLoads a cloud of Gaussians from a file in `.spz` format.\n\n   - `filename`: The path to the file to load from.\n   - `options`: Flags that control the unpacking behavior.\n   - Returns a `GaussianCloud` decoded from the file. In case of an error, this will return\n     a result with no gaussians\n\n### Typescript\n\nCheck [src/emscripten/spz.d.ts.in](src/emscripten/spz.d.ts.in) (source) or `dist/spz.d.ts` (after building with CMake) for the TypeScript interface. Since the Emscripten and Javascript memory are separately handled, we only expose limited functionalities for the Typescript interface.\n\n### PackOptions\n\nThe `PackOptions` struct supports the following fields:\n\n- `from`: Source coordinate system (default: `UNSPECIFIED`)\n- `version`: Version of the packed format (default: `4`)\n- `sh1Bits`: Number of quantization bits for SH degree 1 coefficients (default: 5, range: 1-8)\n- `shRestBits`: Number of quantization bits for SH degree 2+ coefficients (default: 4, range: 1-8)\n\n## File Format\n\nVersion 4 uses ZSTD compression with a 32-byte plaintext header. Each attribute stream is compressed independently and in parallel, improving both compression and decompression throughput. Files from versions 1–3 (gzip-compressed single-stream format) can still be read. There is no maximum point count enforced during loading.\n\n### File layout (version 4)\n\n```\nBytes  0–31:              NgspFileHeader (32 bytes, plaintext)\nBytes  32..(tbo-1):       Extension ILV records, if flags & 0x2  (variable)\nBytes  tbo..(tbo+N*16-1): TOC — N × [compressedSize u64, uncompressedSize u64]\nBytes  (tbo+N*16)..end:   N independent ZSTD-compressed attribute streams\n```\n\n`tbo` = `tocByteOffset` from the header. When no extensions are present, `tbo = 32`.\n\nEach TOC entry covers one core stream, in this order, omitting empty ones: positions, alphas, colors, scales, rotations, spherical harmonics (absent when `shDegree` is 0). Each stream's data is exactly one zstd frame, except that the **last** stream's zstd frame may be followed by extension frames (see [Extension frames](#extension-frames)). A stream's `compressedSize` covers all of its bytes; its `uncompressedSize` counts only its own zstd frame.\n\n#### Extension frames\n\nTerms used below:\n- **zstd frame**: one self-contained unit of zstd-compressed data ([RFC 8878 §3.1.1](https://www.rfc-editor.org/rfc/rfc8878#section-3.1.1)).\n- **Skippable frame**: zstd's container for bytes every zstd decoder steps over ([RFC 8878 §3.1.2](https://www.rfc-editor.org/rfc/rfc8878#section-3.1.2)).\n- **Extension frame**: a skippable frame with SPZ's magic whose payload is exactly one zstd frame holding part of an extension's data:\n\n```\n[u32 magic = 0x184D2A53][u32 payloadSize][payload: exactly one zstd frame]\n```\n\nExtension data too large for the plaintext zone is stored in extension frames, appended back to back with no gaps after the zstd frame of the last core stream. The extension record that owns the data lists its extension frames in order, giving each one's byte offset from the start of the last core stream's data (pointing at the magic), its `payloadSize`, and the payload's decompressed size. Joining the decompressed payloads in that order gives the extension's data. zstd decoders skip skippable frames, so decompressing the last stream as a whole yields exactly its core data: readers that don't know an extension load the file unchanged, and never decompress its extension frames.\n\nWriters MUST:\n- keep every payload at most 2^32 - 1 bytes, the range of the u32 `payloadSize`. This is the only size limit: an extension's data may be any size, split across as many extension frames as it needs;\n- record the decompressed size in each payload's zstd frame header (the default when the size is known);\n- never let extension frames overlap.\n\nHow much data to put in each extension frame is the writer's choice. zstd's worst-case output is about `n + n/256` bytes, so payloads stay within the limit for any data up to about 3.98 GiB uncompressed. This library uses at most 16 MiB, which compresses within 0.3% of much larger frames while letting large data compress and decompress in parallel. Readers MUST accept any size within the format limit.\n\nReaders that decode an extension frame MUST check, before allocating for it, that:\n- it lies entirely within the last core stream;\n- its magic is `0x184D2A53` and its `payloadSize` matches the record;\n- its payload is exactly one zstd frame, whose header records a decompressed size equal to the record's.\n\nReaders should also check that the extension frame starts after the core stream's own zstd frame (this needs that frame's compressed size, e.g. from `ZSTD_findFrameCompressedSize`), and MAY cap the total decoded extension data; this library drops data beyond 1024 times the file size, the same bound it applies to `numPoints`. An extension whose extension frames fail these checks is dropped; the core data still loads. Readers ignore skippable frames that no record they understand points at.\n\nEvery reader, including ones that predate extension frames, still reads their bytes as part of the last core stream, so large extension data delays loading that stream. Consider a separate file for very large payloads.\n\n### Header (version 4)\n\n```c\nstruct NgspFileHeader {        // 32 bytes, all fields little-endian\n  uint32_t magic;              // 0x5053474e (\"NGSP\")\n  uint32_t version;            // 4\n  uint32_t numPoints;\n  uint8_t  shDegree;\n  uint8_t  fractionalBits;\n  uint8_t  flags;\n  uint8_t  numStreams;         // number of ZSTD-compressed attribute streams (typically 6)\n  uint32_t tocByteOffset;     // byte offset from file start to the TOC\n  uint8_t  reserved[12];      // zero, reserved for future use\n};\n```\n\nAll values are little-endian.\n\n1. **magic**: Always `0x5053474e` (bytes `N`, `G`, `S`, `P` in file order).\n2. **version**: 4 (current). Versions 1–3 use the legacy gzip format (read-only).\n3. **numPoints**: The number of gaussians.\n4. **shDegree**: The degree of spherical harmonics. Must be between 0 and 4 (inclusive).\n5. **fractionalBits**: The number of bits used for the fractional part of fixed-point coordinates.\n6. **flags**: Bit field.\n   - `0x1`: splat was trained with [antialiasing](https://niujinshuchong.github.io/mip-splatting/).\n   - `0x2`: the header zone contains vendor-specific extension records (see [Extensions](#extensions)).\n7. **numStreams**: Number of ZSTD-compressed attribute streams following the TOC. Typically 6 (positions, alphas, colors, scales, rotations, spherical harmonics).\n8. **tocByteOffset**: Byte offset from the start of the file to the Table of Contents. Everything before `tocByteOffset` is plaintext.\n9. **reserved**: Must be zero.\n\n### Format detection (load path)\n\n```\nbytes[0..3] == \"NGSP\"  →  version 4 ZSTD format\nbytes[0..1] == 0x1f 0x8b  →  legacy gzip format (versions 1–3, read-only)\n```\n\n### Positions\n\nPositions are represented as `(x, y, z)` coordinates, each as a 24-bit fixed point signed integer.\nThe number of fractional bits is determined by the `fractionalBits` field in the header.\n\n### Scales\n\nScales are represented as `(x, y, z)` components, each represented as an 8-bit log-encoded integer.\n\n### Rotation\n\nIn version 3 and 4, rotations are represented as the smallest three components of the normalized rotation quaternion, for optimal rotation accuracy.\nThe largest component can be derived from the others and is not stored. Its index is stored on 2 bits\nand each of the smallest three components is encoded as a 10-bit signed integer.\n\nIn version 2, rotations are represented as the `(x, y, z)` components of the normalized rotation quaternion. The\n`w` component can be derived from the others and is not stored. Each component is encoded as an\n8-bit signed integer.\n\n### Alphas\n\nAlphas are represented as 8-bit unsigned integers.\n\n### Colors\n\nColors are stored as `(r, g, b)` values, where each color component is represented as an\nunsigned 8-bit integer.\n\n### Spherical Harmonics\n\nDepending on the degree of spherical harmonics for the splat, this can contain 0 (for degree 0),\n9 (for degree 1), 24 (for degree 2), 45 (for degree 3), or 72 (for degree 4) coefficients per gaussian.\n\nThe coefficients for a gaussian are organized such that the color channel is the inner (faster\nvarying) axis, and the coefficient is the outer (slower varying) axis, i.e. for degree 1,\nthe order of the 9 values is:\n\n```\nsh1n1_r, sh1n1_g, sh1n1_b, sh10_r, sh10_g, sh10_b, sh1p1_r, sh1p1_g, sh1p1_b\n```\n\nEach coefficient is represented as an 8-bit signed integer.\n\n**Quantization:**\n\nSPZ supports configurable spherical harmonics quantization. By default, a fixed-precision quantization is adopted:\n- Assumes SH coefficients are in the [-1, 1] range\n- Fixed 5 bits of precision for degree 1 and 4 bits for degrees 2, 3, and 4\n- Maintained for backward compatibility\n\nThe quantization precision can be configured via `PackOptions`:\n- `sh1Bits`: Number of quantization bits for SH degree 1 coefficients (default: 5, range: 1-8)\n- `shRestBits`: Number of quantization bits for SH degree 2+ coefficients (default: 4, range: 1-8)\n\n**Note:** Quantization bits are only used during packing to reduce information entropy for better compression. The unpacking process does not need to know the exact quantization bits, as decompression fills zero bits for quantized data automatically.\n\nThis allows users to trade off between file size and quality. The library maintains full backward compatibility with default quantization settings.\n\n### Extensions\n\nSPZ supports vendor-specific extensions (e.g. camera limits) so multiple vendors can coexist in the same file. In version 4, extensions are stored as ILV (type + length + value) records in the plaintext header zone between the fixed header and the TOC — parsers that don't recognize an extension type skip it by length. For the extension format and how to add or use extensions, see [extensions/README.md](extensions/README.md).\n\n### Camera Orbit Limitation\n\nWith extension `SPZ_ADOBE_safe_orbit_camera`, SPZ supports storing camera limits which can be used to restrict the view in a render. This extension includes:\n\n**Attributes**\n\nThis extension has the following attributes and default values:\n\n```\n  float safeOrbitElevationMin = 0.0f;  // Minimum elevation for safe orbit (radians)\n  float safeOrbitElevationMax = 0.0f;  // Maximum elevation for safe orbit (radians)\n  float safeOrbitRadiusMin = 0.0f;     // Minimum radius for safe orbit\n```\n\n### Georeferencing\n\nWith extension `SPZ_NIANTIC_georeference`, SPZ can store a similarity transform (`origin`, unit quaternion `rotation`, uniform `scale`) that maps the asset's RUB positions into a geocentric CRS, named by an `AUTHORITY:CODE` such as `EPSG:4978` (WGS 84 ECEF) or by inline PROJJSON, with an optional coordinate epoch. The library never applies the transform. See [extensions/README.md](extensions/README.md) for the payload layout and validation rules.\n\n### Environment Map\n\nWith extension `SPZ_ADOBE_environment_map`, an SPZ or PLY file can carry one equirectangular RGB environment map (e.g. a baked reflection environment) together with its lookup frame and free-form JSON settings, so the file is a complete asset. In SPZ (version 4) the pixels are zstd-compressed float16 in [extension frames](#extension-frames) after the core streams; PLY stores them as float32. The frame follows coordinate conversions like positions. See [extensions/README.md](extensions/README.md#built-in-extensions).\n\n\n## Python Bindings\n\nThe SPZ library provides Python bindings built with [nanobind](https://nanobind.readthedocs.io/) that offer a convenient interface for loading, manipulating, and saving 3D Gaussian splats from Python.\n\n### Installation\n```bash\ngit clone https://github.com/nianticlabs/spz.git\ncd spz\npip install .\n```\n\nPlease see src/python/README.md for more details and usage examples\n\n## Web Utility\n\nA browser-based utility is available at [nianticlabs.github.io/spz](https://nianticlabs.github.io/spz). It uses the latest WASM build and allows you to inspect file metadata for `.spz` and `.ply` files and convert between the two formats without installing anything. As it runs entirely in the browser, it is subject to browser memory limits and is intended for files up to around 2 GB. For larger files, clone the repository and use the command-line tools directly.\n","readmeFilename":"README.md"}