@playcanvas/supersplat-viewer 1.35.2 → 1.36.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 +38 -35
- package/dist/index.js +3 -3
- package/dist/viewer.css +2 -4
- package/dist/viewer.d.ts +16 -0
- package/dist/viewer.js +3968 -266
- package/dist/viewer.js.map +1 -1
- package/package.json +5 -4
- package/public/index.css +2 -4
- package/public/index.html +3 -0
- package/public/index.js +3974 -272
- package/public/index.js.map +1 -1
package/dist/viewer.css
CHANGED
|
@@ -893,14 +893,12 @@
|
|
|
893
893
|
overflow-wrap: break-word;
|
|
894
894
|
visibility: hidden;
|
|
895
895
|
opacity: 0;
|
|
896
|
-
|
|
897
|
-
transition: visibility 0s 0.2s, opacity 0.2s ease-out, translate 0.2s ease-out;
|
|
896
|
+
transition: visibility 0s 0.2s, opacity 0.2s ease-out;
|
|
898
897
|
}
|
|
899
898
|
.sse-viewer .sse-annotations > .sse-annotation.sse-visible {
|
|
900
899
|
visibility: visible;
|
|
901
900
|
opacity: 1;
|
|
902
|
-
|
|
903
|
-
transition: opacity 0.2s ease-out, translate 0.2s ease-out;
|
|
901
|
+
transition: opacity 0.2s ease-out;
|
|
904
902
|
}
|
|
905
903
|
.sse-viewer .sse-annotations > .sse-annotation > .sse-annotation-title {
|
|
906
904
|
font-size: 13px;
|
package/dist/viewer.d.ts
CHANGED
|
@@ -53,6 +53,22 @@ type ViewerFlags = {
|
|
|
53
53
|
fullload?: boolean;
|
|
54
54
|
/** Render with antialiasing. */
|
|
55
55
|
aa?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Opt in to the experimental stochastic splat renderer: unsorted, depth-tested splats whose
|
|
58
|
+
* depth buffer also serves picking. WebGPU only; ignored on WebGL and while an XR session is
|
|
59
|
+
* active, where the engine's sorted renderer draws. Fixed for the life of the viewer.
|
|
60
|
+
*/
|
|
61
|
+
stochastic?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Developer knob for the stochastic renderer: the data path that feeds it. Default
|
|
64
|
+
* `workbuffer`, the engine's work buffer.
|
|
65
|
+
*/
|
|
66
|
+
splatSource?: 'workbuffer' | 'direct' | 'light';
|
|
67
|
+
/**
|
|
68
|
+
* Developer knob for the stochastic renderer: comma-separated `key:value` experiment
|
|
69
|
+
* switches, e.g. `spp:1,compose:none`.
|
|
70
|
+
*/
|
|
71
|
+
variant?: string;
|
|
56
72
|
/** Splat budget in millions, overriding the platform and performance-mode table. */
|
|
57
73
|
budget?: number;
|
|
58
74
|
/** Render the collision heatmap debug overlay (WebGPU only). */
|