From 09bfa95bce7508efb590687659ec34b1ba267d3f Mon Sep 17 00:00:00 2001 From: Andreas Sundquist Date: Wed, 18 Jun 2025 10:08:48 -0700 Subject: [PATCH] Add preBlurAmount and blurAmount sliders to examples/editor. Move other settings out into main right gui panel. (#54) --- examples/editor/index.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/editor/index.html b/examples/editor/index.html index 925608a..d878109 100644 --- a/examples/editor/index.html +++ b/examples/editor/index.html @@ -468,11 +468,14 @@ const normalColor = dyno.dynoBool(false); gui.add(normalColor, "value").name("Normal color").onChange(() => updateFrameSplats()); + gui.add(spark, "maxStdDev", 0.1, 3.0, 0.01).name("Max Gsplat stddev").listen(); + gui.add(spark, "falloff", 0, 1, 0.01).name("Gaussian falloff").listen(); + gui.add(spark, "preBlurAmount", 0, 2, 0.1).name("Blur amount (no AA)"); + gui.add(spark, "blurAmount", 0, 2, 0.1).name("Blur amount (AA)"); + const splatsFolder = secondGui.addFolder("Files"); const editFolder = gui.addFolder("Edit Splats").close(); - editFolder.add(spark, "maxStdDev", 0.1, 3.0, 0.01).name("Max Gsplat stddev").listen(); - editFolder.add(spark, "falloff", 0, 1, 0.01).name("Gaussian falloff").listen(); function updateFrameSplats() { frame.children.forEach((child) => {