@d5techs/3dgs-lib 1.4.17 → 1.4.18

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.
@@ -8,5 +8,10 @@
8
8
  * 3. 四元数:smallest-three 编码 → WebP
9
9
  * 4. DC 颜色 + 不透明度:codebook 量化 → WebP
10
10
  */
11
- import type { CompactSplatData } from './PLYLoaderMobile';
12
- export declare function serializeSOG(data: CompactSplatData): Promise<ArrayBuffer>;
11
+ import type { CompactSplatData, CoordinateSystem } from './PLYLoaderMobile';
12
+ /**
13
+ * @param coordinateSystem 内部数据的坐标系来源。
14
+ * 'blender' 表示数据在加载时做过 Blender→WebGPU 变换,需要先做逆变换再编码。
15
+ * 'webgpu' 表示数据已在 SOG 原生坐标系,直接编码。
16
+ */
17
+ export declare function serializeSOG(data: CompactSplatData, coordinateSystem?: CoordinateSystem): Promise<ArrayBuffer>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d5techs/3dgs-lib",
3
- "version": "1.4.17",
3
+ "version": "1.4.18",
4
4
  "description": "可扩展的 WebGPU 3D 渲染引擎",
5
5
  "type": "module",
6
6
  "main": "./dist/3dgs-lib.cjs",