@playcanvas/supersplat-viewer 1.9.1 → 1.10.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 +12 -9
- package/dist/index.js +2 -2
- package/package.json +4 -4
- package/public/index.html +1 -0
- package/public/index.js +807 -257
- package/public/index.js.map +1 -1
package/README.md
CHANGED
|
@@ -16,15 +16,18 @@ This is the official viewer for [SuperSplat](https://superspl.at).
|
|
|
16
16
|
The web app compiles to a simple, self-contained static website.
|
|
17
17
|
|
|
18
18
|
The app supports a few useful URL parameters (though please note these are subject to change):
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
19
|
+
|
|
20
|
+
| Parameter | Description | Default |
|
|
21
|
+
| --------- | ----------- | ------- |
|
|
22
|
+
| `settings` | URL of the `settings.json` file | `./settings.json` |
|
|
23
|
+
| `content` | URL of the scene file (`.ply`, `.sog`, `.meta.json`, `.lod-meta.json`) | `./scene.compressed.ply` |
|
|
24
|
+
| `skybox` | URL of an equirectangular skybox image | |
|
|
25
|
+
| `poster` | URL of an image to show while loading | |
|
|
26
|
+
| `noui` | Hide UI | |
|
|
27
|
+
| `noanim` | Start with animation paused | |
|
|
28
|
+
| `ministats` | Show runtime CPU/GPU performance graphs | |
|
|
29
|
+
| `unified` | Force unified rendering mode | |
|
|
30
|
+
| `aa` | Enable antialiasing (not supported in unified mode) | |
|
|
28
31
|
|
|
29
32
|
The web app source files are available as strings for templating when you import the package from npm:
|
|
30
33
|
|