UNPKG

@playcanvas/splat-transform

Version:

Library and CLI tool for 3D Gaussian splat format conversion and transformation

26 lines (25 loc) 891 B
import { DataTable } from '../data-table'; import { type FileSystem } from '../io/write'; import type { DeviceCreator } from '../types'; type WriteLodOptions = { filename: string; dataTable: DataTable; envDataTable: DataTable | null; iterations: number; createDevice?: DeviceCreator; chunkCount: number; chunkExtent: number; }; /** * Writes Gaussian splat data to multi-LOD format with spatial chunking. * * Creates a hierarchical structure with multiple LOD levels, each stored * in separate SOG files. Includes spatial indexing via a binary tree for * efficient streaming and view-dependent loading. * * @param options - Options including filename, data, and chunking parameters. * @param fs - File system for writing output files. * @ignore */ declare const writeLod: (options: WriteLodOptions, fs: FileSystem) => Promise<void>; export { writeLod };