mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-09 06:48:35 -05:00
version 2 of transerfunction for Batsrus model
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user