From a79d4d15ba3d9180eb84297dfa6a45795ef025de Mon Sep 17 00:00:00 2001 From: Kyle Harrington Date: Tue, 28 May 2024 21:41:08 -0400 Subject: [PATCH] Fix scale to be reasonable --- .../sc/iview/commands/demo/animation/VolumeTimeseriesDemo.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/sc/iview/commands/demo/animation/VolumeTimeseriesDemo.kt b/src/main/kotlin/sc/iview/commands/demo/animation/VolumeTimeseriesDemo.kt index 0524f340..14910efe 100644 --- a/src/main/kotlin/sc/iview/commands/demo/animation/VolumeTimeseriesDemo.kt +++ b/src/main/kotlin/sc/iview/commands/demo/animation/VolumeTimeseriesDemo.kt @@ -69,7 +69,7 @@ class VolumeTimeseriesDemo : Command { val dataset = makeDataset() val bdv = BdvFunctions.show(dataset, "test") - sciView.addVolume(dataset, "Volume Render Demo", floatArrayOf(1f, 1f, 1f)) { + sciView.addVolume(dataset, "Volume Render Demo", floatArrayOf(0.01f, 0.01f, 0.01f)) { pixelToWorldRatio = 10f this.geometryOrNull()?.dirty = true this.spatialOrNull()?.needsUpdate = true