babylonjs-loaders 9.17.0 → 9.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8364,9 +8364,9 @@ declare namespace BABYLON {
8364
8364
  * @param url URL to the spz WASM ES module (its default export should be a factory function)
8365
8365
  * @returns A promise resolving to the initialized spz WASM module
8366
8366
  */
8367
- export function GetSpzModule(url: string): Promise<SpzModule>;
8367
+ export function GetSpzModule(url: string): Promise<any>;
8368
8368
  /**
8369
- * Converts a GaussianCloud object (from the spz WASM module) into the packed 32-byte-per-splat
8369
+ * Converts a any object (from the spz WASM module) into the packed 32-byte-per-splat
8370
8370
  * ArrayBuffer and SH texture arrays expected by GaussianSplattingMeshBase.updateData.
8371
8371
  *
8372
8372
  * Packed layout per splat (32 bytes):
@@ -8378,15 +8378,15 @@ declare namespace BABYLON {
8378
8378
  * SH coefficients from the cloud (Float32, range ~[-1,1]) are encoded to bytes
8379
8379
  * using the SPZ convention (load-spz.cc unquantizeSH): byte = coeff * 128 + 128.
8380
8380
  *
8381
- * @param cloud The GaussianCloud returned by spz.loadSpzFromBuffer
8381
+ * @param cloud The any returned by spz.loadSpzFromBuffer
8382
8382
  * @param scene The Babylon.js scene (used to query maxTextureSize for SH textures)
8383
8383
  * @param useCoroutine If true, yields periodically to avoid blocking the main thread
8384
8384
  * @returns A coroutine returning an IParsedSplat ready to be passed to updateData
8385
8385
  */
8386
- export function ConvertSpzToSplat(cloud: GaussianCloud, scene: Scene, useCoroutine?: boolean): Coroutine<IParsedSplat>;
8386
+ export function ConvertSpzToSplat(cloud: any, scene: Scene, useCoroutine?: boolean): Coroutine<IParsedSplat>;
8387
8387
  /**
8388
8388
  * Async version of ConvertSpzToSplat that yields periodically to avoid blocking the main thread.
8389
- * @param cloud The GaussianCloud returned by spz.loadSpzFromBuffer
8389
+ * @param cloud The any returned by spz.loadSpzFromBuffer
8390
8390
  * @param scene The Babylon.js scene
8391
8391
  * @returns A promise resolving to an IParsedSplat
8392
8392
  */
@@ -8861,7 +8861,11 @@ declare namespace BABYLON {
8861
8861
  */
8862
8862
  constructor(scene: Scene, capacity: number);
8863
8863
  /**
8864
- * Creates a 4-attachment MRT (centers F32 / covA F32 / covB F32 / colors U8) sized to the work buffer.
8864
+ * Creates a 4-attachment MRT (centers F32 / covA / covB / colors U8) sized to the work buffer. covA/covB
8865
+ * use HALF_FLOAT when the engine can render to it, matching the precision the non-streamed
8866
+ * GaussianSplattingMesh path already uses for these same two textures (see
8867
+ * `gaussianSplattingMeshBase.pure.ts`'s `createTextureFromDataF16` covA/covB textures); centers stays F32
8868
+ * and colors stays U8 in both paths.
8865
8869
  * @param name MRT and attachment base name
8866
8870
  * @param disableClear when true, clearing is suppressed so renders accumulate (the decode buffer); when
8867
8871
  * false the MRT clears to zero on each render (the temporary relayout buffer, so gaps stay zeroed)
@@ -10343,6 +10347,7 @@ declare namespace BABYLON {
10343
10347
  private _setAssetContainer;
10344
10348
  private static _computeFBXAxisConversionMatrix;
10345
10349
  private _buildModel;
10350
+ private _linkSkeletonsToTransformNodes;
10346
10351
  private static _modelSubtreeMatchesNameFilter;
10347
10352
  private static _applyModelMetadata;
10348
10353
  private _createMesh;