Progressive Points loader for multi-additive-LOD datasets.
Wraps N PointsSpatialIndexLoader instances (one per additive_<i>
subgroup) using the Composite pattern. Implements the same
PointsDataLoader (aka DataLoader) interface so the scene
loader's update loop works unchanged.
On each updateView() call, loads LODs sequentially starting from
LOD 0.
Stops at the first LOD whose load exceeds the cache-hit threshold
(the shared CACHE_HIT_THRESHOLD_MS in
loaders/progressive/constants — one threshold across all geometry
types).
After returning, fires a prefetch for the next unloaded LOD so the
refinement loop hits a warm cache on the next call.
LODs are additive: LOD 0 contains the coarsest subset, each
subsequent LOD adds more elements. The loader concatenates loaded
LODs into a single LoadedPointsData.
Progressive Points loader for multi-additive-LOD datasets.
Wraps N
PointsSpatialIndexLoaderinstances (one peradditive_<i>subgroup) using the Composite pattern. Implements the samePointsDataLoader(akaDataLoader) interface so the scene loader's update loop works unchanged.Loading strategy mirrors
GSplatsProgressiveLoader:updateView()call, loads LODs sequentially starting from LOD 0.CACHE_HIT_THRESHOLD_MSinloaders/progressive/constants— one threshold across all geometry types).LODs are additive: LOD 0 contains the coarsest subset, each subsequent LOD adds more elements. The loader concatenates loaded LODs into a single
LoadedPointsData.