splat-transform API Reference - v2.0.5
    Preparing search index...

    Function filterFloaters

    • Remove Gaussians that don't meaningfully contribute to any solid voxel.

      GPU-voxelizes the scene at a given resolution, then for each Gaussian evaluates its opacity contribution at each occupied voxel center in its AABB range. Discards Gaussians whose contribution is below minContribution at every solid voxel.

      Parameters

      • dataTable: DataTable

        Input Gaussian splat data.

      • createDevice: DeviceCreator

        Function to create a GPU device for voxelization.

      • voxelResolution: number = 0.05

        Voxel size in world units. Default: 0.05.

      • opacityCutoff: number = 0.1

        Opacity threshold for solid voxels. Default: 0.1.

      • minContribution: number = ...

        Minimum Gaussian contribution at a voxel center to be kept. Default: 1/255.

      Returns Promise<DataTable>

      Filtered DataTable with floaters removed.