@d5techs/3dgs-lib 1.4.2 → 1.4.3
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.
- package/dist/3dgs-lib.cjs +104 -2
- package/dist/3dgs-lib.cjs.map +1 -1
- package/dist/3dgs-lib.js +104 -2
- package/dist/3dgs-lib.js.map +1 -1
- package/dist/gs/PLYLoaderMobile.d.ts +5 -0
- package/package.json +1 -1
|
@@ -50,6 +50,11 @@ export interface CompactSplatData {
|
|
|
50
50
|
/** SH 系数(可选)Float32Array,每个 splat 45 个系数 */
|
|
51
51
|
shCoeffs?: Float32Array;
|
|
52
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Y↔Z 轴交换时对 SH 系数的基函数变换(interleaved 格式)。
|
|
55
|
+
* 对 L1/L2/L3 三个波段分别施加正交变换矩阵,使 SH 视角相关颜色在坐标变换后保持正确。
|
|
56
|
+
*/
|
|
57
|
+
export declare function transformSHCoeffsYZSwap(sh: Float32Array, base: number, perChannel: number): void;
|
|
53
58
|
/**
|
|
54
59
|
* 移动端优化的 PLY 加载器
|
|
55
60
|
* 直接输出紧凑格式,避免创建大量中间对象
|