@realsee/five 6.8.0-alpha.20 → 6.8.0-alpha.21
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/ai_guides/features/material.md +1 -1
- package/ai_guides/release_notes/6.8.md +1 -1
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/five.Five.html +41 -41
- package/docs/classes/five.PBMContainer.html +1 -1
- package/docs/classes/five.PBMGSObject.html +5 -3
- package/docs/classes/five.PBMGroup.html +1 -1
- package/docs/classes/five.PBMMesh.html +1 -1
- package/docs/classes/five.PBMPointCloud.html +1 -1
- package/docs/classes/five.PBMSkinnedMesh.html +1 -1
- package/docs/classes/five.Parameter.html +5 -5
- package/docs/documents/features_material.html +1 -1
- package/docs/documents/release_notes_6.8.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/interfaces/five.EventCallback.html +1 -1
- package/docs/interfaces/five.ModelControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.ParameterMaterialValue.html +6 -6
- package/docs/interfaces/five.ParameterValue.html +6 -6
- package/docs/interfaces/five.ResolvedParameterValue.html +6 -6
- package/docs/interfaces/five.SplatData.html +2 -2
- package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +1 -1
- package/five/application/five.d.ts +1 -6
- package/five/gaussian-splatting/util/renderData.d.ts +52 -0
- package/five/index.js +9 -9
- package/five/index.mjs +443 -230
- package/five/model/index.d.ts +1 -1
- package/five/model/loaders/glTF-helpers/extensions/KHR_gaussian_splatting_compression_spz.d.ts +2 -2
- package/five/model/loaders/spz.d.ts +2 -2
- package/five/model/objects/{pbmGSObject.d.ts → pbmGaussianSplattingObject.d.ts} +4 -1
- package/five/model/objects/pbmGaussianSplattingRenderMesh.d.ts +55 -0
- package/five/model/objects/pbmGaussianSplattingTestMesh.d.ts +7 -0
- package/five/model/parameter.d.ts +1 -1
- package/five/model/tile3d/tile-node.d.ts +2 -2
- package/five/utils/memoryUsage.d.ts +2 -2
- package/gltf-loader/index.js +2 -2
- package/gltf-loader/index.mjs +2 -2
- package/line/index.js +2 -2
- package/line/index.mjs +2 -2
- package/package.json +1 -1
- package/plugins/index.js +1 -1
- package/plugins/index.mjs +1 -1
- package/react/index.js +1 -1
- package/react/index.mjs +1 -1
- package/shader-lib/index.js +1 -1
- package/shader-lib/index.mjs +1 -1
- package/sticker/index.js +2 -2
- package/sticker/index.mjs +2 -2
- package/umd/five-gltf-loader.js +2 -2
- package/umd/five-line.js +2 -2
- package/umd/five-plugins.js +1 -1
- package/umd/five-react.js +1 -1
- package/umd/five-shader-lib.js +1 -1
- package/umd/five-sticker.js +2 -2
- package/umd/five-vfx.js +1 -1
- package/umd/five-vue.js +1 -1
- package/umd/five.js +10 -10
- package/vfx/index.js +1 -1
- package/vfx/index.mjs +1 -1
- package/vue/index.js +1 -1
- package/vue/index.mjs +1 -1
- package/work-downloader/index.js +1 -1
- package/work-downloader/index.mjs +1 -1
- package/five/gs/util/renderData.d.ts +0 -32
- package/five/model/objects/pbmGSRenderMesh.d.ts +0 -32
- /package/five/{gs → gaussian-splatting}/wasm/data.d.ts +0 -0
- /package/five/{gs → gaussian-splatting}/wasm/sort.d.ts +0 -0
- /package/five/{gs → gaussian-splatting}/worker/dataWorker.d.ts +0 -0
- /package/five/{gs → gaussian-splatting}/worker/sortWorker.d.ts +0 -0
package/vfx/index.js
CHANGED
package/vfx/index.mjs
CHANGED
package/vue/index.js
CHANGED
package/vue/index.mjs
CHANGED
package/work-downloader/index.js
CHANGED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { PBMGSObject } from "../../model/objects/pbmGSObject";
|
|
2
|
-
declare class RenderData {
|
|
3
|
-
dataChanged: boolean;
|
|
4
|
-
transformsChanged: boolean;
|
|
5
|
-
splatIndices: Map<PBMGSObject, number>;
|
|
6
|
-
offsets: Map<PBMGSObject, number>;
|
|
7
|
-
data: Uint32Array;
|
|
8
|
-
width: number;
|
|
9
|
-
height: number;
|
|
10
|
-
transforms: Float32Array;
|
|
11
|
-
transformsWidth: number;
|
|
12
|
-
transformsHeight: number;
|
|
13
|
-
transformIndices: Uint32Array;
|
|
14
|
-
transformIndicesWidth: number;
|
|
15
|
-
transformIndicesHeight: number;
|
|
16
|
-
positions: Float32Array;
|
|
17
|
-
rotations: Float32Array;
|
|
18
|
-
scales: Float32Array;
|
|
19
|
-
numPoints: number;
|
|
20
|
-
worker: Worker;
|
|
21
|
-
sh1?: Float32Array;
|
|
22
|
-
sh2?: Float32Array;
|
|
23
|
-
sh3?: Float32Array;
|
|
24
|
-
maxShDegree: number;
|
|
25
|
-
constructor(pbmGSObjects: PBMGSObject[]);
|
|
26
|
-
updateTransform(pbmGSObject: PBMGSObject): void;
|
|
27
|
-
buildImmediate(wasmModule: any, splat: PBMGSObject): void;
|
|
28
|
-
getSplat(index: number): any;
|
|
29
|
-
getLocalIndex(splat: PBMGSObject, index: number): number;
|
|
30
|
-
dispose(): void;
|
|
31
|
-
}
|
|
32
|
-
export { RenderData };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
import { RenderData } from '../../gs/util/renderData';
|
|
3
|
-
declare class PBMGSRenderMesh extends THREE.Mesh<THREE.InstancedBufferGeometry, THREE.ShaderMaterial> {
|
|
4
|
-
private gsSceneState;
|
|
5
|
-
renderData: RenderData | null;
|
|
6
|
-
needsRender: boolean;
|
|
7
|
-
private sortWorker;
|
|
8
|
-
private depthIndex;
|
|
9
|
-
private splatIndexCapacity;
|
|
10
|
-
private dataTexture;
|
|
11
|
-
private transformsTexture;
|
|
12
|
-
private transformIndicesTexture;
|
|
13
|
-
private shTexture;
|
|
14
|
-
private usedSHDegree;
|
|
15
|
-
constructor();
|
|
16
|
-
private ensureSplatIndexCapacity;
|
|
17
|
-
private getExpandedCapacity;
|
|
18
|
-
private createGeometry;
|
|
19
|
-
private createMaterial;
|
|
20
|
-
private createTextures;
|
|
21
|
-
private createSHTexture;
|
|
22
|
-
/**
|
|
23
|
-
* 设置球谐阶数
|
|
24
|
-
* @param degree SH 阶数 (0, 1, 或 2),0 表示禁用 SH
|
|
25
|
-
*/
|
|
26
|
-
private setMaxShDegree;
|
|
27
|
-
private collectObjects;
|
|
28
|
-
private isSceneNeedsRebuild;
|
|
29
|
-
onBeforeRender: (renderer: THREE.WebGLRenderer, scene: THREE.Scene, camera: THREE.Camera) => void;
|
|
30
|
-
dispose(): void;
|
|
31
|
-
}
|
|
32
|
-
export { PBMGSRenderMesh };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|