@playcanvas/splat-transform
Version:
Library and CLI tool for 3D Gaussian splat format conversion and transformation
16 lines (15 loc) • 637 B
TypeScript
import { DataTable } from '../data-table';
import { ReadSource } from '../io/read';
/**
* Reads a .ksplat file containing compressed Gaussian splat data.
*
* The .ksplat format (Kevin Kwok's format) uses spatial bucketing and
* quantization to achieve high compression ratios while preserving quality.
* Supports multiple compression modes and spherical harmonics bands.
*
* @param source - The read source providing access to the .ksplat file data.
* @returns Promise resolving to a DataTable containing the splat data.
* @ignore
*/
declare const readKsplat: (source: ReadSource) => Promise<DataTable>;
export { readKsplat };