@playcanvas/splat-transform
Version:
Library and CLI tool for 3D Gaussian splat format conversion and transformation
22 lines (21 loc) • 675 B
TypeScript
import { DataTable } from '../data-table';
import { ReadSource } from '../io/read';
type PlyData = {
comments: string[];
elements: {
name: string;
dataTable: DataTable;
}[];
};
/**
* Reads a PLY file containing Gaussian splat data.
*
* Supports both standard PLY files and compressed PLY format. The PLY format is
* the standard output from 3D Gaussian Splatting training pipelines.
*
* @param source - The read source providing access to the PLY file data.
* @returns Promise resolving to a DataTable containing the splat data.
* @ignore
*/
declare const readPly: (source: ReadSource) => Promise<DataTable>;
export { PlyData, readPly };