Package Exports
- x_ite-spz-parser
- x_ite-spz-parser/x_ite-spz-parser-123.js
- x_ite-spz-parser/x_ite-spz-parser-4.js
Readme
x_ite-spz-parser
SPZ File Format Parser for X_ITE for 3D Gaussian Splatting
Usage
Include the script after X_ITE:
<script defer src="https://cdn.jsdelivr.net/npm/x_ite@VERSION/dist/x_ite.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/x_ite-spz-parser@1.1.5/dist/x_ite-spz-parser-4.min.js"></script>
<!-- or/and for version 1-3 SPZ format -->
<script defer src="https://cdn.jsdelivr.net/npm/x_ite-spz-parser@1.1.5/dist/x_ite-spz-parser-123.min.js"></script>
<!-- or as ES module -->
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite@VERSION/dist/x_ite.min.mjs"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite-spz-parser@1.1.5/dist/x_ite-spz-parser-4.min.js"></script>
<!-- or/and for version 1-3 SPZ format -->
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite-spz-parser@1.1.5/dist/x_ite-spz-parser-123.min.js"></script>Now you can load 3DGS SPZ files with the data-src attribute:
<x3d-canvas data-src="room.spz"></x3d-canvas>Or use .spz files as source of an Inline node.
NPM
You can also install it from npm:
npm i x_ite-spz-parserConverter
Look at the bottom part of the following page, there is a converter: https://www.nianticspatial.com/blog/spz4
License
x_ite-spz-parser is free software and licensed under the MIT License.