Loader-factory concern extracted from scene-loader.ts.
Four constructor helpers, one per geometry kind:
createPointsLoader → PointsSpatialIndexLoader
createLinesLoader → LinesSpatialIndexLoader
createGSplatsLoader → GSplatsSpatialIndexLoader
createProgressiveGSplatsLoader → GSplatsProgressiveLoader
wrapping N GSplatsSpatialIndexLoaders (one per LOD)
All four follow the same path-resolution pattern: a leaf at / uses
the supplied loc; otherwise we resolve from the store root so
absolute paths in the scene graph map to zarr group locations
correctly.
Behavior matches the inline original — same constructor argument
order, same logging, same null-coalescing of optional cache /
prefetcher dependencies.
Loader-factory concern extracted from
scene-loader.ts.Four constructor helpers, one per geometry kind:
createPointsLoader→PointsSpatialIndexLoadercreateLinesLoader→LinesSpatialIndexLoadercreateGSplatsLoader→GSplatsSpatialIndexLoadercreateProgressiveGSplatsLoader→GSplatsProgressiveLoaderwrapping NGSplatsSpatialIndexLoaders (one per LOD)All four follow the same path-resolution pattern: a leaf at
/uses the suppliedloc; otherwise we resolve from the store root so absolute paths in the scene graph map to zarr group locations correctly.Behavior matches the inline original — same constructor argument order, same logging, same null-coalescing of optional cache / prefetcher dependencies.