Bump dist build

This commit is contained in:
sparkjsdev[bot]
2025-07-12 02:01:30 +00:00
parent 0639f2f963
commit 56cd3b7977
10 changed files with 24 additions and 24 deletions
+6 -6
View File
@@ -7990,7 +7990,7 @@ uniform float preBlurAmount;
uniform float focalDistance;
uniform float apertureAngle;
uniform float clipXY;
uniform float renderScale;
uniform float focalAdjustment;
uniform usampler2DArray packedSplats;
@@ -8077,7 +8077,7 @@ void main() {
mat3 cov3D = RS * transpose(RS);
vec2 scaledRenderSize = renderSize * renderScale;
vec2 scaledRenderSize = renderSize * focalAdjustment;
vec2 focal = 0.5 * scaledRenderSize * vec2(projectionMatrix[0][0], projectionMatrix[1][1]);
float invZ = 1.0 / viewCenter.z;
vec2 J1 = focal * invZ;
@@ -8192,7 +8192,7 @@ const aA = class aA extends Q.Mesh {
depthWrite: !1,
side: Q.DoubleSide
});
super(cs, i), this.renderScale = 1, this.splatTexture = null, this.autoViewpoints = [], this.rotateToAccumulator = new Zt({ value: new Q.Quaternion() }), this.translateToAccumulator = new St({ value: new Q.Vector3() }), this.lastFrame = -1, this.lastUpdateTime = null, this.defaultCameras = [], this.pendingUpdate = null, this.envViewpoint = null, this.frustumCulled = !1, this.renderer = A.renderer, this.material = i, this.uniforms = e;
super(cs, i), this.splatTexture = null, this.autoViewpoints = [], this.rotateToAccumulator = new Zt({ value: new Q.Quaternion() }), this.translateToAccumulator = new St({ value: new Q.Vector3() }), this.lastFrame = -1, this.lastUpdateTime = null, this.defaultCameras = [], this.pendingUpdate = null, this.envViewpoint = null, this.frustumCulled = !1, this.renderer = A.renderer, this.material = i, this.uniforms = e;
const n = kA(
{ gsplat: W },
{ gsplat: W },
@@ -8205,7 +8205,7 @@ const aA = class aA extends Q.Mesh {
}), { gsplat: r };
}
);
this.modifier = new XQ(n), this.autoUpdate = A.autoUpdate ?? !0, this.preUpdate = A.preUpdate ?? !1, this.originDistance = A.originDistance ?? 1, this.maxStdDev = A.maxStdDev ?? Math.sqrt(8), this.enable2DGS = A.enable2DGS ?? !1, this.preBlurAmount = A.preBlurAmount ?? 0, this.blurAmount = A.blurAmount ?? 0.3, this.focalDistance = A.focalDistance ?? 0, this.apertureAngle = A.apertureAngle ?? 0, this.falloff = A.falloff ?? 1, this.clipXY = A.clipXY ?? 1.4, this.active = new Ne(), this.accumulatorCount = 1, this.freeAccumulators = [];
this.modifier = new XQ(n), this.autoUpdate = A.autoUpdate ?? !0, this.preUpdate = A.preUpdate ?? !1, this.originDistance = A.originDistance ?? 1, this.maxStdDev = A.maxStdDev ?? Math.sqrt(8), this.enable2DGS = A.enable2DGS ?? !1, this.preBlurAmount = A.preBlurAmount ?? 0, this.blurAmount = A.blurAmount ?? 0.3, this.focalDistance = A.focalDistance ?? 0, this.apertureAngle = A.apertureAngle ?? 0, this.falloff = A.falloff ?? 1, this.clipXY = A.clipXY ?? 1.4, this.focalAdjustment = A.focalAdjustment ?? 1, this.active = new Ne(), this.accumulatorCount = 1, this.freeAccumulators = [];
for (let r = 0; r < 1; ++r)
this.freeAccumulators.push(new Ne()), this.accumulatorCount += 1;
this.defaultView = new ce({
@@ -8245,7 +8245,7 @@ const aA = class aA extends Q.Mesh {
// Clip Gsplats that are clipXY times beyond the +-1 frustum bounds
clipXY: { value: 1.4 },
// Debug renderSize scale factor
renderScale: { value: 1 },
focalAdjustment: { value: 1 },
// Enable splat texture rendering
splatTexEnable: { value: !1 },
// Splat texture to render
@@ -8322,7 +8322,7 @@ const aA = class aA extends Q.Mesh {
}
}
const I = s;
if (this.uniforms.near.value = I.near, this.uniforms.far.value = I.far, this.uniforms.encodeLinear.value = o.encodeLinear, this.uniforms.maxStdDev.value = this.maxStdDev, this.uniforms.enable2DGS.value = this.enable2DGS, this.uniforms.preBlurAmount.value = this.preBlurAmount, this.uniforms.blurAmount.value = this.blurAmount, this.uniforms.focalDistance.value = this.focalDistance, this.uniforms.apertureAngle.value = this.apertureAngle, this.uniforms.falloff.value = this.falloff, this.uniforms.clipXY.value = this.clipXY, this.uniforms.renderScale.value = this.renderScale, this.splatTexture) {
if (this.uniforms.near.value = I.near, this.uniforms.far.value = I.far, this.uniforms.encodeLinear.value = o.encodeLinear, this.uniforms.maxStdDev.value = this.maxStdDev, this.uniforms.enable2DGS.value = this.enable2DGS, this.uniforms.preBlurAmount.value = this.preBlurAmount, this.uniforms.blurAmount.value = this.blurAmount, this.uniforms.focalDistance.value = this.focalDistance, this.uniforms.apertureAngle.value = this.apertureAngle, this.uniforms.falloff.value = this.falloff, this.uniforms.clipXY.value = this.clipXY, this.uniforms.focalAdjustment.value = this.focalAdjustment, this.splatTexture) {
const { enable: E, texture: h, multiply: u, add: p, near: d, far: y, mid: f } = this.splatTexture;
E && h ? (this.uniforms.splatTexEnable.value = !0, this.uniforms.splatTexture.value = h, u ? this.uniforms.splatTexMul.value.fromArray(u.elements) : this.uniforms.splatTexMul.value.set(
0.5 / this.maxStdDev,