x_ite-sog-parser 2.0.0 → 2.0.1
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 +2 -2
- package/dist/x_ite-sog-parser-2.js +4 -3
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -12,10 +12,10 @@ SOG File Format Parser for [X_ITE](https://create3000.github.io/x_ite/) for 3D G
|
|
|
12
12
|
Include the script before X_ITE:
|
|
13
13
|
|
|
14
14
|
```html
|
|
15
|
-
<script defer src="https://cdn.jsdelivr.net/npm/x_ite-sog-parser@2.0.
|
|
15
|
+
<script defer src="https://cdn.jsdelivr.net/npm/x_ite-sog-parser@2.0.1/dist/x_ite-sog-parser-2.min.js"></script>
|
|
16
16
|
<script defer src="https://cdn.jsdelivr.net/npm/x_ite@VERSION/dist/x_ite.min.js"></script>
|
|
17
17
|
<!-- or as ES module -->
|
|
18
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite-sog-parser@2.0.
|
|
18
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite-sog-parser@2.0.1/dist/x_ite-sog-parser-2.min.js"></script>
|
|
19
19
|
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite@VERSION/dist/x_ite.min.mjs"></script>
|
|
20
20
|
```
|
|
21
21
|
|
|
@@ -2864,7 +2864,7 @@ __webpack_exports__default (X3D => class SOGParser extends X3D .X3DParser
|
|
|
2864
2864
|
shs = gaussianCloud .shs,
|
|
2865
2865
|
shDegree = bands;
|
|
2866
2866
|
|
|
2867
|
-
this .setSphericalHarmonics (count, shs, shDegree, gaussianSplats)
|
|
2867
|
+
this .setSphericalHarmonics (count, shs, shDegree, gaussianSplats);
|
|
2868
2868
|
}
|
|
2869
2869
|
|
|
2870
2870
|
// Add nodes to scene.
|
|
@@ -2934,7 +2934,7 @@ __webpack_exports__default (X3D => class SOGParser extends X3D .X3DParser
|
|
|
2934
2934
|
alphas,
|
|
2935
2935
|
colors,
|
|
2936
2936
|
shs,
|
|
2937
|
-
}
|
|
2937
|
+
};
|
|
2938
2938
|
}
|
|
2939
2939
|
|
|
2940
2940
|
async unpackImages ()
|
|
@@ -2971,7 +2971,8 @@ __webpack_exports__default (X3D => class SOGParser extends X3D .X3DParser
|
|
|
2971
2971
|
image .onerror =
|
|
2972
2972
|
image .onabort = event => reject (new Error (`Couldn't load WebP image '${key}': ${event .type}.`));
|
|
2973
2973
|
|
|
2974
|
-
image .
|
|
2974
|
+
image .crossOrigin = "anonymous";
|
|
2975
|
+
image .src = url;
|
|
2975
2976
|
});
|
|
2976
2977
|
}
|
|
2977
2978
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x_ite-sog-parser",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "3DGS SOG File Format Parser for X_ITE",
|
|
5
5
|
"main": "dist/x_ite-sog-parser-2.js",
|
|
6
6
|
"module": "dist/x_ite-sog-parser-2.js",
|
|
@@ -39,12 +39,13 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@eslint/js": "^10.0.1",
|
|
42
|
-
"eslint": "^10.
|
|
42
|
+
"eslint": "^10.6.0",
|
|
43
43
|
"fflate": "^0.8.3",
|
|
44
|
-
"globals": "^17.
|
|
44
|
+
"globals": "^17.7.0",
|
|
45
45
|
"shell-tools": "^1.1.9",
|
|
46
|
-
"webpack": "^5.
|
|
47
|
-
"webpack
|
|
46
|
+
"terser-webpack-plugin": "^5.6.1",
|
|
47
|
+
"webpack": "^5.108.1",
|
|
48
|
+
"webpack-cli": "^7.1.0",
|
|
48
49
|
"x_ite-extension": "^1.0.1"
|
|
49
50
|
}
|
|
50
51
|
}
|