You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -259,7 +259,8 @@ const viewer = new GaussianSplats3D.Viewer({
259
259
'sharedMemoryForWorkers':true,
260
260
'integerBasedSort':true,
261
261
'dynamicScene':false,
262
-
'webXRMode':GaussianSplats3D.WebXRMode.None
262
+
'webXRMode':GaussianSplats3D.WebXRMode.None,
263
+
'renderMode':GaussianSplats3D.RenderMode.OnChange
263
264
});
264
265
viewer.addSplatScene('<path to .ply, .ksplat, or .splat file>')
265
266
.then(() => {
@@ -289,6 +290,7 @@ Advanced `Viewer` parameters
289
290
| `integerBasedSort` | Tells the sorting web worker to use the integer versions of relevant data to compute the distance of splats from the camera. Since integer arithmetic is faster than floating point, this reduces sort time. However it can result in integer overflows in larger scenes so it should only be used for small scenes. Defaults to `true`.
290
291
| `dynamicScene` | Tells the viewer to not make any optimizations that depend on the scene being static. Additionally all splat data retrieved from the viewer's splat mesh will not have their respective scene transform applied to them by default.
291
292
| `webXRMode` | Tells the viewer whether or not to enable built-in Web VR or Web AR. Valid values are defined in the `WebXRMode` enum: `None`, `VR`, and `AR`. Defaults to `None`.
293
+
| `renderMode` | Controls when the viewer renders the scene. Valid values are defined in the `RenderMode` enum: `Always`, `OnChange`, and `Never`. Defaults to `Always`.
0 commit comments