From 63ad5c7d9eafe0b6a9f2697ea733b9541f17bf13 Mon Sep 17 00:00:00 2001 From: jon-grangien Date: Wed, 9 May 2018 11:00:00 -0400 Subject: [PATCH] Try with different volume rendering values for the data --- data/assets/mas.scene | 6 ++++++ .../assets/scene/solarsystem/model/mas/mas.asset | 16 ++++++++-------- data/mas/mas_transfer_function.tf | 8 +++++++- 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/data/assets/mas.scene b/data/assets/mas.scene index 407d414da6..afab2af7cc 100644 --- a/data/assets/mas.scene +++ b/data/assets/mas.scene @@ -31,6 +31,12 @@ local Keybindings = { Command = "openspace.time.setTime('2017 AUG 21 17:00:00');", Documentation = "Set time to when eclipse data starts", Local = false + }, + { + Key = "F9", + Command = "openspace.setPropertyValueSingle('Scene.SunGlare.renderable.Enabled', false);", + Documentation = "Turn off sun glare", + Local = false } } diff --git a/data/assets/scene/solarsystem/model/mas/mas.asset b/data/assets/scene/solarsystem/model/mas/mas.asset index 66fe3779a2..ec50389620 100644 --- a/data/assets/scene/solarsystem/model/mas/mas.asset +++ b/data/assets/scene/solarsystem/model/mas/mas.asset @@ -11,20 +11,20 @@ local Mas = { Type = "RenderableTimeVaryingVolume", -- Type = "RenderableKameleonVolume", Dimensions = {100, 100, 128}, - StepSize = 0.0001, + StepSize = 0.000001, TransferFunction = "${DATA}/mas/mas_transfer_function.tf", -- SourcePath = "${DATA}/mas/mas_merged_step_101.cdf", SourceDirectory = "${DATA}/mas/raw", - LowerValueBound = 0.01, - UpperValueBound = 2.0, - MinValue = 0.001, - MaxValue = 55000.0, + LowerValueBound = 0.000001, + UpperValueBound = 0.1, + MinValue = 0.000001, + MaxValue = 0.1, GridType = "Spherical", SecondsBefore = 24*60*60, SecondsAfter = 24*60*60, - Time = "2012-07-01T00:00:00.001", - VisUnit = "amu/cm^3", - -- VisUnit = "rho", + Time = "2017-08-01T17:00:00.001", + -- VisUnit = "amu/cm^3", + VisUnit = "rho", }, Transform = { Translation = { diff --git a/data/mas/mas_transfer_function.tf b/data/mas/mas_transfer_function.tf index a86a383e48..3f011b59c6 100644 --- a/data/mas/mas_transfer_function.tf +++ b/data/mas/mas_transfer_function.tf @@ -1,9 +1,15 @@ width 5 lower 0.0 upper 1.0 +mappingkey 0.000001 250 0 0 0 +mappingkey 0.000015 250 0 0 20 +mappingkey 0.00025 250 20 0 20 +mappingkey 0.004 250 0 0 0 +mappingkey 0.06 250 0 0 0 + mappingkey 0.15 250 0 0 0 mappingkey 0.20 250 0 0 20 mappingkey 0.35 250 20 0 20 mappingkey 0.40 250 0 0 0 mappingkey 0.60 250 0 0 0 -mappingkey 0.80 0 0 200 255 \ No newline at end of file +mappingkey 0.80 0 0 200 255