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
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -282,6 +282,7 @@ const viewer = new GaussianSplats3D.Viewer({
282
282
'renderer': renderer,
283
283
'camera': camera,
284
284
'useBuiltInControls':false,
285
+
'listenToKeyEvents':false,
285
286
'ignoreDevicePixelRatio':false,
286
287
'gpuAcceleratedSort':true,
287
288
`enableSIMDInSort`:true,
@@ -321,6 +322,7 @@ Advanced `Viewer` parameters
321
322
| `renderer` | Pass an instance of a Three.js `Renderer` to the viewer, otherwise it will create its own. Defaults to `undefined`.
322
323
| `camera` | Pass an instance of a Three.js `Camera` to the viewer, otherwise it will create its own. Defaults to `undefined`.
323
324
| `useBuiltInControls` | Tells the viewer to use its own camera controls. Defaults to `true`.
325
+
| `listenToKeyEvents` | Tells the viewer to enable key controls, needs `useBuiltInControls` enabled to take effect. Defaults to `true`.
324
326
| `ignoreDevicePixelRatio` | Tells the viewer to pretend the device pixel ratio is 1, which can boost performance on devices where it is larger, at a small cost to visual quality. Defaults to `false`.
325
327
| `gpuAcceleratedSort` | Tells the viewer to use a partially GPU-accelerated approach to sorting splats. Currently this means pre-computation of splat distances from the camera is performed on the GPU. It is recommended that this only be set to `true` when `sharedMemoryForWorkers` is also `true`. Defaults to `false` on mobile devices, `true` otherwise.
326
328
| `enableSIMDInSort` | Enable the usage of SIMD WebAssembly instructions for the splat sort. Default is `true`.
0 commit comments