GaussianSplatsHelper

@three-blocks/coreWebGPU
new GaussianSplatsHelper(splats : GaussianSplats, options : Object)
Extends
THREE.Object3D

Debug helper for visualizing Gaussian Splat bounding boxes.

Helps debug splat placement by showing:

  • Overall bounding box of the entire model
  • Per-instance oriented 3D wireframe boxes showing individual splat extents

For point cloud visualization, use GaussianSplatsPoints instead.

Constructor Parameters
splatsGaussianSplats
The GaussianSplats instance to visualize.
optionsoptionalObject
Options.
Default is {}.
  • showBoundingBoxoptionalboolean
    Enable overall model bounding box visualization.
    Default is true.
  • showPerInstanceBoundingBoxesoptionalboolean
    Enable per-splat oriented 3D wireframe box visualization.
    Default is false.
  • boxColoroptionalnumber
    Overall bounding box wireframe color.
    Default is 0x00ff00.
  • boxOpacityoptionalnumber
    Overall bounding box line opacity.
    Default is 0.8.
  • perInstanceBoxColoroptionalnumber
    Per-instance wireframe box color.
    Default is 0xff0000.

Methods

update#

update()

Update visualizations when splat data changes.

dispose#

dispose()

Dispose of helper resources.