Expand internal splat scale encoding to e^[-12,9]. Lower zero cut-off to e^-30. Fix background color selection in editor. (#110)

This commit is contained in:
Andreas Sundquist
2025-07-11 10:48:10 -07:00
committed by GitHub
parent c8394665ec
commit dc07e02a33
10 changed files with 33 additions and 28 deletions
+5 -2
View File
@@ -143,6 +143,7 @@
orbit: false,
reversePointerDir: false,
reversePointerSlide: false,
backgroundColor: "#000000",
openFiles: () => {
fileInput.click();
},
@@ -485,8 +486,10 @@
spark.focalDistance = Math.exp(value);
});
gui.add(spark, "apertureAngle", 0, 0.01 * Math.PI, 0.001).name("Aperture angle").listen();
scene.background = new THREE.Color(0, 0, 0);
gui.addColor(scene, "background").name("Background color").listen();
scene.background = new THREE.Color(guiOptions.backgroundColor);
gui.addColor(guiOptions, "backgroundColor").name("Background color").onChange((value) => {
scene.background.set(value);
});
const debugFolder = gui.addFolder("Debug").close();
const normalColor = dyno.dynoBool(false);