gaussian-splat-lite 1.4.1 → 1.4.2
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/CHANGELOG.md +9 -1
- package/dist/gaussian-splat-lite.cjs +44 -129
- package/dist/gaussian-splat-lite.cjs.map +1 -1
- package/dist/gaussian-splat-lite.min.cjs +62 -150
- package/dist/gaussian-splat-lite.min.cjs.map +1 -1
- package/dist/gaussian-splat-lite.module.js +44 -129
- package/dist/gaussian-splat-lite.module.js.map +1 -1
- package/dist/gaussian-splat-lite.module.min.js +497 -590
- package/dist/gaussian-splat-lite.module.min.js.map +1 -1
- package/dist/types/addons/neuralDenoiseWeights.d.cts +3 -21
- package/dist/types/addons/neuralDenoiseWeights.d.ts +3 -21
- package/dist/types/rendering/GaussianSplatRenderer.d.cts +1 -1
- package/dist/types/rendering/GaussianSplatRenderer.d.ts +1 -1
- package/dist/types/rendering/SplatGeometry.d.cts +2 -2
- package/dist/types/rendering/SplatGeometry.d.ts +2 -2
- package/package.json +1 -1
|
@@ -21,22 +21,8 @@ export type NeuralDenoiseModel = {
|
|
|
21
21
|
*/
|
|
22
22
|
compactMix?: [settled: number, movingOrShort: number];
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* `movingKnee` are required. Applies only while the camera moves and
|
|
27
|
-
* preserves the stored accumulated history. Object motion with a still
|
|
28
|
-
* camera continues to use the existing history rejection.
|
|
29
|
-
*/
|
|
30
|
-
movingMean?: number;
|
|
31
|
-
/**
|
|
32
|
-
* Required with nonzero `movingMean`: nonnegative multiplier of the
|
|
33
|
-
* mean's squared standard error. Larger values allow smoothing across
|
|
34
|
-
* greater color differences.
|
|
35
|
-
*/
|
|
36
|
-
movingNoise?: number;
|
|
37
|
-
/**
|
|
38
|
-
* Required with `compact` or nonzero `movingMean`: positive camera-induced
|
|
39
|
-
* screen motion, in pixels per frame, at which the motion response is 0.5.
|
|
24
|
+
* Required with `compact`: positive camera-induced screen motion, in
|
|
25
|
+
* pixels per frame, at which the motion response is 0.5.
|
|
40
26
|
*/
|
|
41
27
|
movingKnee?: number;
|
|
42
28
|
/** Strengthen display stabilization for single-sample stochastic noise. */
|
|
@@ -146,11 +132,7 @@ export type NeuralDenoiseModel = {
|
|
|
146
132
|
compactMix: [settled: number, movingOrShort: number];
|
|
147
133
|
movingKnee: number;
|
|
148
134
|
}
|
|
149
|
-
)
|
|
150
|
-
(
|
|
151
|
-
| { movingMean?: 0 }
|
|
152
|
-
| { movingMean: number; movingNoise: number; movingKnee: number }
|
|
153
|
-
);
|
|
135
|
+
);
|
|
154
136
|
export declare const neuralDenoiseModels: {
|
|
155
137
|
quality: NeuralDenoiseModel;
|
|
156
138
|
performance: NeuralDenoiseModel;
|
|
@@ -21,22 +21,8 @@ export type NeuralDenoiseModel = {
|
|
|
21
21
|
*/
|
|
22
22
|
compactMix?: [settled: number, movingOrShort: number];
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* `movingKnee` are required. Applies only while the camera moves and
|
|
27
|
-
* preserves the stored accumulated history. Object motion with a still
|
|
28
|
-
* camera continues to use the existing history rejection.
|
|
29
|
-
*/
|
|
30
|
-
movingMean?: number;
|
|
31
|
-
/**
|
|
32
|
-
* Required with nonzero `movingMean`: nonnegative multiplier of the
|
|
33
|
-
* mean's squared standard error. Larger values allow smoothing across
|
|
34
|
-
* greater color differences.
|
|
35
|
-
*/
|
|
36
|
-
movingNoise?: number;
|
|
37
|
-
/**
|
|
38
|
-
* Required with `compact` or nonzero `movingMean`: positive camera-induced
|
|
39
|
-
* screen motion, in pixels per frame, at which the motion response is 0.5.
|
|
24
|
+
* Required with `compact`: positive camera-induced screen motion, in
|
|
25
|
+
* pixels per frame, at which the motion response is 0.5.
|
|
40
26
|
*/
|
|
41
27
|
movingKnee?: number;
|
|
42
28
|
/** Strengthen display stabilization for single-sample stochastic noise. */
|
|
@@ -146,11 +132,7 @@ export type NeuralDenoiseModel = {
|
|
|
146
132
|
compactMix: [settled: number, movingOrShort: number];
|
|
147
133
|
movingKnee: number;
|
|
148
134
|
}
|
|
149
|
-
)
|
|
150
|
-
(
|
|
151
|
-
| { movingMean?: 0 }
|
|
152
|
-
| { movingMean: number; movingNoise: number; movingKnee: number }
|
|
153
|
-
);
|
|
135
|
+
);
|
|
154
136
|
export declare const neuralDenoiseModels: {
|
|
155
137
|
quality: NeuralDenoiseModel;
|
|
156
138
|
performance: NeuralDenoiseModel;
|
|
@@ -200,6 +200,7 @@ export declare class GaussianSplatRenderer extends THREE.Mesh<
|
|
|
200
200
|
onDirty?: () => void;
|
|
201
201
|
dirty: boolean;
|
|
202
202
|
private readonly backend;
|
|
203
|
+
private readonly geometries;
|
|
203
204
|
private readonly materialState;
|
|
204
205
|
private orderingBuffer;
|
|
205
206
|
private orderingReady;
|
|
@@ -333,7 +334,6 @@ export declare class GaussianSplatRenderer extends THREE.Mesh<
|
|
|
333
334
|
* the update boundary too, keeping mode changes outside an active draw.
|
|
334
335
|
*/
|
|
335
336
|
private syncStochasticFrame;
|
|
336
|
-
private selectMaterial;
|
|
337
337
|
private applyMaterialState;
|
|
338
338
|
private reportedRenderError;
|
|
339
339
|
private runAutomaticUpdate;
|
|
@@ -200,6 +200,7 @@ export declare class GaussianSplatRenderer extends THREE.Mesh<
|
|
|
200
200
|
onDirty?: () => void;
|
|
201
201
|
dirty: boolean;
|
|
202
202
|
private readonly backend;
|
|
203
|
+
private readonly geometries;
|
|
203
204
|
private readonly materialState;
|
|
204
205
|
private orderingBuffer;
|
|
205
206
|
private orderingReady;
|
|
@@ -333,7 +334,6 @@ export declare class GaussianSplatRenderer extends THREE.Mesh<
|
|
|
333
334
|
* the update boundary too, keeping mode changes outside an active draw.
|
|
334
335
|
*/
|
|
335
336
|
private syncStochasticFrame;
|
|
336
|
-
private selectMaterial;
|
|
337
337
|
private applyMaterialState;
|
|
338
338
|
private reportedRenderError;
|
|
339
339
|
private runAutomaticUpdate;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as THREE from "three";
|
|
2
2
|
export declare const SPLATS_PER_INSTANCE = 128;
|
|
3
|
-
/** Repeated quads; position.z identifies the Splat
|
|
3
|
+
/** Repeated triangles or quads; position.z identifies the Splat in each instance. */
|
|
4
4
|
export declare class SplatGeometry extends THREE.InstancedBufferGeometry {
|
|
5
|
-
constructor();
|
|
5
|
+
constructor(triangle?: boolean);
|
|
6
6
|
setSplatCount(count: number): void;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as THREE from "three";
|
|
2
2
|
export declare const SPLATS_PER_INSTANCE = 128;
|
|
3
|
-
/** Repeated quads; position.z identifies the Splat
|
|
3
|
+
/** Repeated triangles or quads; position.z identifies the Splat in each instance. */
|
|
4
4
|
export declare class SplatGeometry extends THREE.InstancedBufferGeometry {
|
|
5
|
-
constructor();
|
|
5
|
+
constructor(triangle?: boolean);
|
|
6
6
|
setSplatCount(count: number): void;
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gaussian-splat-lite",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "Three.js Gaussian Splatting renderer with WebGPU/WebGL2, GPU sorting, streaming LOD, and high-precision GIS/ECEF support. Supports PLY, SPZ, SOG and RAD.",
|
|
5
5
|
"author": "William Liu <lyz15972107087@gmail.com>",
|
|
6
6
|
"type": "module",
|