splat-transform API Reference - v1.8.0
    Preparing search index...

    Type Alias WriteVoxelOptions

    Options for writing a voxel octree file.

    type WriteVoxelOptions = {
        createDevice?: DeviceCreator;
        dataTable: DataTable;
        filename: string;
        opacityCutoff?: number;
        voxelResolution?: number;
    }
    Index

    Properties

    createDevice?: DeviceCreator

    Optional function to create a GPU device for voxelization

    dataTable: DataTable

    Gaussian splat data to voxelize

    filename: string

    Output filename ending in .voxel.json

    opacityCutoff?: number

    Opacity threshold for solid voxels - voxels below this are considered empty. Default: 0.5

    voxelResolution?: number

    Size of each voxel in world units. Default: 0.05