Optionalextensions: Record<string, string>Optionaloptimized: Set<string>Learn which (modelId, format) pairs have an optimized variant by reading
the demo catalog {modelsDir}/index.json (written by the website's
buildIndex.js, which records an optimized: string[] of formats per
model). Runs once; never throws — if the catalog or fetch is unavailable,
resolution simply stays on the originals. Skipped when an optimized set was
supplied explicitly via the constructor.
URL of a model file for the given (modelId, format) pair.
Studio's loadModel calls this when the caller didn't supply an
explicit src.
URL of a sidecar file beside the model's directory — files that
aren't themselves model formats but belong logically to the
model (currently just coordSys.json; pattern extends to any
future per-model metadata).
Built-in locator for the demo convention
{modelsDir}/{modelId}/{format}/model.{ext}.Owns the format → extension map so that loader modules carry no filename or path information. Callers that need a different layout inject their own ModelLocator via StudioConfig.