x_ite-spz-parser 1.2.2 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -11
- package/dist/x_ite-spz-parser-123.js +0 -0
- package/dist/x_ite-spz-parser-4.js +0 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -9,27 +9,25 @@ SPZ File Format Parser for [X_ITE](https://create3000.github.io/x_ite/) for 3D G
|
|
|
9
9
|
|
|
10
10
|
## Usage
|
|
11
11
|
|
|
12
|
-
Include the script
|
|
12
|
+
Include the script before X_ITE:
|
|
13
13
|
|
|
14
14
|
```html
|
|
15
|
-
<script defer src="https://cdn.jsdelivr.net/npm/x_ite@
|
|
16
|
-
<script defer src="https://cdn.jsdelivr.net/npm/x_ite-spz-parser@1.2.2/dist/x_ite-spz-parser-4.min.js"></script>
|
|
15
|
+
<script defer src="https://cdn.jsdelivr.net/npm/x_ite-spz-parser@1.3.0/dist/x_ite-spz-parser-4.min.js"></script>
|
|
17
16
|
<!-- or/and for version 1-3 SPZ format -->
|
|
18
|
-
<script defer src="https://cdn.jsdelivr.net/npm/x_ite-spz-parser@1.
|
|
17
|
+
<script defer src="https://cdn.jsdelivr.net/npm/x_ite-spz-parser@1.3.0/dist/x_ite-spz-parser-123.min.js"></script>
|
|
18
|
+
<script defer src="https://cdn.jsdelivr.net/npm/x_ite@VERSION/dist/x_ite.min.js"></script>
|
|
19
19
|
|
|
20
20
|
<!-- or as ES module -->
|
|
21
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite@
|
|
22
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite-spz-parser@1.2.2/dist/x_ite-spz-parser-4.min.js"></script>
|
|
21
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite-spz-parser@1.3.0/dist/x_ite-spz-parser-4.min.js"></script>
|
|
23
22
|
<!-- or/and for version 1-3 SPZ format -->
|
|
24
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite-spz-parser@1.
|
|
23
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite-spz-parser@1.3.0/dist/x_ite-spz-parser-123.min.js"></script>
|
|
24
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite@VERSION/dist/x_ite.min.mjs"></script>
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
You can also use `.spz` files as source of an Inline node.
|
|
27
|
+
You can now load `.spz` files directly using the `src` attribute, but you can also use `.spz` files as source of an Inline node.
|
|
30
28
|
|
|
31
29
|
```html
|
|
32
|
-
<x3d-canvas src="room.spz"
|
|
30
|
+
<x3d-canvas src="room.spz"></x3d-canvas>
|
|
33
31
|
```
|
|
34
32
|
|
|
35
33
|
## NPM
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x_ite-spz-parser",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "3DGS SPZ File Format Parser for X_ITE",
|
|
5
5
|
"main": "dist/x_ite-spz-parser-4.js",
|
|
6
6
|
"module": "dist/x_ite-spz-parser-4.js",
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"globals": "^17.6.0",
|
|
52
52
|
"shell-tools": "^1.1.9",
|
|
53
53
|
"webpack": "^5.107.2",
|
|
54
|
-
"webpack-cli": "^7.0.3"
|
|
54
|
+
"webpack-cli": "^7.0.3",
|
|
55
|
+
"x_ite-extension": "^1.0.0"
|
|
55
56
|
}
|
|
56
57
|
}
|