From f3c6a7e615b5c2d0fa5872f637af3adaceae7b2c Mon Sep 17 00:00:00 2001 From: ElonOlsson Date: Fri, 6 May 2022 14:50:20 -0400 Subject: [PATCH] version 2 of transerfunction for Batsrus model --- .../sun_earth_2012_fieldlines_batsrus.asset | 10 +++------- .../2012/sun_earth_2012_fieldlines_enlil.asset | 18 +++++------------- 2 files changed, 8 insertions(+), 20 deletions(-) diff --git a/data/assets/scene/solarsystem/heliosphere/2012/sun_earth_2012_fieldlines_batsrus.asset b/data/assets/scene/solarsystem/heliosphere/2012/sun_earth_2012_fieldlines_batsrus.asset index cd5fed2e43..f66f9aeaac 100644 --- a/data/assets/scene/solarsystem/heliosphere/2012/sun_earth_2012_fieldlines_batsrus.asset +++ b/data/assets/scene/solarsystem/heliosphere/2012/sun_earth_2012_fieldlines_batsrus.asset @@ -1,15 +1,13 @@ local transforms = asset.require('scene/solarsystem/planets/earth/magnetosphere/transforms_magnetosphere.asset') asset.require('scene/solarsystem/heliosphere/2012/reset_loop_action.asset') --- Specifying transfer functions local transferFunctions = asset.syncedResource({ Name = "Fieldlines Transfer Functions", Type = "HttpSynchronization", Identifier = "sun_earth_event_july_2012-fieldlines_transferfunctions", - Version = 1 + Version = 2 }) --- Specifying transfer functions local fieldlineData = asset.syncedResource({ Name = "Fieldlines Data BATSRUS", Type = "HttpSynchronization", @@ -97,8 +95,7 @@ local BatsrusJ12FlowLines = { batsrusVelocityColorTable, batsrusTopologyColorTable, }, - ColorTableRanges = colorRanges, - LoadAtRuntime = true + ColorTableRanges = colorRanges }, GUI = { Name = "Fieldlines BATSRUS J12 Flowlines", @@ -123,8 +120,7 @@ local BatsrusAsherStaticSeedsFlowLines = { batsrusVelocityColorTable, batsrusTopologyColorTable, }, - ColorTableRanges = colorRanges, - LoadAtRuntime = true + ColorTableRanges = colorRanges }, GUI = { Name = "Fieldlines BATSRUS Asher Static", diff --git a/data/assets/scene/solarsystem/heliosphere/2012/sun_earth_2012_fieldlines_enlil.asset b/data/assets/scene/solarsystem/heliosphere/2012/sun_earth_2012_fieldlines_enlil.asset index 68363dfc0f..65ffe33a0b 100644 --- a/data/assets/scene/solarsystem/heliosphere/2012/sun_earth_2012_fieldlines_enlil.asset +++ b/data/assets/scene/solarsystem/heliosphere/2012/sun_earth_2012_fieldlines_enlil.asset @@ -43,7 +43,6 @@ local colorRanges = { local interactionSphere = 695700000 - local ENLILSliceEqPlane11AU1 = { Identifier = "FL_ENLIL_slice_eqPlane_011AU_1", Parent = transforms.HEEQ180ReferenceFrame.Identifier, @@ -52,7 +51,6 @@ local ENLILSliceEqPlane11AU1 = { Type = "RenderableFieldlinesSequence", SourceFolder = unzippedDataDestination.EqPlane011AU1, InputFileType = "Osfls", - Color = { 0.4, 0.15, 0.4, 0.6 }, ColorMethod = "By Quantity", -- Color by Quantity ColorQuantity = 1, -- Velocity @@ -60,8 +58,7 @@ local ENLILSliceEqPlane11AU1 = { enlilDensityColorTable, enlilVelocityColorTable, }, - ColorTableRanges = colorRanges, - LoadAtRuntime = true + ColorTableRanges = colorRanges }, GUI = { Name = "Fieldlines ENLIL Slice Equatorial Plane 0.11 AU 1", @@ -77,7 +74,6 @@ local ENLILSliceEqPlane11AU2 = { Type = "RenderableFieldlinesSequence", SourceFolder = unzippedDataDestination.EqPlane011AU2, InputFileType = "Osfls", - Color = { 0.4, 0.15, 0.4, 0.6 }, ColorMethod = "By Quantity", -- Color by Quantity ColorQuantity = 1, -- Velocity @@ -85,8 +81,7 @@ local ENLILSliceEqPlane11AU2 = { enlilDensityColorTable, enlilVelocityColorTable, }, - ColorTableRanges = colorRanges, - LoadAtRuntime = true + ColorTableRanges = colorRanges }, GUI = { Name = "Fieldlines ENLIL Slice Equatorial Plane 0.11 AU 2", @@ -110,8 +105,7 @@ local ENLILSliceLat411AU1 = { enlilDensityColorTable, enlilVelocityColorTable, }, - ColorTableRanges = colorRanges, - LoadAtRuntime = true + ColorTableRanges = colorRanges }, GUI = { Name = "Fieldlines ENLIL Slice Latitude 4 0.11 AU 1", @@ -135,8 +129,7 @@ local ENLILSliceLat411AU2 = { enlilDensityColorTable, enlilVelocityColorTable, }, - ColorTableRanges = colorRanges, - LoadAtRuntime = true + ColorTableRanges = colorRanges }, GUI = { Name = "Fieldlines ENLIL Slice Latitude 4 0.11 AU 2", @@ -157,8 +150,7 @@ local ENLILEarth = { enlilDensityColorTable, enlilVelocityColorTable, }, - ColorTableRanges = colorRanges, - LoadAtRuntime = true + ColorTableRanges = colorRanges }, GUI = { Name = "Fieldlines ENLIL Earth",