@cognite/reveal 4.12.1-dev.20240502 → 4.12.1-dev.20240503
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,7 +8,7 @@ export declare class SSAOPass implements RenderPass {
|
|
|
8
8
|
private readonly _fullScreenTriangle;
|
|
9
9
|
private readonly _ssaoShaderMaterial;
|
|
10
10
|
set ssaoParameters(ssaoParameters: SsaoParameters);
|
|
11
|
-
constructor(depthTexture: THREE.Texture, ssaoParameters: SsaoParameters);
|
|
11
|
+
constructor(depthTexture: THREE.Texture | null, ssaoParameters: SsaoParameters);
|
|
12
12
|
render(renderer: THREE.WebGLRenderer, camera: THREE.Camera): void;
|
|
13
13
|
private createKernel;
|
|
14
14
|
}
|
|
@@ -18,7 +18,7 @@ export declare enum BlitEffect {
|
|
|
18
18
|
export type BlitOptions = {
|
|
19
19
|
texture: THREE.Texture;
|
|
20
20
|
effect?: BlitEffect;
|
|
21
|
-
depthTexture
|
|
21
|
+
depthTexture: THREE.DepthTexture | null;
|
|
22
22
|
ssaoTexture?: THREE.Texture;
|
|
23
23
|
blendOptions?: BlendOptions;
|
|
24
24
|
overrideAlpha?: number;
|
|
@@ -27,9 +27,9 @@ export type BlitOptions = {
|
|
|
27
27
|
};
|
|
28
28
|
export type DepthBlendBlitOptions = {
|
|
29
29
|
texture: THREE.Texture;
|
|
30
|
-
depthTexture: THREE.DepthTexture;
|
|
30
|
+
depthTexture: THREE.DepthTexture | null;
|
|
31
31
|
blendTexture: THREE.Texture;
|
|
32
|
-
blendDepthTexture: THREE.Texture;
|
|
32
|
+
blendDepthTexture: THREE.Texture | null;
|
|
33
33
|
blendFactor: number;
|
|
34
34
|
overrideAlpha?: number;
|
|
35
35
|
outline?: boolean;
|
|
@@ -37,7 +37,7 @@ export type DepthBlendBlitOptions = {
|
|
|
37
37
|
export type PointCloudPostProcessingOptions = {
|
|
38
38
|
logDepthTexture: THREE.Texture;
|
|
39
39
|
texture: THREE.Texture;
|
|
40
|
-
depthTexture: THREE.DepthTexture;
|
|
40
|
+
depthTexture: THREE.DepthTexture | null;
|
|
41
41
|
pointBlending: boolean;
|
|
42
42
|
edlOptions: EdlOptions;
|
|
43
43
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cognite/reveal",
|
|
3
|
-
"version": "4.12.1-dev.
|
|
3
|
+
"version": "4.12.1-dev.20240503",
|
|
4
4
|
"description": "WebGL based 3D viewer for CAD and point clouds processed in Cognite Data Fusion.",
|
|
5
5
|
"homepage": "https://github.com/cognitedata/reveal/tree/master/viewer",
|
|
6
6
|
"repository": {
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"@types/random-seed": "^0.3.5",
|
|
96
96
|
"@types/skmeans": "^0.11.7",
|
|
97
97
|
"@types/stats": "^0.16.30",
|
|
98
|
-
"@types/three": "^0.
|
|
98
|
+
"@types/three": "^0.164.0",
|
|
99
99
|
"@types/tween.js": "^18.6.1",
|
|
100
100
|
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
|
101
101
|
"@typescript-eslint/parser": "^7.7.1",
|