Potree loader
Connect a Potree hierarchy to a point-cloud pipeline.
PotreeLoader is the entry point for Potree point-cloud assets. The format is still evolving in loaders.gl, so this page makes the current support boundary explicit before the detailed reference.
The Potree path
Discover the hierarchy first. Stream point data as support grows.
Potree assets separate metadata and hierarchy from point payloads. Keep traversal and rendering concerns in the source or layer while the loader owns format decoding.
Input
Potree metadata and point-cloud resources
Discover
Hierarchy, bounds, spacing, and attributes
Decode
Point records as support is implemented
Status
Work in progress; verify current coverage
Detailed guide
Current Potree support
The reference below records the current implementation boundary and will expand as hierarchy traversal and point decoding mature.
Work in progress
Metadata versions
PotreeLoader parses both legacy cloud.js declarations (1.0–1.8) and modern metadata.json
declarations (2.0), selecting the validator from the declared dataset version. It returns
PotreeDatasetMetadata; inspect version before accessing layout-specific fields. The package
root is metadata-only. Async core parsing preloads the implementation; synchronous parsing uses
PotreeLoaderWithParser from @loaders.gl/tiles-3d/potree-loader.
Pass the same loader to createDataSource() to traverse the
hierarchy and decode point tiles on demand.