Homesplat-transform API Reference - v3.0.0
    Preparing search index...

    Function readPly

    • Open a gaussian-splat PLY as a ChunkSource. The single public PLY reader.

      Standard uncompressed binary PLY is read lazily: only the header is parsed at open time, and each read seeks the requested chunk's byte range, pulls just those records, and de-interleaves the requested layers into the caller's buffers. Standard gaussian properties map to the position/geometric/color layers; non-standard properties (e.g. normals) become other-layer extras.

      Compressed PLY (the packed chunk+vertex format) is read lazily too: each chunk is range-read and dequantized on demand (see readCompressedChunked). Either way the data is labelled Transform.PLY.

      The source must be seekable (range reads).

      Parameters

      • source: ReadSource

        A seekable read source over the PLY file.

      • pool: ChunkDataPool

        The chunk-data pool whose chunkSize defines the chunking granularity.

      Returns Promise<ChunkSource>

      A lazy ChunkSource over the file.