@playcanvas/supersplat-viewer 1.43.1 → 1.43.2
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 +4 -0
- package/dist/index.js +1 -1
- package/dist/viewer.js +4 -5
- package/dist/viewer.js.map +1 -1
- package/package.json +3 -3
- package/public/index.js +33 -34
- package/public/index.js.map +1 -1
package/dist/viewer.js
CHANGED
|
@@ -6837,11 +6837,10 @@ class DirectSplatSource {
|
|
|
6837
6837
|
device.computeDispatch([compute], 'sse-splat-decode-sh');
|
|
6838
6838
|
this.decodedSH.set(resource, { texture, compute });
|
|
6839
6839
|
}
|
|
6840
|
-
// the packed layout applies to sog v2 files, the only ones the repack reads.
|
|
6841
|
-
//
|
|
6840
|
+
// the packed layout applies to sog v2 files, the only ones the repack reads. Sog v3 files have
|
|
6841
|
+
// the same textures, but a different rotation and opacity encoding and 24-bit sh labels
|
|
6842
6842
|
packedActive() {
|
|
6843
|
-
|
|
6844
|
-
return !!textures && textures.has('sogCodebook') && textures.has('quats');
|
|
6843
|
+
return this.resource?.gsplatData?.meta?.version === 2;
|
|
6845
6844
|
}
|
|
6846
6845
|
hasSH() {
|
|
6847
6846
|
const textures = this.resource?.streams.textures;
|
|
@@ -10137,7 +10136,7 @@ const importSettings = (settings) => {
|
|
|
10137
10136
|
return result;
|
|
10138
10137
|
};
|
|
10139
10138
|
|
|
10140
|
-
var version = "1.43.
|
|
10139
|
+
var version = "1.43.2";
|
|
10141
10140
|
|
|
10142
10141
|
class Tooltip {
|
|
10143
10142
|
register;
|