@jdultra/threedtiles 13.1.9 → 13.2.0
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/splats/SplatsMesh.d.ts +8 -4
- package/dist/splats/SplatsMeshQuality.d.ts +61 -0
- package/dist/splats/SplatsMeshScreenSpace.d.ts +61 -0
- package/dist/splats/SplatsMeshWorldSpeed.d.ts +61 -0
- package/dist/threedtiles.cjs.js +171 -107
- package/dist/threedtiles.cjs.js.map +1 -1
- package/dist/threedtiles.es.js +6806 -2726
- package/dist/threedtiles.es.js.map +1 -1
- package/dist/threedtiles.umd.js +171 -107
- package/dist/threedtiles.umd.js.map +1 -1
- package/dist/tileset/OGC3DTile.d.ts +7 -2
- package/package.json +14 -13
|
@@ -10,10 +10,8 @@ export class SplatsMesh extends Mesh<import("three").BufferGeometry<import("thre
|
|
|
10
10
|
batchSize: number;
|
|
11
11
|
maxSplats: number;
|
|
12
12
|
numSplatsRendered: number;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
cov1RenderTarget: WebGL3DRenderTarget;
|
|
16
|
-
cov2RenderTarget: WebGL3DRenderTarget;
|
|
13
|
+
positionColorRenderTarget: WebGL3DRenderTarget;
|
|
14
|
+
covarianceRenderTarget: WebGL3DRenderTarget;
|
|
17
15
|
renderer: any;
|
|
18
16
|
sortID: number;
|
|
19
17
|
freeAddresses: MinPriorityQueue<any, any>;
|
|
@@ -25,6 +23,12 @@ export class SplatsMesh extends Mesh<import("three").BufferGeometry<import("thre
|
|
|
25
23
|
copyCamera: OrthographicCamera;
|
|
26
24
|
copyScene: Scene;
|
|
27
25
|
copyQuad: Mesh<PlaneGeometry, ShaderMaterial, import("three").Object3DEventMap>;
|
|
26
|
+
/**
|
|
27
|
+
* Sets the splats visualization quality where 1 is the maximum quality and 0 is the fastest
|
|
28
|
+
* @param {number} quality value between 0 and 1 (1 highest quality)
|
|
29
|
+
*/
|
|
30
|
+
setQuality(quality: number): void;
|
|
31
|
+
updateShaderParams(camera: any): void;
|
|
28
32
|
dispose(): void;
|
|
29
33
|
copyTex2D(src: any, dst: any, scissorBox: any, layer: any): void;
|
|
30
34
|
copyTex3D(src: any, dst: any, numLayers: any): void;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export function splatsVertexShader(): string;
|
|
2
|
+
export function splatsFragmentShader(): string;
|
|
3
|
+
export class SplatsMesh extends Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap> {
|
|
4
|
+
constructor(renderer: any, isStatic: any, fragShader: any);
|
|
5
|
+
numBatches: number;
|
|
6
|
+
numVisibleBatches: number;
|
|
7
|
+
orderAttribute: InstancedBufferAttribute;
|
|
8
|
+
textureSize: number;
|
|
9
|
+
numTextures: number;
|
|
10
|
+
batchSize: number;
|
|
11
|
+
maxSplats: number;
|
|
12
|
+
numSplatsRendered: number;
|
|
13
|
+
positionColorRenderTarget: WebGL3DRenderTarget;
|
|
14
|
+
covarianceRenderTarget: WebGL3DRenderTarget;
|
|
15
|
+
renderer: any;
|
|
16
|
+
sortID: number;
|
|
17
|
+
freeAddresses: MinPriorityQueue<any, any>;
|
|
18
|
+
worker: any;
|
|
19
|
+
sortListeners: any[];
|
|
20
|
+
cameraPosition: Vector3;
|
|
21
|
+
copyMaterial2D: ShaderMaterial;
|
|
22
|
+
copyMaterial3D: ShaderMaterial;
|
|
23
|
+
copyCamera: OrthographicCamera;
|
|
24
|
+
copyScene: Scene;
|
|
25
|
+
copyQuad: Mesh<PlaneGeometry, ShaderMaterial, import("three").Object3DEventMap>;
|
|
26
|
+
updateShaderParams(camera: any): void;
|
|
27
|
+
dispose(): void;
|
|
28
|
+
copyTex2D(src: any, dst: any, scissorBox: any, layer: any): void;
|
|
29
|
+
copyTex3D(src: any, dst: any, numLayers: any): void;
|
|
30
|
+
/**
|
|
31
|
+
* Specify a size multiplier for splats
|
|
32
|
+
* @param {number} sizeMultiplier
|
|
33
|
+
*/
|
|
34
|
+
setSplatsSizeMultiplier(sizeMultiplier: number): void;
|
|
35
|
+
/**
|
|
36
|
+
* specify a crop radius for splats
|
|
37
|
+
* @param {number} cropRadius
|
|
38
|
+
*/
|
|
39
|
+
setSplatsCropRadius(cropRadius: number): void;
|
|
40
|
+
sort(cameraPosition: any): void;
|
|
41
|
+
raycast(raycaster: any, intersects: any): void;
|
|
42
|
+
addSplatsTile(positions: any, colors: any, cov1: any, cov2: any): {
|
|
43
|
+
hide: () => void;
|
|
44
|
+
show: (callback: any) => void;
|
|
45
|
+
remove: () => void;
|
|
46
|
+
sort: (cameraPosition: any) => void;
|
|
47
|
+
raycast: () => void;
|
|
48
|
+
isSplatsBatch: boolean;
|
|
49
|
+
} | undefined;
|
|
50
|
+
addSplatsBatch(positionsStartIndex: any, address: any, positions: any, colors: any, cov1: any, cov2: any): void;
|
|
51
|
+
growTextures(): void;
|
|
52
|
+
}
|
|
53
|
+
import { Mesh } from "three";
|
|
54
|
+
import { InstancedBufferAttribute } from "three";
|
|
55
|
+
import { WebGL3DRenderTarget } from "three";
|
|
56
|
+
import { MinPriorityQueue } from 'data-structure-typed';
|
|
57
|
+
import { Vector3 } from "three";
|
|
58
|
+
import { ShaderMaterial } from "three";
|
|
59
|
+
import { OrthographicCamera } from "three";
|
|
60
|
+
import { Scene } from "three";
|
|
61
|
+
import { PlaneGeometry } from "three";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export function splatsVertexShader(): string;
|
|
2
|
+
export function splatsFragmentShader(): string;
|
|
3
|
+
export class SplatsMesh extends Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap> {
|
|
4
|
+
constructor(renderer: any, isStatic: any, fragShader: any);
|
|
5
|
+
numBatches: number;
|
|
6
|
+
numVisibleBatches: number;
|
|
7
|
+
orderAttribute: InstancedBufferAttribute;
|
|
8
|
+
textureSize: number;
|
|
9
|
+
numTextures: number;
|
|
10
|
+
batchSize: number;
|
|
11
|
+
maxSplats: number;
|
|
12
|
+
numSplatsRendered: number;
|
|
13
|
+
positionColorRenderTarget: WebGL3DRenderTarget;
|
|
14
|
+
covarianceRenderTarget: WebGL3DRenderTarget;
|
|
15
|
+
renderer: any;
|
|
16
|
+
sortID: number;
|
|
17
|
+
freeAddresses: MinPriorityQueue<any, any>;
|
|
18
|
+
worker: any;
|
|
19
|
+
sortListeners: any[];
|
|
20
|
+
cameraPosition: Vector3;
|
|
21
|
+
copyMaterial2D: ShaderMaterial;
|
|
22
|
+
copyMaterial3D: ShaderMaterial;
|
|
23
|
+
copyCamera: OrthographicCamera;
|
|
24
|
+
copyScene: Scene;
|
|
25
|
+
copyQuad: Mesh<PlaneGeometry, ShaderMaterial, import("three").Object3DEventMap>;
|
|
26
|
+
updateShaderParams(camera: any): void;
|
|
27
|
+
dispose(): void;
|
|
28
|
+
copyTex2D(src: any, dst: any, scissorBox: any, layer: any): void;
|
|
29
|
+
copyTex3D(src: any, dst: any, numLayers: any): void;
|
|
30
|
+
/**
|
|
31
|
+
* Specify a size multiplier for splats
|
|
32
|
+
* @param {number} sizeMultiplier
|
|
33
|
+
*/
|
|
34
|
+
setSplatsSizeMultiplier(sizeMultiplier: number): void;
|
|
35
|
+
/**
|
|
36
|
+
* specify a crop radius for splats
|
|
37
|
+
* @param {number} cropRadius
|
|
38
|
+
*/
|
|
39
|
+
setSplatsCropRadius(cropRadius: number): void;
|
|
40
|
+
sort(cameraPosition: any): void;
|
|
41
|
+
raycast(raycaster: any, intersects: any): void;
|
|
42
|
+
addSplatsTile(positions: any, colors: any, cov1: any, cov2: any): {
|
|
43
|
+
hide: () => void;
|
|
44
|
+
show: (callback: any) => void;
|
|
45
|
+
remove: () => void;
|
|
46
|
+
sort: (cameraPosition: any) => void;
|
|
47
|
+
raycast: () => void;
|
|
48
|
+
isSplatsBatch: boolean;
|
|
49
|
+
} | undefined;
|
|
50
|
+
addSplatsBatch(positionsStartIndex: any, address: any, positions: any, colors: any, cov1: any, cov2: any): void;
|
|
51
|
+
growTextures(): void;
|
|
52
|
+
}
|
|
53
|
+
import { Mesh } from "three";
|
|
54
|
+
import { InstancedBufferAttribute } from "three";
|
|
55
|
+
import { WebGL3DRenderTarget } from "three";
|
|
56
|
+
import { MinPriorityQueue } from 'data-structure-typed';
|
|
57
|
+
import { Vector3 } from "three";
|
|
58
|
+
import { ShaderMaterial } from "three";
|
|
59
|
+
import { OrthographicCamera } from "three";
|
|
60
|
+
import { Scene } from "three";
|
|
61
|
+
import { PlaneGeometry } from "three";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export function splatsVertexShader(): string;
|
|
2
|
+
export function splatsFragmentShader(): string;
|
|
3
|
+
export class SplatsMesh extends Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap> {
|
|
4
|
+
constructor(renderer: any, isStatic: any, fragShader: any);
|
|
5
|
+
numBatches: number;
|
|
6
|
+
numVisibleBatches: number;
|
|
7
|
+
orderAttribute: InstancedBufferAttribute;
|
|
8
|
+
textureSize: number;
|
|
9
|
+
numTextures: number;
|
|
10
|
+
batchSize: number;
|
|
11
|
+
maxSplats: number;
|
|
12
|
+
numSplatsRendered: number;
|
|
13
|
+
positionColorRenderTarget: WebGL3DRenderTarget;
|
|
14
|
+
covarianceRenderTarget: WebGL3DRenderTarget;
|
|
15
|
+
renderer: any;
|
|
16
|
+
sortID: number;
|
|
17
|
+
freeAddresses: MinPriorityQueue<any, any>;
|
|
18
|
+
worker: any;
|
|
19
|
+
sortListeners: any[];
|
|
20
|
+
cameraPosition: Vector3;
|
|
21
|
+
copyMaterial2D: ShaderMaterial;
|
|
22
|
+
copyMaterial3D: ShaderMaterial;
|
|
23
|
+
copyCamera: OrthographicCamera;
|
|
24
|
+
copyScene: Scene;
|
|
25
|
+
copyQuad: Mesh<PlaneGeometry, ShaderMaterial, import("three").Object3DEventMap>;
|
|
26
|
+
updateShaderParams(camera: any): void;
|
|
27
|
+
dispose(): void;
|
|
28
|
+
copyTex2D(src: any, dst: any, scissorBox: any, layer: any): void;
|
|
29
|
+
copyTex3D(src: any, dst: any, numLayers: any): void;
|
|
30
|
+
/**
|
|
31
|
+
* Specify a size multiplier for splats
|
|
32
|
+
* @param {number} sizeMultiplier
|
|
33
|
+
*/
|
|
34
|
+
setSplatsSizeMultiplier(sizeMultiplier: number): void;
|
|
35
|
+
/**
|
|
36
|
+
* specify a crop radius for splats
|
|
37
|
+
* @param {number} cropRadius
|
|
38
|
+
*/
|
|
39
|
+
setSplatsCropRadius(cropRadius: number): void;
|
|
40
|
+
sort(cameraPosition: any): void;
|
|
41
|
+
raycast(raycaster: any, intersects: any): void;
|
|
42
|
+
addSplatsTile(positions: any, colors: any, cov1: any, cov2: any): {
|
|
43
|
+
hide: () => void;
|
|
44
|
+
show: (callback: any) => void;
|
|
45
|
+
remove: () => void;
|
|
46
|
+
sort: (cameraPosition: any) => void;
|
|
47
|
+
raycast: () => void;
|
|
48
|
+
isSplatsBatch: boolean;
|
|
49
|
+
} | undefined;
|
|
50
|
+
addSplatsBatch(positionsStartIndex: any, address: any, positions: any, colors: any, cov1: any, cov2: any): void;
|
|
51
|
+
growTextures(): void;
|
|
52
|
+
}
|
|
53
|
+
import { Mesh } from "three";
|
|
54
|
+
import { InstancedBufferAttribute } from "three";
|
|
55
|
+
import { WebGL3DRenderTarget } from "three";
|
|
56
|
+
import { MinPriorityQueue } from 'data-structure-typed';
|
|
57
|
+
import { Vector3 } from "three";
|
|
58
|
+
import { ShaderMaterial } from "three";
|
|
59
|
+
import { OrthographicCamera } from "three";
|
|
60
|
+
import { Scene } from "three";
|
|
61
|
+
import { PlaneGeometry } from "three";
|