JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3092
  • Score
    100M100P100Q113147F
  • License MIT

3DGS SPZ File Format Parser for X_ITE

Package Exports

  • x_ite-spz-parser
  • x_ite-spz-parser/dist/x_ite-spz-parser.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (x_ite-spz-parser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

x_ite-spz-parser

npm Version Build Size jsDelivr Hits npm Downloads

3DGS SPZ File Format Parser for X_ITE

The parser supports files with SPZ format version 1, 2 and 4.

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.0.6/dist/x_ite-spz-parser.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.0.6/dist/x_ite-spz-parser.min.js"></script>

Now you can load 3DGS SPZ files:

<x3d-canvas src="room.spz"></x3d-canvas>

You can also install it from npm:

npm i x_ite-spz-parser

Converter

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.