diff --git a/data/assets/base.asset b/data/assets/base.asset
index e89a6a74c9..d80f40934f 100644
--- a/data/assets/base.asset
+++ b/data/assets/base.asset
@@ -67,7 +67,7 @@ asset.require('scene/digitaluniverse/voids')
asset.require('customization/globebrowsing')
asset.onInitialize(function ()
- openspace.globebrowsing.loadWMSServersFromFile(
- openspace.absPath("${DATA}/globebrowsing_servers.lua")
- )
-end)
\ No newline at end of file
+ openspace.globebrowsing.loadWMSServersFromFile(
+ openspace.absPath("${DATA}/globebrowsing_servers.lua")
+ )
+end)
diff --git a/data/assets/base_blank.asset b/data/assets/base_blank.asset
index 41720dc915..571724ac09 100644
--- a/data/assets/base_blank.asset
+++ b/data/assets/base_blank.asset
@@ -17,34 +17,34 @@ local webGui = asset.require('util/webgui')
-- Keybindings that are specific for this scene
local Keybindings = {
- {
- Key = "h",
- Name="Toggle Trails",
- Command = "local list = openspace.getProperty('{planetTrail_solarSystem}.Renderable.Enabled'); for _,v in pairs(list) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)) end\n" ..
- "local moonlist = openspace.getProperty('{moonTrail_solarSystem}.Renderable.Enabled'); for _,v in pairs(moonlist) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)) end",
- Documentation = "Toggles the visibility of planet and moon trails",
- GuiPath = "/Rendering",
- Local = false
- },
- {
- Key = "l",
- Name = "Toggle planet labels",
- Command = "local list = openspace.getProperty('{solarsystem_labels}.Renderable.Enabled'); for _,v in pairs(list) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)) end",
- Documentation = "Turns on visibility for all solar system labels",
- GuiPath = "/Rendering",
- Local = false
- }
+ {
+ Key = "h",
+ Name="Toggle Trails",
+ Command = "local list = openspace.getProperty('{planetTrail_solarSystem}.Renderable.Enabled'); for _,v in pairs(list) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)) end\n" ..
+ "local moonlist = openspace.getProperty('{moonTrail_solarSystem}.Renderable.Enabled'); for _,v in pairs(moonlist) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)) end",
+ Documentation = "Toggles the visibility of planet and moon trails",
+ GuiPath = "/Rendering",
+ Local = false
+ },
+ {
+ Key = "l",
+ Name = "Toggle planet labels",
+ Command = "local list = openspace.getProperty('{solarsystem_labels}.Renderable.Enabled'); for _,v in pairs(list) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)) end",
+ Documentation = "Turns on visibility for all solar system labels",
+ GuiPath = "/Rendering",
+ Local = false
+ }
}
asset.onInitialize(function ()
- webGui.setCefRoute("onscreen")
+ webGui.setCefRoute("onscreen")
- sceneHelper.bindKeys(Keybindings)
- openspace.setDefaultGuiSorting()
+ sceneHelper.bindKeys(Keybindings)
+ openspace.setDefaultGuiSorting()
- openspace.setPropertyValueSingle("RenderEngine.VerticalLogOffset", 0.100000)
+ openspace.setPropertyValueSingle("RenderEngine.VerticalLogOffset", 0.100000)
end)
asset.onDeinitialize(function ()
- sceneHelper.unbindKeys(Keybindings)
+ sceneHelper.unbindKeys(Keybindings)
end)
diff --git a/data/assets/customization/globebrowsing.asset b/data/assets/customization/globebrowsing.asset
index ae89b790de..f5ad4193cd 100644
--- a/data/assets/customization/globebrowsing.asset
+++ b/data/assets/customization/globebrowsing.asset
@@ -15,74 +15,74 @@ local AddMercuryLayers = true
-- sequences
-- For example: C:/OpenSpace or C:\\OpenSpace rather than C:\OpenSpace
local vrt_folders = {
- Mars = {
- -- Add folders here whose contents will be automatically added to the Mars globe
- -- If multiple folders are added, the results will be added sequentially, meaning that
- -- if areas overlap (for example CTX and HiRISE) and CTX is specified *after* HiRISE,
- -- CTX will stomp over the HiRISE.
+ Mars = {
+ -- Add folders here whose contents will be automatically added to the Mars globe
+ -- If multiple folders are added, the results will be added sequentially, meaning that
+ -- if areas overlap (for example CTX and HiRISE) and CTX is specified *after* HiRISE,
+ -- CTX will stomp over the HiRISE.
- -- tl;dr: Specify CTX folders first, then HiRISE
- -- example: 'C:/OpenSpace/GlobeBrowsingData/Mars/CTX'
+ -- tl;dr: Specify CTX folders first, then HiRISE
+ -- example: 'C:/OpenSpace/GlobeBrowsingData/Mars/CTX'
- -- We recommend using this folder for CTX
- openspace.absPath('${BASE}/../OpenSpaceData/Mars/CTX'),
- -- if not and you have a custom path for CTX layers, enter it below
- '',
- -- We recommend using this folder for HiRISE
- openspace.absPath('${BASE}/../OpenSpaceData/Mars/HiRISE'),
- -- if not and you have a custom path for HiRISE layers, enter it below
- ''
- },
- Moon = {
- -- Add folders here whose contents will be automatically added to the Moon globe
- -- If multiple folders are added, the results will be added sequentially, meaning that
- -- if areas overlap, images from the lower results will overwrite the images from former
- -- results
- -- example: 'C:/OpenSpace/GlobeBrowsingData/Moon'
- openspace.absPath('${BASE}/../OpenSpaceData/Moon'),
- openspace.absPath('${BASE}/../OpenSpaceData/Apollo'),
- ''
- },
- Mercury = {
- -- Add folders here whose contents will be automatically added to the Mercury globe
- -- If multiple folders are added, the results will be added sequentially, meaning that
- -- if areas overlap, images from the lower results will overwrite the images from former
- -- results
- -- example: 'C:/OpenSpace/GlobeBrowsingData/Mercury'
- openspace.absPath('${BASE}/../OpenSpaceData/Mercury'),
- ''
- }
+ -- We recommend using this folder for CTX
+ openspace.absPath('${BASE}/../OpenSpaceData/Mars/CTX'),
+ -- if not and you have a custom path for CTX layers, enter it below
+ '',
+ -- We recommend using this folder for HiRISE
+ openspace.absPath('${BASE}/../OpenSpaceData/Mars/HiRISE'),
+ -- if not and you have a custom path for HiRISE layers, enter it below
+ ''
+ },
+ Moon = {
+ -- Add folders here whose contents will be automatically added to the Moon globe
+ -- If multiple folders are added, the results will be added sequentially, meaning that
+ -- if areas overlap, images from the lower results will overwrite the images from former
+ -- results
+ -- example: 'C:/OpenSpace/GlobeBrowsingData/Moon'
+ openspace.absPath('${BASE}/../OpenSpaceData/Moon'),
+ openspace.absPath('${BASE}/../OpenSpaceData/Apollo'),
+ ''
+ },
+ Mercury = {
+ -- Add folders here whose contents will be automatically added to the Mercury globe
+ -- If multiple folders are added, the results will be added sequentially, meaning that
+ -- if areas overlap, images from the lower results will overwrite the images from former
+ -- results
+ -- example: 'C:/OpenSpace/GlobeBrowsingData/Mercury'
+ openspace.absPath('${BASE}/../OpenSpaceData/Mercury'),
+ ''
+ }
}
-- Add require statements for assets exporting the neccessary globes
-- here we add Mars, Moon and Mercury:
if AddMarsLayers then
- asset.require('../scene/solarsystem/planets/mars/mars')
+ asset.require('../scene/solarsystem/planets/mars/mars')
else
- vrt_folders['Mars'] = nil
+ vrt_folders['Mars'] = nil
end
if AddMoonLayers then
- asset.require('../scene/solarsystem/planets/earth/moon/moon')
+ asset.require('../scene/solarsystem/planets/earth/moon/moon')
else
- vrt_folders['Moon'] = nil
+ vrt_folders['Moon'] = nil
end
if AddMercuryLayers then
- asset.require('../scene/solarsystem/planets/mercury/mercury')
+ asset.require('../scene/solarsystem/planets/mercury/mercury')
else
- vrt_folders['Mercury'] = nil
+ vrt_folders['Mercury'] = nil
end
asset.onInitialize(function ()
- -- Add local patches described at the top of this file
- for obj, list in pairs(vrt_folders) do
- for _, dir in pairs(list) do
- if (dir ~= '') then
- openspace.globebrowsing.addBlendingLayersFromDirectory(dir, obj)
+ -- Add local patches described at the top of this file
+ for obj, list in pairs(vrt_folders) do
+ for _, dir in pairs(list) do
+ if (dir ~= '') then
+ openspace.globebrowsing.addBlendingLayersFromDirectory(dir, obj)
- if CreateFocusNodes then
- openspace.globebrowsing.addFocusNodesFromDirectory(dir, obj)
- end
- end
+ if CreateFocusNodes then
+ openspace.globebrowsing.addFocusNodesFromDirectory(dir, obj)
end
+ end
end
+ end
end)
diff --git a/data/assets/dashboard/date.asset b/data/assets/dashboard/date.asset
index d92dec9632..01ada33be2 100644
--- a/data/assets/dashboard/date.asset
+++ b/data/assets/dashboard/date.asset
@@ -1,13 +1,13 @@
local item = {
- Type = "DashboardItemDate",
- Identifier = "Date",
- GuiName = "Date"
+ Type = "DashboardItemDate",
+ Identifier = "Date",
+ GuiName = "Date"
}
asset.onInitialize(function()
- openspace.dashboard.addDashboardItem(item)
+ openspace.dashboard.addDashboardItem(item)
end)
asset.onDeinitialize(function()
- openspace.dashboard.removeDashboardItem(item.Identifier)
+ openspace.dashboard.removeDashboardItem(item.Identifier)
end)
diff --git a/data/assets/dashboard/distance.asset b/data/assets/dashboard/distance.asset
index b05f79520d..6316a79948 100644
--- a/data/assets/dashboard/distance.asset
+++ b/data/assets/dashboard/distance.asset
@@ -1,13 +1,13 @@
local item = {
- Type = "DashboardItemDistance",
- Identifier = "Distance",
- GuiName = "Distance"
+ Type = "DashboardItemDistance",
+ Identifier = "Distance",
+ GuiName = "Distance"
}
asset.onInitialize(function()
- openspace.dashboard.addDashboardItem(item)
+ openspace.dashboard.addDashboardItem(item)
end)
asset.onDeinitialize(function()
- openspace.dashboard.removeDashboardItem(item.Identifier)
+ openspace.dashboard.removeDashboardItem(item.Identifier)
end)
diff --git a/data/assets/dashboard/framerate.asset b/data/assets/dashboard/framerate.asset
index ea95484f7d..1c28a17674 100644
--- a/data/assets/dashboard/framerate.asset
+++ b/data/assets/dashboard/framerate.asset
@@ -1,13 +1,13 @@
local item = {
- Type = "DashboardItemFramerate",
- Identifier = "Framerate",
- GuiName = "Framerate"
+ Type = "DashboardItemFramerate",
+ Identifier = "Framerate",
+ GuiName = "Framerate"
}
asset.onInitialize(function()
- openspace.dashboard.addDashboardItem(item)
+ openspace.dashboard.addDashboardItem(item)
end)
asset.onDeinitialize(function()
- openspace.dashboard.removeDashboardItem(item.Identifier)
+ openspace.dashboard.removeDashboardItem(item.Identifier)
end)
diff --git a/data/assets/dashboard/globelocation.asset b/data/assets/dashboard/globelocation.asset
index da36c97a46..268e2593f7 100644
--- a/data/assets/dashboard/globelocation.asset
+++ b/data/assets/dashboard/globelocation.asset
@@ -1,13 +1,13 @@
local item = {
- Type = "DashboardItemGlobeLocation",
- Identifier = "GlobeLocation",
- GuiName = "Globe Location"
+ Type = "DashboardItemGlobeLocation",
+ Identifier = "GlobeLocation",
+ GuiName = "Globe Location"
}
asset.onInitialize(function()
- openspace.dashboard.addDashboardItem(item)
+ openspace.dashboard.addDashboardItem(item)
end)
asset.onDeinitialize(function()
- openspace.dashboard.removeDashboardItem(item.Identifier)
+ openspace.dashboard.removeDashboardItem(item.Identifier)
end)
diff --git a/data/assets/dashboard/parallelconnection.asset b/data/assets/dashboard/parallelconnection.asset
index 6bc13dc818..2ee8bd6307 100644
--- a/data/assets/dashboard/parallelconnection.asset
+++ b/data/assets/dashboard/parallelconnection.asset
@@ -1,13 +1,13 @@
local item = {
- Type = "DashboardItemParallelConnection",
- Identifier = "ParallelConnection",
- GuiName = "Parallel Connection"
+ Type = "DashboardItemParallelConnection",
+ Identifier = "ParallelConnection",
+ GuiName = "Parallel Connection"
}
asset.onInitialize(function()
- openspace.dashboard.addDashboardItem(item)
+ openspace.dashboard.addDashboardItem(item)
end)
asset.onDeinitialize(function()
- openspace.dashboard.removeDashboardItem(item.Identifier)
+ openspace.dashboard.removeDashboardItem(item.Identifier)
end)
diff --git a/data/assets/dashboard/simulationincrement.asset b/data/assets/dashboard/simulationincrement.asset
index 6431e403bd..1ced58eed5 100644
--- a/data/assets/dashboard/simulationincrement.asset
+++ b/data/assets/dashboard/simulationincrement.asset
@@ -1,13 +1,13 @@
local item = {
- Type = "DashboardItemSimulationIncrement",
- Identifier = "SimulationIncrement",
- GuiName = "Simulation Increment"
+ Type = "DashboardItemSimulationIncrement",
+ Identifier = "SimulationIncrement",
+ GuiName = "Simulation Increment"
}
asset.onInitialize(function()
- openspace.dashboard.addDashboardItem(item)
+ openspace.dashboard.addDashboardItem(item)
end)
asset.onDeinitialize(function()
- openspace.dashboard.removeDashboardItem(item.Identifier)
+ openspace.dashboard.removeDashboardItem(item.Identifier)
end)
diff --git a/data/assets/dashboard/velocity.asset b/data/assets/dashboard/velocity.asset
index 89655ce60f..5373ee315c 100644
--- a/data/assets/dashboard/velocity.asset
+++ b/data/assets/dashboard/velocity.asset
@@ -1,14 +1,14 @@
local item = {
- Type = "DashboardItemVelocity",
- Identifier = "GlobeLocation",
- Simplification = true,
- GuiName = "Velocity"
+ Type = "DashboardItemVelocity",
+ Identifier = "GlobeLocation",
+ Simplification = true,
+ GuiName = "Velocity"
}
asset.onInitialize(function()
- openspace.dashboard.addDashboardItem(item)
+ openspace.dashboard.addDashboardItem(item)
end)
asset.onDeinitialize(function()
- openspace.dashboard.removeDashboardItem(item.Identifier)
+ openspace.dashboard.removeDashboardItem(item.Identifier)
end)
diff --git a/data/assets/examples/basic.scene b/data/assets/examples/basic.scene
index ec17991a57..71fdb1b98a 100644
--- a/data/assets/examples/basic.scene
+++ b/data/assets/examples/basic.scene
@@ -14,14 +14,14 @@ asset.require('util/webgui')
local spheres = asset.require('examples/spheres')
debugHelper.registerCartesianAxes(asset, {
- Parent = "Root",
- Scale = 10
+ Parent = "Root",
+ Scale = 10
})
asset.onInitialize(function ()
- openspace.navigation.setNavigationState({
- Anchor = "Root",
- Position = { 20, 20, 20 },
- Up = {0, 1, 0},
- })
+ openspace.navigation.setNavigationState({
+ Anchor = "Root",
+ Position = { 20, 20, 20 },
+ Up = {0, 1, 0},
+ })
end)
diff --git a/data/assets/examples/dashboarditems.asset b/data/assets/examples/dashboarditems.asset
index 7928758004..f76fe2e7a0 100644
--- a/data/assets/examples/dashboarditems.asset
+++ b/data/assets/examples/dashboarditems.asset
@@ -1,50 +1,50 @@
local assetHelper = asset.require('util/asset_helper')
assetHelper.registerDashboardItems(asset, {
- {
- Type = "DashboardItemAngle",
- Identifier = "Angle",
- GuiName = "Angle",
- ReferenceType = "Node",
- ReferenceNodeName = "Earth",
- DestinationType = "Node",
- DestinationNodeName = "Moon"
- },
- {
- Type = "DashboardItemDate",
- Identifier = "Date",
- GuiName = "Date"
- },
- {
- Type = "DashboardItemSimulationIncrement",
- Identifier = "SimulationIncrement",
- GuiName = "Simulation Increment"
- },
- {
- Type = "DashboardItemDistance",
- Identifier = "Distance",
- GuiName = "Distance"
- },
- {
- Type = "DashboardItemFramerate",
- Identifier = "Framerate",
- GuiName = "Framerate"
- },
- {
- Type = "DashboardItemParallelConnection",
- Identifier = "ParallelConnection",
- GuiName = "Parallel Connection"
- },
- {
- Type = "DashboardItemMission",
- Identifier = "Mission",
- GuiName = "Mission"
- },
- {
- Type = "DashboardItemPropertyValue",
- Identifier = "asd",
- GuiName = "adasd",
- URI = "Scene.Earth.Renderable.Enabled",
- DisplayString = "Earth is enabled: {}"
- }
+ {
+ Type = "DashboardItemAngle",
+ Identifier = "Angle",
+ GuiName = "Angle",
+ ReferenceType = "Node",
+ ReferenceNodeName = "Earth",
+ DestinationType = "Node",
+ DestinationNodeName = "Moon"
+ },
+ {
+ Type = "DashboardItemDate",
+ Identifier = "Date",
+ GuiName = "Date"
+ },
+ {
+ Type = "DashboardItemSimulationIncrement",
+ Identifier = "SimulationIncrement",
+ GuiName = "Simulation Increment"
+ },
+ {
+ Type = "DashboardItemDistance",
+ Identifier = "Distance",
+ GuiName = "Distance"
+ },
+ {
+ Type = "DashboardItemFramerate",
+ Identifier = "Framerate",
+ GuiName = "Framerate"
+ },
+ {
+ Type = "DashboardItemParallelConnection",
+ Identifier = "ParallelConnection",
+ GuiName = "Parallel Connection"
+ },
+ {
+ Type = "DashboardItemMission",
+ Identifier = "Mission",
+ GuiName = "Mission"
+ },
+ {
+ Type = "DashboardItemPropertyValue",
+ Identifier = "asd",
+ GuiName = "adasd",
+ URI = "Scene.Earth.Renderable.Enabled",
+ DisplayString = "Earth is enabled: {}"
+ }
})
diff --git a/data/assets/examples/debugcoordinateaxes.asset b/data/assets/examples/debugcoordinateaxes.asset
index e975e1b526..8ccf4bcff5 100644
--- a/data/assets/examples/debugcoordinateaxes.asset
+++ b/data/assets/examples/debugcoordinateaxes.asset
@@ -4,16 +4,16 @@ local debugHelper = asset.require('util/debug_helper')
local earthRadius = 6.371E6
debugHelper.registerCartesianAxes(asset, {
- Parent = transforms.EarthBarycenter.Identifier,
- Scale = earthRadius * 3.5
+ Parent = transforms.EarthBarycenter.Identifier,
+ Scale = earthRadius * 3.5
})
debugHelper.registerCartesianAxes(asset, {
- Parent = transforms.EarthInertial.Identifier,
- Scale = earthRadius * 2.5
+ Parent = transforms.EarthInertial.Identifier,
+ Scale = earthRadius * 2.5
})
debugHelper.registerCartesianAxes(asset, {
- Parent = transforms.EarthIAU.Identifier,
- Scale = earthRadius * 1.5
+ Parent = transforms.EarthIAU.Identifier,
+ Scale = earthRadius * 1.5
})
diff --git a/data/assets/examples/discs.asset b/data/assets/examples/discs.asset
index e719330586..5dcdbc8924 100644
--- a/data/assets/examples/discs.asset
+++ b/data/assets/examples/discs.asset
@@ -5,42 +5,42 @@ local cyanTexture = openspace.createSingeColorImage("example_disc_color1", {0.0,
local purpleTexture = openspace.createSingeColorImage("example_disc_color2", {0.5, 0.0, 0.5})
local BasicDisc = {
- Identifier = "BasicDisc",
- Renderable = {
- Type = "RenderableDisc",
- Texture = cyanTexture,
- Size = 1e10,
- Width = 0.5
- },
- GUI = {
- Name = "Basic Disc",
- Path = "/Examples/Discs"
- }
+ Identifier = "BasicDisc",
+ Renderable = {
+ Type = "RenderableDisc",
+ Texture = cyanTexture,
+ Size = 1e10,
+ Width = 0.5
+ },
+ GUI = {
+ Name = "Basic Disc",
+ Path = "/Examples/Discs"
+ }
}
-- Elliptic discs can be created using a non-uniform scaling
-- For a full disc, use a width of 1.0
local FullEllipticDisc = {
- Identifier = "FullEllipticDisc",
- Transform = {
- Scale = {
- Type = "NonUniformStaticScale",
- Scale = {2.0, 1.0, 1.0}
- }
- },
- Renderable = {
- Type = "RenderableDisc",
- Texture = purpleTexture,
- Size = 2e10,
- Width = 1.0
- },
- GUI = {
- Name = "Full Elliptic Disc",
- Path = "/Examples/Discs"
+ Identifier = "FullEllipticDisc",
+ Transform = {
+ Scale = {
+ Type = "NonUniformStaticScale",
+ Scale = {2.0, 1.0, 1.0}
}
+ },
+ Renderable = {
+ Type = "RenderableDisc",
+ Texture = purpleTexture,
+ Size = 2e10,
+ Width = 1.0
+ },
+ GUI = {
+ Name = "Full Elliptic Disc",
+ Path = "/Examples/Discs"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, {
- BasicDisc,
- FullEllipticDisc
+ BasicDisc,
+ FullEllipticDisc
})
diff --git a/data/assets/examples/globetranslation.asset b/data/assets/examples/globetranslation.asset
index 3345e68fe7..aedc5f5901 100644
--- a/data/assets/examples/globetranslation.asset
+++ b/data/assets/examples/globetranslation.asset
@@ -4,71 +4,71 @@ local sunTransforms = asset.require('scene/solarsystem/sun/transforms')
local textures = asset.syncedResource({
- Name = "New Horizons Textures",
- Type = "HttpSynchronization",
- Identifier = "newhorizons_textures",
- Version = 3
+ Name = "New Horizons Textures",
+ Type = "HttpSynchronization",
+ Identifier = "newhorizons_textures",
+ Version = 3
})
local models = asset.syncedResource({
- Name = "New Horizons Model",
- Type = "HttpSynchronization",
- Identifier = "newhorizons_model",
- Version = 1
+ Name = "New Horizons Model",
+ Type = "HttpSynchronization",
+ Identifier = "newhorizons_model",
+ Version = 1
})
local Example_Fixed_Height = {
- Identifier = "Example_Fixed_Height",
- Parent = earth.Earth.Identifier,
- Transform = {
- Translation = {
- Type = "GlobeTranslation",
- Globe = earth.Earth.Identifier,
- Longitude = 0.0,
- Latitude = 0.0,
- FixedAltitude = 10000000.0
- }
- },
- Renderable = {
- Type = "RenderableModel",
- Body = "NEW HORIZONS",
- Geometry = {{
- Type = "MultiModelGeometry",
- GeometryFile = models .. "/NewHorizonsCleanModel.obj",
- ColorTexture = textures .. "/NHTexture.jpg"
- }}
- },
- GUI = {
- Path = "/Example"
+ Identifier = "Example_Fixed_Height",
+ Parent = earth.Earth.Identifier,
+ Transform = {
+ Translation = {
+ Type = "GlobeTranslation",
+ Globe = earth.Earth.Identifier,
+ Longitude = 0.0,
+ Latitude = 0.0,
+ FixedAltitude = 10000000.0
}
+ },
+ Renderable = {
+ Type = "RenderableModel",
+ Body = "NEW HORIZONS",
+ Geometry = {{
+ Type = "MultiModelGeometry",
+ GeometryFile = models .. "/NewHorizonsCleanModel.obj",
+ ColorTexture = textures .. "/NHTexture.jpg"
+ }}
+ },
+ GUI = {
+ Path = "/Example"
+ }
}
local Example_Adaptive_Height = {
- Identifier = "Example_Adaptive_Height",
- Parent = earth.Earth.Identifier,
- Transform = {
- Translation = {
- Type = "GlobeTranslation",
- Globe = earth.Earth.Identifier,
- Longitude = -74.006,
- Latitude = 40.7128
- }
- },
- Renderable = {
- Type = "RenderableModel",
- Body = "NEW HORIZONS",
- Geometry = {{
- Type = "MultiModelGeometry",
- GeometryFile = models .. "/NewHorizonsCleanModel.obj",
- ColorTexture = textures .. "/NHTexture.jpg"
- }}
- },
- GUI = {
- Path = "/Example"
+ Identifier = "Example_Adaptive_Height",
+ Parent = earth.Earth.Identifier,
+ Transform = {
+ Translation = {
+ Type = "GlobeTranslation",
+ Globe = earth.Earth.Identifier,
+ Longitude = -74.006,
+ Latitude = 40.7128
}
+ },
+ Renderable = {
+ Type = "RenderableModel",
+ Body = "NEW HORIZONS",
+ Geometry = {{
+ Type = "MultiModelGeometry",
+ GeometryFile = models .. "/NewHorizonsCleanModel.obj",
+ ColorTexture = textures .. "/NHTexture.jpg"
+ }}
+ },
+ GUI = {
+ Path = "/Example"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, {
- Example_Fixed_Height,
- Example_Adaptive_Height
+ Example_Fixed_Height,
+ Example_Adaptive_Height
})
diff --git a/data/assets/examples/grids.asset b/data/assets/examples/grids.asset
index 9e59f31f0c..55468bd399 100644
--- a/data/assets/examples/grids.asset
+++ b/data/assets/examples/grids.asset
@@ -3,97 +3,97 @@ local assetHelper = asset.require('util/asset_helper')
local scale = 149597870700 -- 1 AU
local radialGrid = {
- Identifier = "ExampleRadialGrid",
- Parent = "Root",
- Transform = {
- Scale = {
- Type = "StaticScale",
- Scale = scale
- }
- },
- Renderable = {
- Type = "RenderableRadialGrid",
- Opacity = 0.8,
- Color = { 0.6, 1.0, 0.7 },
- LineWidth = 3.0,
- GridSegments = { 3, 4 },
- OuterRadius = 1.0,
- InnerRadius = 0.2,
- Enabled = false
- },
- GUI = {
- Name = "Example Radial Grid",
- Path = "/Examples/Grids"
+ Identifier = "ExampleRadialGrid",
+ Parent = "Root",
+ Transform = {
+ Scale = {
+ Type = "StaticScale",
+ Scale = scale
}
+ },
+ Renderable = {
+ Type = "RenderableRadialGrid",
+ Opacity = 0.8,
+ Color = { 0.6, 1.0, 0.7 },
+ LineWidth = 3.0,
+ GridSegments = { 3, 4 },
+ OuterRadius = 1.0,
+ InnerRadius = 0.2,
+ Enabled = false
+ },
+ GUI = {
+ Name = "Example Radial Grid",
+ Path = "/Examples/Grids"
+ }
}
local planarGrid = {
- Identifier = "ExampleGrid",
- Transform = {
- Scale = {
- Type = "StaticScale",
- Scale = scale
- }
- },
- Renderable = {
- Type = "RenderableGrid",
- Color = { 0.0, 1.0, 0.8 },
- LineWidth = 2.0,
- Segments = { 5, 10 },
- Size = { 1, 2 },
- Enabled = false
- },
- GUI = {
- Name = "Example Grid",
- Path = "/Examples/Grids"
+ Identifier = "ExampleGrid",
+ Transform = {
+ Scale = {
+ Type = "StaticScale",
+ Scale = scale
}
+ },
+ Renderable = {
+ Type = "RenderableGrid",
+ Color = { 0.0, 1.0, 0.8 },
+ LineWidth = 2.0,
+ Segments = { 5, 10 },
+ Size = { 1, 2 },
+ Enabled = false
+ },
+ GUI = {
+ Name = "Example Grid",
+ Path = "/Examples/Grids"
+ }
}
local sphericalGrid = {
- Identifier = "ExampleSphericalGrid",
- Transform = {
- Scale = {
- Type = "StaticScale",
- Scale = scale
- }
- },
- Renderable = {
- Type = "RenderableSphericalGrid",
- Color = { 1.0, 0.5, 0.2 },
- LineWidth = 2.0,
- Segments = 40,
- Enabled = false
- },
- GUI = {
- Name = "Example Spherical Grid",
- Path = "/Examples/Grids"
+ Identifier = "ExampleSphericalGrid",
+ Transform = {
+ Scale = {
+ Type = "StaticScale",
+ Scale = scale
}
+ },
+ Renderable = {
+ Type = "RenderableSphericalGrid",
+ Color = { 1.0, 0.5, 0.2 },
+ LineWidth = 2.0,
+ Segments = 40,
+ Enabled = false
+ },
+ GUI = {
+ Name = "Example Spherical Grid",
+ Path = "/Examples/Grids"
+ }
}
local boxGrid = {
- Identifier = "ExampleBoxGrid",
- Transform = {
- Scale = {
- Type = "StaticScale",
- Scale = scale
- }
- },
- Renderable = {
- Type = "RenderableBoxGrid",
- Color = { 0.5, 0.0, 1.0 },
- LineWidth = 2.0,
- Size = { 2, 2, 2 },
- Enabled = false
- },
- GUI = {
- Name = "Example Box Grid",
- Path = "/Examples/Grids"
+ Identifier = "ExampleBoxGrid",
+ Transform = {
+ Scale = {
+ Type = "StaticScale",
+ Scale = scale
}
+ },
+ Renderable = {
+ Type = "RenderableBoxGrid",
+ Color = { 0.5, 0.0, 1.0 },
+ LineWidth = 2.0,
+ Size = { 2, 2, 2 },
+ Enabled = false
+ },
+ GUI = {
+ Name = "Example Box Grid",
+ Path = "/Examples/Grids"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, {
- radialGrid,
- planarGrid,
- sphericalGrid,
- boxGrid
+ radialGrid,
+ planarGrid,
+ sphericalGrid,
+ boxGrid
})
diff --git a/data/assets/examples/primitives.asset b/data/assets/examples/primitives.asset
index e0b9a78098..d30014306d 100644
--- a/data/assets/examples/primitives.asset
+++ b/data/assets/examples/primitives.asset
@@ -3,50 +3,50 @@ local assetHelper = asset.require('util/asset_helper')
local scale = 149597870700 -- 1 AU
local circle = {
- Identifier = "ExampleCircle",
- Transform = {
- Scale = {
- Type = "StaticScale",
- Scale = scale
- }
- },
- Renderable = {
- Type = "RenderableRadialGrid",
- Color = { 0.6, 0.6, 0.8 },
- LineWidth = 3.0,
- GridSegments = { 1, 1 },
- CircleSegments = 64,
- OuterRadius = 1.0
- },
- GUI = {
- Name = "Example Circle",
- Path = "/Examples/Primitives"
+ Identifier = "ExampleCircle",
+ Transform = {
+ Scale = {
+ Type = "StaticScale",
+ Scale = scale
}
+ },
+ Renderable = {
+ Type = "RenderableRadialGrid",
+ Color = { 0.6, 0.6, 0.8 },
+ LineWidth = 3.0,
+ GridSegments = { 1, 1 },
+ CircleSegments = 64,
+ OuterRadius = 1.0
+ },
+ GUI = {
+ Name = "Example Circle",
+ Path = "/Examples/Primitives"
+ }
}
local ellipse = {
- Identifier = "ExampleEllipse",
- Transform = {
- Scale = {
- Type = "NonUniformStaticScale",
- Scale = {1.5, 1.0, 1.0}
- }
- },
- Renderable = {
- Type = "RenderableRadialGrid",
- Color = { 0.6, 0.8, 0.6 },
- LineWidth = 3.0,
- GridSegments = { 1, 1 },
- CircleSegments = 64,
- OuterRadius = scale
- },
- GUI = {
- Name = "Example Ellipse",
- Path = "/Examples/Primitives"
+ Identifier = "ExampleEllipse",
+ Transform = {
+ Scale = {
+ Type = "NonUniformStaticScale",
+ Scale = {1.5, 1.0, 1.0}
}
+ },
+ Renderable = {
+ Type = "RenderableRadialGrid",
+ Color = { 0.6, 0.8, 0.6 },
+ LineWidth = 3.0,
+ GridSegments = { 1, 1 },
+ CircleSegments = 64,
+ OuterRadius = scale
+ },
+ GUI = {
+ Name = "Example Ellipse",
+ Path = "/Examples/Primitives"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, {
- circle,
- ellipse
+ circle,
+ ellipse
})
diff --git a/data/assets/examples/renderableplaneimageonline.asset b/data/assets/examples/renderableplaneimageonline.asset
index a4ac8f9831..bfff9da591 100644
--- a/data/assets/examples/renderableplaneimageonline.asset
+++ b/data/assets/examples/renderableplaneimageonline.asset
@@ -6,18 +6,18 @@ local transforms = asset.require("scene/solarsystem/sun/transforms")
local RenderablePlaneImageOnline = {
- Identifier = "RenderablePlaneImageOnline",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Renderable = {
- Type = "RenderablePlaneImageOnline",
- Size = 3.0E11,
- Origin = "Center",
- Billboard = true,
- URL = "http://data.openspaceproject.com/examples/renderableplaneimageonline.jpg"
- },
- GUI = {
- Path = "/Examples"
- }
+ Identifier = "RenderablePlaneImageOnline",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderablePlaneImageOnline",
+ Size = 3.0E11,
+ Origin = "Center",
+ Billboard = true,
+ URL = "http://data.openspaceproject.com/examples/renderableplaneimageonline.jpg"
+ },
+ GUI = {
+ Path = "/Examples"
+ }
}
diff --git a/data/assets/examples/screenspacebrowser.asset b/data/assets/examples/screenspacebrowser.asset
index f10350749e..282465848c 100644
--- a/data/assets/examples/screenspacebrowser.asset
+++ b/data/assets/examples/screenspacebrowser.asset
@@ -1,10 +1,10 @@
local assetHelper = asset.require('util/asset_helper')
local spec = {
- Type = "ScreenSpaceBrowser",
- Identifier = "ScreenSpaceBrowserExample",
- Name = "Screen Space Browser Example",
- Url = "https://www.openspaceproject.com/"
+ Type = "ScreenSpaceBrowser",
+ Identifier = "ScreenSpaceBrowserExample",
+ Name = "Screen Space Browser Example",
+ Url = "https://www.openspaceproject.com/"
};
assetHelper.registerScreenSpaceRenderables(asset, { spec })
diff --git a/data/assets/examples/screenspacespout.asset b/data/assets/examples/screenspacespout.asset
index 54319351f8..5ca810ec42 100644
--- a/data/assets/examples/screenspacespout.asset
+++ b/data/assets/examples/screenspacespout.asset
@@ -6,17 +6,17 @@ local transforms = asset.require("scene/solarsystem/sun/transforms")
local Spout = {
- Identifier = "Spouty",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Renderable = {
- Type = "RenderablePlaneSpout",
- Size = 3.0E11,
- Origin = "Center",
- Billboard = true
- },
- GUI = {
- Path = "/Examples"
- }
+ Identifier = "Spouty",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderablePlaneSpout",
+ Size = 3.0E11,
+ Origin = "Center",
+ Billboard = true
+ },
+ GUI = {
+ Path = "/Examples"
+ }
}
diff --git a/data/assets/examples/slidedeck.asset b/data/assets/examples/slidedeck.asset
index 74068d52ee..fdd3756450 100644
--- a/data/assets/examples/slidedeck.asset
+++ b/data/assets/examples/slidedeck.asset
@@ -2,42 +2,41 @@ local helper = asset.require('util/slide_deck_helper')
local deck = nil
asset.onInitialize(function ()
- deck = helper.createDeck("example", {
- UseRadiusAzimuthElevation = true,
- RadiusAzimuthElevation = {1.0, 0.0, 0.0}, -- use for dome
- UsePerspectiveProjection = true,
- FaceCamera = true,
- Scale = 0.7
- })
+ deck = helper.createDeck("example", {
+ UseRadiusAzimuthElevation = true,
+ RadiusAzimuthElevation = {1.0, 0.0, 0.0}, -- use for dome
+ UsePerspectiveProjection = true,
+ FaceCamera = true,
+ Scale = 0.7
+ })
- helper.addSlide(deck, "${DATA}/test2.jpg")
- helper.addSlide(deck, "${DATA}/test3.jpg")
+ helper.addSlide(deck, "${DATA}/test2.jpg")
+ helper.addSlide(deck, "${DATA}/test3.jpg")
- local interpolationDuration = 0.5
+ local interpolationDuration = 0.5
- function nextSlide()
- helper.goToNextSlide(deck, interpolationDuration)
- end
+ function nextSlide()
+ helper.goToNextSlide(deck, interpolationDuration)
+ end
- function previousSlide()
- helper.goToPreviousSlide(deck, interpolationDuration)
- end
+ function previousSlide()
+ helper.goToPreviousSlide(deck, interpolationDuration)
+ end
- function toggleSlides()
- helper.toggleSlides(deck, interpolationDuration)
- end
-
- helper.setCurrentSlide(deck, 1)
- openspace.bindKey("KP_6", "nextSlide()", "Next slide", "Next slide", "/Slides")
- openspace.bindKey("KP_4", "previousSlide()", "Previous slide", "Previous slide", "/Slides")
- openspace.bindKey("KP_0", "toggleSlides()", "Toggle slides", "Toggle slides", "/Slides")
+ function toggleSlides()
+ helper.toggleSlides(deck, interpolationDuration)
+ end
+ helper.setCurrentSlide(deck, 1)
+ openspace.bindKey("KP_6", "nextSlide()", "Next slide", "Next slide", "/Slides")
+ openspace.bindKey("KP_4", "previousSlide()", "Previous slide", "Previous slide", "/Slides")
+ openspace.bindKey("KP_0", "toggleSlides()", "Toggle slides", "Toggle slides", "/Slides")
end)
asset.onDeinitialize(function()
- openspace.clearKey("KP_6")
- openspace.clearKey("KP_4")
- openspace.clearKey("KP_0")
- helper.removeDeck(deck)
+ openspace.clearKey("KP_6")
+ openspace.clearKey("KP_4")
+ openspace.clearKey("KP_0")
+ helper.removeDeck(deck)
end)
diff --git a/data/assets/examples/spheres.asset b/data/assets/examples/spheres.asset
index f19458eacd..c3734d8d75 100644
--- a/data/assets/examples/spheres.asset
+++ b/data/assets/examples/spheres.asset
@@ -2,33 +2,32 @@ local assetHelper = asset.require('util/asset_helper')
local i = 1
for z=1,3 do
- for y=1,3 do
- for x=1,3 do
- local sphere = {
- Identifier = "ExampleSphere" .. i,
- Transform = {
- Translation = {
- Type = "StaticTranslation",
- Position = {x, y, z}
- }
- },
- Renderable = {
- Type = "RenderableSphere",
- Enabled = true,
- Size = 0.20 + i * 0.01,
- Segments = 80,
- Opacity = 1,
- Texture = openspace.absPath("${DATA}/test2.jpg"),
- Orientation = "Both",
- },
- GUI = {
- Name = "Test Sphere " .. i,
- Path = "/Other/Spheres"
- }
- }
- assetHelper.registerSceneGraphNodesAndExport(asset, { sphere })
- i = i + 1
- end
+ for y=1,3 do
+ for x=1,3 do
+ local sphere = {
+ Identifier = "ExampleSphere" .. i,
+ Transform = {
+ Translation = {
+ Type = "StaticTranslation",
+ Position = {x, y, z}
+ }
+ },
+ Renderable = {
+ Type = "RenderableSphere",
+ Enabled = true,
+ Size = 0.20 + i * 0.01,
+ Segments = 80,
+ Opacity = 1,
+ Texture = openspace.absPath("${DATA}/test2.jpg"),
+ Orientation = "Both",
+ },
+ GUI = {
+ Name = "Test Sphere " .. i,
+ Path = "/Other/Spheres"
+ }
+ }
+ assetHelper.registerSceneGraphNodesAndExport(asset, { sphere })
+ i = i + 1
end
+ end
end
-
diff --git a/data/assets/examples/statemachine.asset b/data/assets/examples/statemachine.asset
index 6658aca647..e97213011c 100644
--- a/data/assets/examples/statemachine.asset
+++ b/data/assets/examples/statemachine.asset
@@ -1,48 +1,47 @@
local stateMachineHelper = asset.require('util/state_machine_helper')
states = {
- {
- Title = "Highlight EarthTrail",
- Play = function ()
- openspace.setPropertyValue("Scene.EarthTrail.Renderable.LineWidth", 10, 1)
- end,
- Rewind = function ()
- openspace.setPropertyValue("Scene.EarthTrail.Renderable.LineWidth", 2, 1)
- end
- },
- {
- Title = "Highlight MarsTrail",
- Play = function ()
- openspace.setPropertyValue("Scene.EarthTrail.Renderable.LineWidth", 2, 1)
- openspace.setPropertyValue("Scene.MarsTrail.Renderable.LineWidth", 10, 1)
- end,
- Rewind = function ()
- openspace.setPropertyValue("Scene.MarsTrail.Renderable.LineWidth", 2, 1)
- openspace.setPropertyValue("Scene.EarthTrail.Renderable.LineWidth", 10, 1)
- end
- }
+ {
+ Title = "Highlight EarthTrail",
+ Play = function ()
+ openspace.setPropertyValue("Scene.EarthTrail.Renderable.LineWidth", 10, 1)
+ end,
+ Rewind = function ()
+ openspace.setPropertyValue("Scene.EarthTrail.Renderable.LineWidth", 2, 1)
+ end
+ },
+ {
+ Title = "Highlight MarsTrail",
+ Play = function ()
+ openspace.setPropertyValue("Scene.EarthTrail.Renderable.LineWidth", 2, 1)
+ openspace.setPropertyValue("Scene.MarsTrail.Renderable.LineWidth", 10, 1)
+ end,
+ Rewind = function ()
+ openspace.setPropertyValue("Scene.MarsTrail.Renderable.LineWidth", 2, 1)
+ openspace.setPropertyValue("Scene.EarthTrail.Renderable.LineWidth", 10, 1)
+ end
+ }
}
local stateMachine
function next()
- stateMachine.goToNextState()
+ stateMachine.goToNextState()
end
function previous()
- stateMachine.goToPreviousState()
+ stateMachine.goToPreviousState()
end
asset.onInitialize(function ()
- stateMachine = stateMachineHelper.createStateMachine(states)
- openspace.bindKey('RIGHT', 'next()')
- openspace.bindKey('LEFT', 'previous()')
+ stateMachine = stateMachineHelper.createStateMachine(states)
+ openspace.bindKey('RIGHT', 'next()')
+ openspace.bindKey('LEFT', 'previous()')
end)
asset.onDeinitialize(function ()
- stateMachine = nil
- openspace.clearKey('RIGHT')
- openspace.clearKey('LEFT')
+ stateMachine = nil
+ openspace.clearKey('RIGHT')
+ openspace.clearKey('LEFT')
end)
-
diff --git a/data/assets/examples/urlsynchronization.asset b/data/assets/examples/urlsynchronization.asset
index 9f0a0eafca..de55aaaf82 100644
--- a/data/assets/examples/urlsynchronization.asset
+++ b/data/assets/examples/urlsynchronization.asset
@@ -3,48 +3,48 @@
local assetHelper = asset.require("util/asset_helper")
asset.syncedResource({
- Name = "Example Single",
- Type = "UrlSynchronization",
- Identifier = "example_single",
- Url = "http://celestrak.com/NORAD/elements/geo.txt"
+ Name = "Example Single",
+ Type = "UrlSynchronization",
+ Identifier = "example_single",
+ Url = "http://celestrak.com/NORAD/elements/geo.txt"
})
asset.syncedResource({
- Name = "Example Multiple",
- Type = "UrlSynchronization",
- Identifier = "example_multiple",
- Url = {
- "http://celestrak.com/NORAD/elements/stations.txt",
- "http://celestrak.com/NORAD/elements/gps-ops.txt",
- }
+ Name = "Example Multiple",
+ Type = "UrlSynchronization",
+ Identifier = "example_multiple",
+ Url = {
+ "http://celestrak.com/NORAD/elements/stations.txt",
+ "http://celestrak.com/NORAD/elements/gps-ops.txt",
+ }
})
asset.syncedResource({
- Name = "Example Large",
- Type = "UrlSynchronization",
- Identifier = "example_large",
- Url = "http://ipv4.download.thinkbroadband.com/100MB.zip",
- Override = true
+ Name = "Example Large",
+ Type = "UrlSynchronization",
+ Identifier = "example_large",
+ Url = "http://ipv4.download.thinkbroadband.com/100MB.zip",
+ Override = true
})
asset.syncedResource({
- Name = "Example Medium",
- Type = "UrlSynchronization",
- Identifier = "example_medium",
- Url = "http://ipv4.download.thinkbroadband.com/5MB.zip",
- Override = true
+ Name = "Example Medium",
+ Type = "UrlSynchronization",
+ Identifier = "example_medium",
+ Url = "http://ipv4.download.thinkbroadband.com/5MB.zip",
+ Override = true
})
asset.syncedResource({
- Name = "Example No ident",
- Type = "UrlSynchronization",
- Url = "http://ipv4.download.thinkbroadband.com/5MB.zip"
+ Name = "Example No ident",
+ Type = "UrlSynchronization",
+ Url = "http://ipv4.download.thinkbroadband.com/5MB.zip"
})
asset.syncedResource({
- Name = "Example No Hash",
- Type = "UrlSynchronization",
- Identifier = "no_hash",
- Url = "http://wms.itn.liu.se/Mercury/Messenger_Mosaic/Messenger_Mosaic.wms",
- UseHash = false
+ Name = "Example No Hash",
+ Type = "UrlSynchronization",
+ Identifier = "no_hash",
+ Url = "http://wms.itn.liu.se/Mercury/Messenger_Mosaic/Messenger_Mosaic.wms",
+ UseHash = false
})
diff --git a/data/assets/examples/volume/toyvolume.asset b/data/assets/examples/volume/toyvolume.asset
index a52f4d879d..713b69fff7 100644
--- a/data/assets/examples/volume/toyvolume.asset
+++ b/data/assets/examples/volume/toyvolume.asset
@@ -4,18 +4,18 @@ local assetHelper = asset.require("util/asset_helper")
local transforms = asset.require("scene/solarsystem/sun/transforms")
local ToyVolume = {
- Identifier = "RenderableToyVolume",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Renderable = {
- Type = "RenderableToyVolume",
- Size = { 5, 5, 5 },
- ScalingExponent = 11,
- StepSize = 0.01,
- Color = { 1, 0, 0 }
- },
- GUI = {
- Path = "/Examples"
- }
+ Identifier = "RenderableToyVolume",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableToyVolume",
+ Size = { 5, 5, 5 },
+ ScalingExponent = 11,
+ StepSize = 0.01,
+ Color = { 1, 0, 0 }
+ },
+ GUI = {
+ Path = "/Examples"
+ }
}
local objects = { ToyVolume }
diff --git a/data/assets/global/openspacebookmarks.asset b/data/assets/global/openspacebookmarks.asset
index 8075929c44..1f6e91e96f 100644
--- a/data/assets/global/openspacebookmarks.asset
+++ b/data/assets/global/openspacebookmarks.asset
@@ -4,12 +4,12 @@ local bookmarkHelper = asset.require('util/generate_bookmarks')
local dataProvider = 'http://data.openspaceproject.com/files/bookmarks/v1/bookmarks.csv'
local bookmarksCSV = asset.syncedResource({
- Identifier = 'openspace_bookmarks',
- Name = 'OpenSpace Bookmarks',
- Type = 'UrlSynchronization',
- UseHash = false,
- Override = true,
- Url = dataProvider
+ Identifier = 'openspace_bookmarks',
+ Name = 'OpenSpace Bookmarks',
+ Type = 'UrlSynchronization',
+ UseHash = false,
+ Override = true,
+ Url = dataProvider
})
local nodes = {}
diff --git a/data/assets/gui/images.asset b/data/assets/gui/images.asset
index abb6bee4b9..7f55b59f0e 100644
--- a/data/assets/gui/images.asset
+++ b/data/assets/gui/images.asset
@@ -3,46 +3,46 @@
local assetHelper = asset.require("util/asset_helper")
asset.syncedResource({
- Type = "UrlSynchronization",
- Name = "Icons",
- Identifier = "planet_icons",
- Url = {
- "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/earth.png",
- "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/moon.png",
- "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/jupiter.png",
- "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/mars.png",
- "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/mercury.png",
- "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/neptune.png",
- "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/saturn.png",
- "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/uranus.png",
- "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/venus.png",
- "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/callisto.png",
- "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/europa.png",
- "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/ganymede.png",
- "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/io.png",
- },
- UseHash = false
+ Type = "UrlSynchronization",
+ Name = "Icons",
+ Identifier = "planet_icons",
+ Url = {
+ "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/earth.png",
+ "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/moon.png",
+ "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/jupiter.png",
+ "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/mars.png",
+ "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/mercury.png",
+ "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/neptune.png",
+ "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/saturn.png",
+ "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/uranus.png",
+ "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/venus.png",
+ "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/callisto.png",
+ "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/europa.png",
+ "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/ganymede.png",
+ "http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/io.png",
+ },
+ UseHash = false
})
asset.syncedResource({
- Type = "UrlSynchronization",
- Name = "Stories",
- Identifier = "story_images",
- Url = {
- "http://data.openspaceproject.com/files/webgui/assets/images/stories/story_solarsystem.png",
- "http://data.openspaceproject.com/files/webgui/assets/images/stories/story_jupitermoons.png",
- "http://data.openspaceproject.com/files/webgui/assets/images/stories/story_earthweather.png",
- "http://data.openspaceproject.com/files/webgui/assets/images/stories/story_mars.png",
- "http://data.openspaceproject.com/files/webgui/assets/images/stories/story_galaxies.png",
- "http://data.openspaceproject.com/files/webgui/assets/images/stories/story_example.png",
- },
- UseHash = false
+ Type = "UrlSynchronization",
+ Name = "Stories",
+ Identifier = "story_images",
+ Url = {
+ "http://data.openspaceproject.com/files/webgui/assets/images/stories/story_solarsystem.png",
+ "http://data.openspaceproject.com/files/webgui/assets/images/stories/story_jupitermoons.png",
+ "http://data.openspaceproject.com/files/webgui/assets/images/stories/story_earthweather.png",
+ "http://data.openspaceproject.com/files/webgui/assets/images/stories/story_mars.png",
+ "http://data.openspaceproject.com/files/webgui/assets/images/stories/story_galaxies.png",
+ "http://data.openspaceproject.com/files/webgui/assets/images/stories/story_example.png",
+ },
+ UseHash = false
})
asset.syncedResource({
- Type = "UrlSynchronization",
- Name = "Instructions",
- Identifier = "images",
- Url = "http://data.openspaceproject.com/files/webgui/assets/images/instructions.png",
- UseHash = false
+ Type = "UrlSynchronization",
+ Name = "Instructions",
+ Identifier = "images",
+ Url = "http://data.openspaceproject.com/files/webgui/assets/images/instructions.png",
+ UseHash = false
})
diff --git a/data/assets/scene/digitaluniverse/2dF.asset b/data/assets/scene/digitaluniverse/2dF.asset
index 0e8c025a53..23f44a447c 100644
--- a/data/assets/scene/digitaluniverse/2dF.asset
+++ b/data/assets/scene/digitaluniverse/2dF.asset
@@ -3,54 +3,53 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "2dF Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_2dF_textures",
- Version = 2
+ Name = "2dF Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_2dF_textures",
+ Version = 2
})
local speck = asset.syncedResource({
- Name = "2dF Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_2dF_speck",
- Version = 2
+ Name = "2dF Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_2dF_speck",
+ Version = 2
})
local object = {
- Identifier = "2dF",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 1.0, 1.0, 1.0 },
- Opacity = 1.0,
- File = speck .. "/2dF.speck",
- Texture = textures .. "/point3A.png",
- ColorMap = speck .. "/2dF.cmap",
- ColorOption = { "redshift", "proximity" },
- ColorRange = { { 0.0, 0.075 }, { 1.0, 25.0 } },
- Unit = "Mpc",
- ScaleFactor = 520.0,
- BillboardMaxSize = 4.7,
- EnablePixelSizeControl = true
- },
- GUI = {
- Name = "2dF Galaxies",
- Path = "/Universe/Galaxies",
- Description = [[Census 229,293 galaxies. DU Version 1.7.
- The Two-degree Field (2dF) Survey was a project designed to map portions of the
- extragalactic universe. The 2dF instrument was mounted on the 3.9-meter
- (12.8-foot) Anglo-Australian Telescope (AAT), located 450 km (280 miles)
- northwest of Sydney. The telescope has a two-degree field of view on the sky,
- enabling large parts of the sky to be observed at one time. For each pointing of
- the telescope, the instrument can acquire up to 400 spectra simultaneously via
- optical fibers that feed into two spectrographs. Each spectrograph sees light
- that is between 350 nm and 800 nm, spanning the visible spectrum.
The
- 2dF survey has three main components: the North Galactic Pole strip, the South
- Galactic Pole strip, and the random fields that surround the South Galactic Pole
- strip. The galaxy survey is composed of about 230,000 galaxies with brightness and
- redshift measurements. (Description from URL)
Data Reference: 2dF Galaxy
- Redshift Survey (2dFGRS Team, 1998-2003)]]
- }
+ Identifier = "2dF",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 1.0, 1.0, 1.0 },
+ Opacity = 1.0,
+ File = speck .. "/2dF.speck",
+ Texture = textures .. "/point3A.png",
+ ColorMap = speck .. "/2dF.cmap",
+ ColorOption = { "redshift", "proximity" },
+ ColorRange = { { 0.0, 0.075 }, { 1.0, 25.0 } },
+ Unit = "Mpc",
+ ScaleFactor = 520.0,
+ BillboardMaxSize = 4.7,
+ EnablePixelSizeControl = true
+ },
+ GUI = {
+ Name = "2dF Galaxies",
+ Path = "/Universe/Galaxies",
+ Description = [[Census 229,293 galaxies. DU Version 1.7. The Two-degree Field
+ (2dF) Survey was a project designed to map portions of the extragalactic universe. The
+ 2dF instrument was mounted on the 3.9-meter (12.8-foot) Anglo-Australian Telescope
+ (AAT), located 450 km (280 miles) northwest of Sydney. The telescope has a two-degree
+ field of view on the sky, enabling large parts of the sky to be observed at one time.
+ For each pointing of the telescope, the instrument can acquire up to 400 spectra
+ simultaneously via optical fibers that feed into two spectrographs. Each spectrograph
+ sees light that is between 350 nm and 800 nm, spanning the visible spectrum.
+ The 2dF survey has three main components: the North Galactic Pole strip, the South
+ Galactic Pole strip, and the random fields that surround the South Galactic Pole
+ strip. The galaxy survey is composed of about 230,000 galaxies with brightness and
+ redshift measurements. (Description from URL)
Data Reference: 2dF Galaxy
+ Redshift Survey (2dFGRS Team, 1998-2003)]]
+ }
}
@@ -58,11 +57,11 @@ assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "2dF Galaxies",
- Version = "2.0",
- Description = [[Digital Universe asset for the The Two-degree Field (2dF) Survey.]],
- Author = "Brian Abbott (AMNH), Eric Gawiser (Rutgers U)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"2dF"}
+ Name = "2dF Galaxies",
+ Version = "2.0",
+ Description = [[Digital Universe asset for the The Two-degree Field (2dF) Survey.]],
+ Author = "Brian Abbott (AMNH), Eric Gawiser (Rutgers U)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"2dF"}
}
diff --git a/data/assets/scene/digitaluniverse/2mass.asset b/data/assets/scene/digitaluniverse/2mass.asset
index d2a0b53a42..f69905f48c 100644
--- a/data/assets/scene/digitaluniverse/2mass.asset
+++ b/data/assets/scene/digitaluniverse/2mass.asset
@@ -3,49 +3,49 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "2MASS Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_2mass_textures",
- Version = 2
+ Name = "2MASS Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_2mass_textures",
+ Version = 2
})
local speck = asset.syncedResource({
- Name = "2MASS Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_2mass_speck",
- Version = 1
+ Name = "2MASS Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_2mass_speck",
+ Version = 1
})
local object = {
- Identifier = "2MASS",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 1.0, 0.4, 0.2 },
- Opacity = 1.0,
- File = speck .. "/2MASS.speck",
- Texture = textures .. "/point3A.png",
- ColorMap = speck .. "/lss.cmap",
- ColorOption = { "redshift", "prox5Mpc" },
- ColorRange = { { 0.0, 0.075 }, { 1.0, 50.0 } },
- Unit = "Mpc",
- CorrectionSizeEndDistance = 20.6,
- CorrectionSizeFactor = 15.0,
- ScaleFactor = 510.78,
- BillboardMaxSize = 11.15,
- EnablePixelSizeControl = true
- },
- GUI = {
- Name = "2MASS Galaxies",
- Path = "/Universe/Galaxies",
- Description = [[ The Two Micron All-Sky Survey (2MASS) is an infrared survey
- of the sky published in 2003. Because it is looking in the infrared, and
- this is a composite of the 2MASS point-source catalog, most of the light
- from this survey is starlight. In visible light, clouds of gas and dust
- obscure our view. However, in infrared, the longer wavelengths of light can
- penetrate these clouds without being scattered, thereby revealing stars
- that would normally be hidden to our eye. (Description from URL)]],
- }
+ Identifier = "2MASS",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 1.0, 0.4, 0.2 },
+ Opacity = 1.0,
+ File = speck .. "/2MASS.speck",
+ Texture = textures .. "/point3A.png",
+ ColorMap = speck .. "/lss.cmap",
+ ColorOption = { "redshift", "prox5Mpc" },
+ ColorRange = { { 0.0, 0.075 }, { 1.0, 50.0 } },
+ Unit = "Mpc",
+ CorrectionSizeEndDistance = 20.6,
+ CorrectionSizeFactor = 15.0,
+ ScaleFactor = 510.78,
+ BillboardMaxSize = 11.15,
+ EnablePixelSizeControl = true
+ },
+ GUI = {
+ Name = "2MASS Galaxies",
+ Path = "/Universe/Galaxies",
+ Description = [[ The Two Micron All-Sky Survey (2MASS) is an infrared survey of the
+ sky published in 2003. Because it is looking in the infrared, and this is a composite
+ of the 2MASS point-source catalog, most of the light from this survey is starlight. In
+ visible light, clouds of gas and dust obscure our view. However, in infrared, the
+ longer wavelengths of light can penetrate these clouds without being scattered,
+ thereby revealing stars that would normally be hidden to our eye.
+ (Description from URL)]]
+ }
}
@@ -53,12 +53,12 @@ assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "2MASS Galaxies",
- Version = "1.0",
- Description = [[ Digital Universe asset for the Two Micron All-Sky Survey (2MASS)
- survey]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"2MASS"}
+ Name = "2MASS Galaxies",
+ Version = "1.0",
+ Description = [[ Digital Universe asset for the Two Micron All-Sky Survey (2MASS)
+ survey]],
+ Author = "Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"2MASS"}
}
diff --git a/data/assets/scene/digitaluniverse/6dF.asset b/data/assets/scene/digitaluniverse/6dF.asset
index c7871b5e69..8e45fad8b5 100644
--- a/data/assets/scene/digitaluniverse/6dF.asset
+++ b/data/assets/scene/digitaluniverse/6dF.asset
@@ -3,51 +3,51 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "6dF Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_6dF_textures",
- Version = 2
+ Name = "6dF Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_6dF_textures",
+ Version = 2
})
local speck = asset.syncedResource({
- Name = "6dF Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_6dF_speck",
- Version = 2
+ Name = "6dF Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_6dF_speck",
+ Version = 2
})
local object = {
- Identifier = "6dF",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 1.0, 1.0, 0.0 },
- Opacity = 1.0,
- File = speck .. "/6dF.speck",
- Texture = textures .. "/point3A.png",
- ColorMap = speck .. "/6dF.cmap",
- ColorOption = { "redshift", "proximity" },
- ColorRange = { { 0.0, 0.075 }, { 1.0, 10.0 } },
- Unit = "Mpc",
- ScaleFactor = 534.0,
- BillboardMaxSize = 9.0,
- EnablePixelSizeControl = true,
- },
- GUI = {
- Name = "6dF Galaxies",
- Path = "/Universe/Galaxies",
- Description = [[Census 109,569 galaxies. DU Version 1.4. The Six-degree Field
- (6dF) Galaxy Survey mapped nearly half the sky from the Anglo-Australian
- Observatory. Unlike previous datasets, this one is not all-sky, meaning there
- are patches of sky that are not covered. In this case, the entire northern
- hemisphere has no coverage at all. This catalog overlaps with the Tully
- dataset, and there is a noticeable difference in the quality of these
- datasets. Tully is much tighter and the structure is more apparent, while the
- 6dF data are more spread out. This is because of local motions within galaxy
- clusters have not been corrected in these data. (Description from URL)
-
Data Reference: The 6dF Galaxy Survey Redshift Catalogue
- (Jones+, 2009)]]
- }
+ Identifier = "6dF",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 1.0, 1.0, 0.0 },
+ Opacity = 1.0,
+ File = speck .. "/6dF.speck",
+ Texture = textures .. "/point3A.png",
+ ColorMap = speck .. "/6dF.cmap",
+ ColorOption = { "redshift", "proximity" },
+ ColorRange = { { 0.0, 0.075 }, { 1.0, 10.0 } },
+ Unit = "Mpc",
+ ScaleFactor = 534.0,
+ BillboardMaxSize = 9.0,
+ EnablePixelSizeControl = true,
+ },
+ GUI = {
+ Name = "6dF Galaxies",
+ Path = "/Universe/Galaxies",
+ Description = [[Census 109,569 galaxies. DU Version 1.4. The Six-degree Field
+ (6dF) Galaxy Survey mapped nearly half the sky from the Anglo-Australian
+ Observatory. Unlike previous datasets, this one is not all-sky, meaning there
+ are patches of sky that are not covered. In this case, the entire northern
+ hemisphere has no coverage at all. This catalog overlaps with the Tully
+ dataset, and there is a noticeable difference in the quality of these
+ datasets. Tully is much tighter and the structure is more apparent, while the
+ 6dF data are more spread out. This is because of local motions within galaxy
+ clusters have not been corrected in these data. (Description from URL)
+
Data Reference: The 6dF Galaxy Survey Redshift Catalogue
+ (Jones+, 2009)]]
+ }
}
@@ -55,11 +55,11 @@ assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "6dF Galaxies",
- Version = "2.0",
- Description = [[Digital Universe asset for The Six-degree Field (6dF) Galaxy Survey]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"6dF"}
+ Name = "6dF Galaxies",
+ Version = "2.0",
+ Description = [[Digital Universe asset for The Six-degree Field (6dF) Galaxy Survey]],
+ Author = "Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"6dF"}
}
diff --git a/data/assets/scene/digitaluniverse/abell.asset b/data/assets/scene/digitaluniverse/abell.asset
index a40bf8e1f9..da0a05fd02 100644
--- a/data/assets/scene/digitaluniverse/abell.asset
+++ b/data/assets/scene/digitaluniverse/abell.asset
@@ -3,60 +3,60 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "Abell Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_abell_textures",
- Version = 2
+ Name = "Abell Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_abell_textures",
+ Version = 2
})
local speck = asset.syncedResource({
- Name = "Abell Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_abell_speck",
- Version = 2
+ Name = "Abell Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_abell_speck",
+ Version = 2
})
local object = {
- Identifier = "Abell",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 1.0, 0.4, 0.2 },
- Opacity = 1.0,
- --ColorMap = speck .. "/abell.cmap",
- File = speck .. "/abell.speck",
- Texture = textures .. "/point3A.png",
- LabelFile = speck .. "/abell.label",
- TextColor = { 0.0, 0.8, 0.0 },
- TextSize = 22,
- TextMinSize = 10.0,
- Unit = "Mpc",
- TransformationMatrix = {
- -0.7357425748, 0.67726129641, 0.0, 0.0,
- -0.074553778365, -0.080991471307, 0.9939225904, 0.0,
- 0.67314530211, 0.73127116582, 0.11008126223, 0.0,
- 0.0, 0.0, 0.0, 1.0
- },
- ScaleFactor = 520.0,
- BillboardMaxSize = 7.0,
- EnablePixelSizeControl = true
+ Identifier = "Abell",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 1.0, 0.4, 0.2 },
+ Opacity = 1.0,
+ --ColorMap = speck .. "/abell.cmap",
+ File = speck .. "/abell.speck",
+ Texture = textures .. "/point3A.png",
+ LabelFile = speck .. "/abell.label",
+ TextColor = { 0.0, 0.8, 0.0 },
+ TextSize = 22,
+ TextMinSize = 10.0,
+ Unit = "Mpc",
+ TransformationMatrix = {
+ -0.7357425748, 0.67726129641, 0.0, 0.0,
+ -0.074553778365, -0.080991471307, 0.9939225904, 0.0,
+ 0.67314530211, 0.73127116582, 0.11008126223, 0.0,
+ 0.0, 0.0, 0.0, 1.0
},
- GUI = {
- Name = "Abell Galaxy Clusters",
- Path = "/Universe/Galaxies",
- Description = [[Census 2,246 galaxies. DU Version 1.4. The Abell catalog
- includes all the nearby, and not so nearby, galaxy clusters. The northern
- hemisphere survey, published in 1958, was compiled by George Abell (1927–1983)
- from the Palomar Sky Survey plates. A subsequent southern hemisphere catalog
- was published posthumously in 1989. Further analysis by Brent Tully determined
- their distance and three-dimensional distribution. Each point in this data set
- represents a cluster of tens to hundreds (possibly even thousands) of
- galaxies, similar to the Virgo or Fornax Clusters. You will notice some points
- are assigned colors while most are gray. The data set also has an arbitrary
- cut-off for completeness, resulting in the rectangular shape of the data set.
- (Description from URL)
Data Reference: Abell Clusters of Rich
- Galaxies, Brent Tully (U Hawaii), Stuart Levy (NCSA/UIUC)]],
- }
+ ScaleFactor = 520.0,
+ BillboardMaxSize = 7.0,
+ EnablePixelSizeControl = true
+ },
+ GUI = {
+ Name = "Abell Galaxy Clusters",
+ Path = "/Universe/Galaxies",
+ Description = [[Census 2,246 galaxies. DU Version 1.4. The Abell catalog
+ includes all the nearby, and not so nearby, galaxy clusters. The northern
+ hemisphere survey, published in 1958, was compiled by George Abell (1927–1983)
+ from the Palomar Sky Survey plates. A subsequent southern hemisphere catalog
+ was published posthumously in 1989. Further analysis by Brent Tully determined
+ their distance and three-dimensional distribution. Each point in this data set
+ represents a cluster of tens to hundreds (possibly even thousands) of
+ galaxies, similar to the Virgo or Fornax Clusters. You will notice some points
+ are assigned colors while most are gray. The data set also has an arbitrary
+ cut-off for completeness, resulting in the rectangular shape of the data set.
+ (Description from URL)
Data Reference: Abell Clusters of Rich
+ Galaxies, Brent Tully (U Hawaii), Stuart Levy (NCSA/UIUC)]],
+ }
}
@@ -64,11 +64,11 @@ assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Abell Galaxy Clusters",
- Version = "2.0",
- Description = [[Digital Universe asset for The Abell catalog]],
- Author = "Stuart Levy (NCSA/UIUC), Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"Abell"}
+ Name = "Abell Galaxy Clusters",
+ Version = "2.0",
+ Description = [[Digital Universe asset for The Abell catalog]],
+ Author = "Stuart Levy (NCSA/UIUC), Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"Abell"}
}
diff --git a/data/assets/scene/digitaluniverse/alternatestarlabels.asset b/data/assets/scene/digitaluniverse/alternatestarlabels.asset
index 2ba0ff4eb9..2a58510736 100644
--- a/data/assets/scene/digitaluniverse/alternatestarlabels.asset
+++ b/data/assets/scene/digitaluniverse/alternatestarlabels.asset
@@ -3,48 +3,48 @@ local assetHelper = asset.require('util/asset_helper')
local speck = asset.syncedResource({
- Name = "Alternate Star Labels Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_alternatestarlabels_speck",
- Version = 1
+ Name = "Alternate Star Labels Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_alternatestarlabels_speck",
+ Version = 1
})
local object = {
- Identifier = "StarLabelsAlternate",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 1.0, 1.0, 1.0 },
- Opacity = 0.65,
- LabelFile = speck .. "/stars-altlbl.label",
- TextColor = { 0.4, 0.4, 0.4 },
- DrawLabels = true,
- TextSize = 14.7,
- TextMinSize = 6.0,
- Unit = "pc"
- },
- GUI = {
- Name = "Stars Labels - Alternate",
- Path = "/Milky Way/Stars",
- Description = [[Census 3,550 star names. DU Version 1.7. The main star data
- identify the accepted IAU star names for the brightest stars. However, astronomers
- have long cataloged thousands of stars beyond the brightest ones we see. Several
- attempts over thousands of years to name all the visible stars have led to two
- main catalogs: Johann Bayer's Catalog from 1603 and John Flamsteed's Catalog
- published in 1725. (Description from URL)
Data Reference: Various
- sources]],
- }
+ Identifier = "StarLabelsAlternate",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 1.0, 1.0, 1.0 },
+ Opacity = 0.65,
+ LabelFile = speck .. "/stars-altlbl.label",
+ TextColor = { 0.4, 0.4, 0.4 },
+ DrawLabels = true,
+ TextSize = 14.7,
+ TextMinSize = 6.0,
+ Unit = "pc"
+ },
+ GUI = {
+ Name = "Stars Labels - Alternate",
+ Path = "/Milky Way/Stars",
+ Description = [[Census 3,550 star names. DU Version 1.7. The main star data
+ identify the accepted IAU star names for the brightest stars. However, astronomers
+ have long cataloged thousands of stars beyond the brightest ones we see. Several
+ attempts over thousands of years to name all the visible stars have led to two
+ main catalogs: Johann Bayer's Catalog from 1603 and John Flamsteed's Catalog
+ published in 1725. (Description from URL)
Data Reference:
- Brian Abbott (AMNH)]],
- }
+ },
+ GUI = {
+ Name = "Galaxy Cluster Labels",
+ Path = "/Universe/Galaxies",
+ Description = [[Census 15 galaxy cluster labels. DU Version 1.2. The Galaxy
+ clusters dataset is a series of labels that mark where the large clusters of
+ galaxies are in the nearby universe. These labels must be used in conjunction
+ with the Tully galaxy group.(Description from URL)
Data Reference:
+ Brian Abbott (AMNH)]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Galaxy Clusters Labels",
- Version = "1.0",
- Description = [[Digital Universe asset for Galaxy Clusters]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"GalaxyClusterLabels"}
+ Name = "Galaxy Clusters Labels",
+ Version = "1.0",
+ Description = [[Digital Universe asset for Galaxy Clusters]],
+ Author = "Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"GalaxyClusterLabels"}
}
diff --git a/data/assets/scene/digitaluniverse/constellationbounds.asset b/data/assets/scene/digitaluniverse/constellationbounds.asset
index 6da4fce20b..8987fd2407 100644
--- a/data/assets/scene/digitaluniverse/constellationbounds.asset
+++ b/data/assets/scene/digitaluniverse/constellationbounds.asset
@@ -3,55 +3,55 @@ local assetHelper = asset.require('util/asset_helper')
local data = asset.syncedResource({
- Name = "Constellation Bounds Data",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_constellationbounds_data",
- Version = 1
+ Name = "Constellation Bounds Data",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_constellationbounds_data",
+ Version = 1
})
local zodiacs = {
- "Cancer", "Taurus", "Pisces", "Aries", "Libra", "Aquarius", "Capricornus", "Scorpius",
- "Virgo", "Sagittarius", "Gemini", "Leo"
+ "Cancer", "Taurus", "Pisces", "Aries", "Libra", "Aquarius", "Capricornus", "Scorpius",
+ "Virgo", "Sagittarius", "Gemini", "Leo"
}
local object = {
- Identifier = "ConstellationBounds",
- Renderable = {
- Type = "RenderableConstellationBounds",
- Enabled = false,
- File = data .. "/bound_20.dat",
- ConstellationFile = data .. "/constellations.dat"
- -- ConstellationSelection = zodiacs
+ Identifier = "ConstellationBounds",
+ Renderable = {
+ Type = "RenderableConstellationBounds",
+ Enabled = false,
+ File = data .. "/bound_20.dat",
+ ConstellationFile = data .. "/constellations.dat"
+ -- ConstellationSelection = zodiacs
+ },
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "J2000",
+ DestinationFrame = "GALACTIC"
},
- Transform = {
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "J2000",
- DestinationFrame = "GALACTIC"
- },
- Scale = {
- Type = "StaticScale",
- Scale = 10e17
- }
- },
- GUI = {
- Name = "Constellation Bounds",
- Path = "/Milky Way/Constellations",
- Description = [[A Spherical mesh dividing the sky into regions that fit the
- constellations.]],
+ Scale = {
+ Type = "StaticScale",
+ Scale = 10e17
}
+ },
+ GUI = {
+ Name = "Constellation Bounds",
+ Path = "/Milky Way/Constellations",
+ Description = [[A Spherical mesh dividing the sky into regions that fit the
+ constellations.]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Constellation Bounds",
- Version = "1.0",
- Description = [[DU asset providing a Spherical mesh dividing the sky into regions that
- fit the constellations.]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"ConstellationBounds"}
+ Name = "Constellation Bounds",
+ Version = "1.0",
+ Description = [[DU asset providing a Spherical mesh dividing the sky into regions that
+ fit the constellations.]],
+ Author = "Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"ConstellationBounds"}
}
diff --git a/data/assets/scene/digitaluniverse/constellations.asset b/data/assets/scene/digitaluniverse/constellations.asset
index 52add17d18..e043c1734e 100644
--- a/data/assets/scene/digitaluniverse/constellations.asset
+++ b/data/assets/scene/digitaluniverse/constellations.asset
@@ -3,74 +3,74 @@ local assetHelper = asset.require('util/asset_helper')
local speck = asset.syncedResource({
- Name = "Constellation Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_constellations_speck",
- Version = 2
+ Name = "Constellation Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_constellations_speck",
+ Version = 2
})
local constellationsExtragalactic = {
- Identifier = "ConstellationsExtragalactic",
- Renderable = {
- Type = "RenderableDUMeshes",
- Enabled = false,
- Opacity = 0.4,
- File = speck .. "/constellationsEXGAL.speck",
- LabelFile = speck .. "/constellationsEXGAL.label",
- TextColor = { 0.8, 0.8, 0.8 },
- TextOpacity = 0.4,
- TextSize = 20.0,
- TextMinSize = 20.0,
- TextMaxSize = 30.0,
- MeshColor = { { 0.6, 0.4, 0.4 }, { 0.8, 0.0, 0.0 }, { 0.0, 0.3, 0.8 } },
- Unit = "Mpc"
- },
- GUI = {
- Name = "Constellations (Extragalactic)",
- Path = "/Milky Way/Constellations"
- }
+ Identifier = "ConstellationsExtragalactic",
+ Renderable = {
+ Type = "RenderableDUMeshes",
+ Enabled = false,
+ Opacity = 0.4,
+ File = speck .. "/constellationsEXGAL.speck",
+ LabelFile = speck .. "/constellationsEXGAL.label",
+ TextColor = { 0.8, 0.8, 0.8 },
+ TextOpacity = 0.4,
+ TextSize = 20.0,
+ TextMinSize = 20.0,
+ TextMaxSize = 30.0,
+ MeshColor = { { 0.6, 0.4, 0.4 }, { 0.8, 0.0, 0.0 }, { 0.0, 0.3, 0.8 } },
+ Unit = "Mpc"
+ },
+ GUI = {
+ Name = "Constellations (Extragalactic)",
+ Path = "/Milky Way/Constellations"
+ }
}
local constellations = {
- Identifier = "Constellations",
- Renderable = {
- Type = "RenderableDUMeshes",
- Enabled = false,
- Opacity = 0.3,
- File = speck .. "/constellations.speck",
- LabelFile = speck .. "/constellations.label",
- TextColor = { 0.8, 0.8, 0.8 },
- TextOpacity = 0.3,
- TextSize = 14.5,
- TextMaxSize = 170.0,
- TextMinSize = 8.0,
- MeshColor = { { 0.6, 0.4, 0.4 }, { 0.8, 0.0, 0.0 }, { 0.0, 0.3, 0.8 } },
- Unit = "pc"
- },
- GUI = {
- Name = "Constellations",
- Path = "/Milky Way/Constellations",
- Description = [[Census 88 constellations and labels. DU Version 2.3. These
- modern constellations are largely based on those of the Babylonians and
- Greeks; however, most cultures have their own figures and stories of the sky.
- More than half the official constellations adopted by scientists in 1930 were
- known to the ancients over 2,000 years ago. Each star falls into one of these
- 88 regions. Of course, today we know the stars in any given constellation do
- not necessarily have any physical relationship with one another. One star may
- be nearby, while an adjacent star in the sky may be far away.(Description
- from URL)
Data Reference: various]],
- }
+ Identifier = "Constellations",
+ Renderable = {
+ Type = "RenderableDUMeshes",
+ Enabled = false,
+ Opacity = 0.3,
+ File = speck .. "/constellations.speck",
+ LabelFile = speck .. "/constellations.label",
+ TextColor = { 0.8, 0.8, 0.8 },
+ TextOpacity = 0.3,
+ TextSize = 14.5,
+ TextMaxSize = 170.0,
+ TextMinSize = 8.0,
+ MeshColor = { { 0.6, 0.4, 0.4 }, { 0.8, 0.0, 0.0 }, { 0.0, 0.3, 0.8 } },
+ Unit = "pc"
+ },
+ GUI = {
+ Name = "Constellations",
+ Path = "/Milky Way/Constellations",
+ Description = [[Census 88 constellations and labels. DU Version 2.3. These
+ modern constellations are largely based on those of the Babylonians and
+ Greeks; however, most cultures have their own figures and stories of the sky.
+ More than half the official constellations adopted by scientists in 1930 were
+ known to the ancients over 2,000 years ago. Each star falls into one of these
+ 88 regions. Of course, today we know the stars in any given constellation do
+ not necessarily have any physical relationship with one another. One star may
+ be nearby, while an adjacent star in the sky may be far away.(Description
+ from URL)
Data Reference: various]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { constellationsExtragalactic, constellations })
asset.meta = {
- Name = "Constellations",
- Version = "1.0",
- Description = [[Digital Universe asset for constellation lines]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"Constellations", "ConstellationsExtragalactic"}
+ Name = "Constellations",
+ Version = "1.0",
+ Description = [[Digital Universe asset for constellation lines]],
+ Author = "Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"Constellations", "ConstellationsExtragalactic"}
}
diff --git a/data/assets/scene/digitaluniverse/deepsky.asset b/data/assets/scene/digitaluniverse/deepsky.asset
index 3c16db2cbb..7272af3a06 100644
--- a/data/assets/scene/digitaluniverse/deepsky.asset
+++ b/data/assets/scene/digitaluniverse/deepsky.asset
@@ -1,110 +1,109 @@
local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "Deep Sky Objects Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_deepsky_textures",
- Version = 1
+ Name = "Deep Sky Objects Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_deepsky_textures",
+ Version = 1
})
local speck = asset.syncedResource({
- Name = "Deep Sky Objects Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_deepsky_speck",
- Version = 1
+ Name = "Deep Sky Objects Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_deepsky_speck",
+ Version = 1
})
local deepSkyPoints = {
- Identifier = "DeepSkyObjects",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 1.0, 1.0, 0.0 },
- Opacity = 0.99,
- ScaleFactor = 500.0,
- File = speck .. "/dso.speck",
- Texture = textures .. "/point3.png",
- --ColorMap = speck .. "/tully.cmap",
- --ColorMap = speck .. "/lss.cmap",
- --ColorOption = { "proximity" },
- --ColorOption = { "prox5Mpc" },
- --ColorRange = { { 1.0, 30.0 } },
- LabelFile = speck .. "/dso.label",
- TextColor = { 0.1, 0.4, 0.6 },
- TextSize = 20.50,
- TextMinSize = 16.0,
- Unit = "pc",
- -- Fade in value in the same unit as "Unit"
- --FadeInDistances = { 0.05, 1.0 },
- -- Max size in pixels
- BillboardMaxSize = 8.22,
- BillboardMinSize = 0.0,
- --CorrectionSizeEndDistance = 22.0,
- --CorrectionSizeFactor = 10.45
- EnablePixelSizeControl = true
- },
- Transform = {
- Rotation = {
- Type = "StaticRotation",
- Rotation = { 0, 0, 3.14159265359 }
- }
- },
- GUI = {
- Name = "Deep Sky Objects Points",
- Path = "/Universe/Galaxies",
- Description = [[Point cloud and labels for Deep Sky Objects]]
+ Identifier = "DeepSkyObjects",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 1.0, 1.0, 0.0 },
+ Opacity = 0.99,
+ ScaleFactor = 500.0,
+ File = speck .. "/dso.speck",
+ Texture = textures .. "/point3.png",
+ --ColorMap = speck .. "/tully.cmap",
+ --ColorMap = speck .. "/lss.cmap",
+ --ColorOption = { "proximity" },
+ --ColorOption = { "prox5Mpc" },
+ --ColorRange = { { 1.0, 30.0 } },
+ LabelFile = speck .. "/dso.label",
+ TextColor = { 0.1, 0.4, 0.6 },
+ TextSize = 20.50,
+ TextMinSize = 16.0,
+ Unit = "pc",
+ -- Fade in value in the same unit as "Unit"
+ --FadeInDistances = { 0.05, 1.0 },
+ -- Max size in pixels
+ BillboardMaxSize = 8.22,
+ BillboardMinSize = 0.0,
+ --CorrectionSizeEndDistance = 22.0,
+ --CorrectionSizeFactor = 10.45
+ EnablePixelSizeControl = true
+ },
+ Transform = {
+ Rotation = {
+ Type = "StaticRotation",
+ Rotation = { 0, 0, 3.14159265359 }
}
+ },
+ GUI = {
+ Name = "Deep Sky Objects Points",
+ Path = "/Universe/Galaxies",
+ Description = [[Point cloud and labels for Deep Sky Objects]]
+ }
}
local deepSkyImages = {
- Identifier = "DeepSkyObjectsImages",
- Renderable = {
- Type = "RenderablePlanesCloud",
- Enabled = false,
- Color = { 1.0, 1.0, 1.0 },
- Opacity = 0.99,
- ScaleFactor = 1.0,
- File = speck .. "/dso.speck",
- TexturePath = textures,
- Luminosity = "radius",
- ScaleLuminosity = 0.001,
- Unit = "pc",
- -- Fade in value in the same unit as "Unit"
- --FadeInDistances = {0.001, 0.05010},
- PlaneMinSize = 5.0
- },
- Transform = {
- Rotation = {
- Type = "StaticRotation",
- Rotation = {3.14159265359, 3.14159265359, 0 }
- }
- },
- GUI = {
- Name = "Deep Sky Objects Images",
- Path = "/Universe/Galaxies",
- Description = [[Census: 63 images and labels. DU Version 1.3. These data are
- 2-D images of Messier objects placed in 3-D space. Not only do we place these
- images at the proper location and give them the correct orientation, we also
- size them accurately so that you can fly to the globular cluster M13, for
- example, and see just how small the cluster of hundreds of thousands of stars
- is relative to the rest of the Galaxy. Included Messier Objects by number are:
- 6, 7, 11, 16, 18, 21, 23-26, 29, 34-39, 41, 46-48, 50, 52, 67, 93, 103, 2-5,
- 9, 10, 12-15, 19, 22, 28, 30, 53-56, 68-72, 75, 79, 80, 92, 107, 27, 57, 76,
- 97, 8, 17, 20, 78, 1 (Description from URL)
Data Reference: Largely
- NOAO and various other sources (each image has a ref)]],
+ Identifier = "DeepSkyObjectsImages",
+ Renderable = {
+ Type = "RenderablePlanesCloud",
+ Enabled = false,
+ Color = { 1.0, 1.0, 1.0 },
+ Opacity = 0.99,
+ ScaleFactor = 1.0,
+ File = speck .. "/dso.speck",
+ TexturePath = textures,
+ Luminosity = "radius",
+ ScaleLuminosity = 0.001,
+ Unit = "pc",
+ -- Fade in value in the same unit as "Unit"
+ --FadeInDistances = {0.001, 0.05010},
+ PlaneMinSize = 5.0
+ },
+ Transform = {
+ Rotation = {
+ Type = "StaticRotation",
+ Rotation = {3.14159265359, 3.14159265359, 0 }
}
+ },
+ GUI = {
+ Name = "Deep Sky Objects Images",
+ Path = "/Universe/Galaxies",
+ Description = [[Census: 63 images and labels. DU Version 1.3. These data are
+ 2-D images of Messier objects placed in 3-D space. Not only do we place these
+ images at the proper location and give them the correct orientation, we also
+ size them accurately so that you can fly to the globular cluster M13, for
+ example, and see just how small the cluster of hundreds of thousands of stars
+ is relative to the rest of the Galaxy. Included Messier Objects by number are:
+ 6, 7, 11, 16, 18, 21, 23-26, 29, 34-39, 41, 46-48, 50, 52, 67, 93, 103, 2-5,
+ 9, 10, 12-15, 19, 22, 28, 30, 53-56, 68-72, 75, 79, 80, 92, 107, 27, 57, 76,
+ 97, 8, 17, 20, 78, 1 (Description from URL)
Data Reference: Largely
+ NOAO and various other sources (each image has a ref)]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { deepSkyPoints, deepSkyImages })
asset.meta = {
- Name = "Deep Sky Objects Images",
- Version = "1.0",
- Description = [[Digital Universe asset for Deep Sky Objects and their Images]],
- Author = "Nate Greenstein, Matt Everhart, Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"DeepSkyObjects", "DeepSkyObjectsImages"}
+ Name = "Deep Sky Objects Images",
+ Version = "1.0",
+ Description = [[Digital Universe asset for Deep Sky Objects and their Images]],
+ Author = "Nate Greenstein, Matt Everhart, Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"DeepSkyObjects", "DeepSkyObjectsImages"}
}
-
diff --git a/data/assets/scene/digitaluniverse/dwarfs.asset b/data/assets/scene/digitaluniverse/dwarfs.asset
index 8641e25771..7919dc2038 100644
--- a/data/assets/scene/digitaluniverse/dwarfs.asset
+++ b/data/assets/scene/digitaluniverse/dwarfs.asset
@@ -3,74 +3,74 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "Brown Dwarf Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_dwarfs_textures",
- Version = 1
+ Name = "Brown Dwarf Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_dwarfs_textures",
+ Version = 1
})
local speck = asset.syncedResource({
- Name = "Brown Dwarf Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_dwarfs_speck",
- Version = 2
+ Name = "Brown Dwarf Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_dwarfs_speck",
+ Version = 2
})
local object = {
- Identifier = "Dwarfs",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 0.4, 0.0, 0.1 },
- Opacity = 1.0,
- File = speck .. "/dwarfs.speck",
- Texture = textures .. "/point3.png",
- LabelFile = speck .. "/dwarfs.label",
- ColorMap = speck .. "/dwarfs.cmap",
- ColorOption = { "typeindex" },
- --ColorRange = { { 1.0, 4.0} },
- TextColor = { 0.5, 0.1, 0.2 },
- TextSize = 14.6,
- TextMinSize = 10.0,
- ScaleFactor = 372.1,
- --CorrectionSizeEndDistance = 16.1,
- --CorrectionSizeFactor = 7.75,
- BillboardMaxSize = 20.0,
- EnablePixelSizeControl = true,
- Unit = "pc"
- },
- GUI = {
- Name = "Brown Dwarfs",
- Path = "/Milky Way",
- Description = [[Census: 785 L dwarfs, 101 T dwarfs, 17 Y dwarfs. DU Version 6.4.
- In astronomy, there are dwarf stars-red, white, and brown-dwarf novae,
- and even dwarf galaxies. As you might imagine, astronomers use the term dwarf
- when they refer to the smaller objects in any given class. For decades it was
- believed that M stars were the coolest stars in the Galaxy. Some M stars,
- called red dwarfs, make up 70% of the stars in the Galaxy, including our
- nearest known neighbor, Proxima Centauri. However, a new class of objects,
- even cooler than M stars, was recently discovered and given a spectral type
- of L. L-type objects straddle the boundary between red dwarfs and brown
- dwarfs, the latter of which are not massive enough to ignite the nuclear
- processes necessary for it to shine as a star. L-type objects are typically
- very dim stars or brown dwarfs. Even cooler than L-type objects are T-type
- objects. These are mostly brown dwarfs and resemble large, massive,
- Jupiter-like objects, too large to be planets and typically too small to be
- stars. Beyond the T dwarfs are the Y-type objects, which are even more
- dim.(Description from URL)
Data Reference: The Brown Dwarf Kinematics
- Project (Faherty+ 2019)]]
- }
+ Identifier = "Dwarfs",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 0.4, 0.0, 0.1 },
+ Opacity = 1.0,
+ File = speck .. "/dwarfs.speck",
+ Texture = textures .. "/point3.png",
+ LabelFile = speck .. "/dwarfs.label",
+ ColorMap = speck .. "/dwarfs.cmap",
+ ColorOption = { "typeindex" },
+ --ColorRange = { { 1.0, 4.0} },
+ TextColor = { 0.5, 0.1, 0.2 },
+ TextSize = 14.6,
+ TextMinSize = 10.0,
+ ScaleFactor = 372.1,
+ --CorrectionSizeEndDistance = 16.1,
+ --CorrectionSizeFactor = 7.75,
+ BillboardMaxSize = 20.0,
+ EnablePixelSizeControl = true,
+ Unit = "pc"
+ },
+ GUI = {
+ Name = "Brown Dwarfs",
+ Path = "/Milky Way",
+ Description = [[Census: 785 L dwarfs, 101 T dwarfs, 17 Y dwarfs. DU Version 6.4.
+ In astronomy, there are dwarf stars-red, white, and brown-dwarf novae,
+ and even dwarf galaxies. As you might imagine, astronomers use the term dwarf
+ when they refer to the smaller objects in any given class. For decades it was
+ believed that M stars were the coolest stars in the Galaxy. Some M stars,
+ called red dwarfs, make up 70% of the stars in the Galaxy, including our
+ nearest known neighbor, Proxima Centauri. However, a new class of objects,
+ even cooler than M stars, was recently discovered and given a spectral type
+ of L. L-type objects straddle the boundary between red dwarfs and brown
+ dwarfs, the latter of which are not massive enough to ignite the nuclear
+ processes necessary for it to shine as a star. L-type objects are typically
+ very dim stars or brown dwarfs. Even cooler than L-type objects are T-type
+ objects. These are mostly brown dwarfs and resemble large, massive,
+ Jupiter-like objects, too large to be planets and typically too small to be
+ stars. Beyond the T dwarfs are the Y-type objects, which are even more
+ dim.(Description from URL)
Data Reference: The Brown Dwarf Kinematics
+ Project (Faherty+ 2019)]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Brown Dwarfs",
- Version = "2.0",
- Description = [[Digital Universe asset for Brown Dwarfs]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"Dwarfs"}
+ Name = "Brown Dwarfs",
+ Version = "2.0",
+ Description = [[Digital Universe asset for Brown Dwarfs]],
+ Author = "Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"Dwarfs"}
}
diff --git a/data/assets/scene/digitaluniverse/exoplanets.asset b/data/assets/scene/digitaluniverse/exoplanets.asset
index ec4e7e1c3a..4fb990c4e4 100644
--- a/data/assets/scene/digitaluniverse/exoplanets.asset
+++ b/data/assets/scene/digitaluniverse/exoplanets.asset
@@ -3,63 +3,63 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "Exoplanets Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_exoplanets_textures",
- Version = 1
+ Name = "Exoplanets Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_exoplanets_textures",
+ Version = 1
})
local speck = asset.syncedResource({
- Name = "Exoplanets Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_exoplanets_speck",
- Version = 2
+ Name = "Exoplanets Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_exoplanets_speck",
+ Version = 2
})
local object = {
- Identifier = "Exoplanets",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 1.0, 1.0, 1.0 },
- Opacity = 1.0,
- ScaleFactor = 10.0,
- Texture = textures .. "/target-blue.png",
- File = speck .. "/expl.speck",
- LabelFile = speck .. "/expl.label",
- ScaleFactor = 388.67923,
- TextColor = { 0.3, 0.3, 0.8 },
- TextSize = 14.8,
- TextMaxSize = 200.0,
- TextMinSize = 10.0,
- CorrectionSizeEndDistance = 15.23,
- CorrectionSizeFactor = 13.3,
- Unit = "pc",
- BillboardMaxSize = 75.0,
- EnablePixelSizeControl = true,
- },
- GUI = {
- Name = "Exoplanets",
- Path = "/Milky Way/Exoplanets",
- Description = [[Census: 4,055 planets in 3,023 systems. DU Version 20.11.
- Extrasolar planets, or exoplanets, are a relatively new phenomenon in
- astronomy. While many astronomers believed in their existence, no
- observational evidence was available until 1995. Since that time, scientists
- have discovered thousands of systems consisting of one or more planets around
- a host star.(Description from URL)
Data Reference: NASA Exoplanet
- Archive (CalTech/NASA)]],
- }
+ Identifier = "Exoplanets",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 1.0, 1.0, 1.0 },
+ Opacity = 1.0,
+ ScaleFactor = 10.0,
+ Texture = textures .. "/target-blue.png",
+ File = speck .. "/expl.speck",
+ LabelFile = speck .. "/expl.label",
+ ScaleFactor = 388.67923,
+ TextColor = { 0.3, 0.3, 0.8 },
+ TextSize = 14.8,
+ TextMaxSize = 200.0,
+ TextMinSize = 10.0,
+ CorrectionSizeEndDistance = 15.23,
+ CorrectionSizeFactor = 13.3,
+ Unit = "pc",
+ BillboardMaxSize = 75.0,
+ EnablePixelSizeControl = true,
+ },
+ GUI = {
+ Name = "Exoplanets",
+ Path = "/Milky Way/Exoplanets",
+ Description = [[Census: 4,055 planets in 3,023 systems. DU Version 20.11.
+ Extrasolar planets, or exoplanets, are a relatively new phenomenon in
+ astronomy. While many astronomers believed in their existence, no
+ observational evidence was available until 1995. Since that time, scientists
+ have discovered thousands of systems consisting of one or more planets around
+ a host star.(Description from URL)
Data Reference: NASA Exoplanet
+ Archive (CalTech/NASA)]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Exoplanets",
- Version = "1.0",
- Description = [[Digital Universe asset for Exoplanets]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"Exoplanets"}
+ Name = "Exoplanets",
+ Version = "1.0",
+ Description = [[Digital Universe asset for Exoplanets]],
+ Author = "Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"Exoplanets"}
}
diff --git a/data/assets/scene/digitaluniverse/globularclusters.asset b/data/assets/scene/digitaluniverse/globularclusters.asset
index ea516aac13..179fe2cbc9 100644
--- a/data/assets/scene/digitaluniverse/globularclusters.asset
+++ b/data/assets/scene/digitaluniverse/globularclusters.asset
@@ -3,77 +3,77 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "Globular Clusters Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_globularclusters_textures",
- Version = 1
+ Name = "Globular Clusters Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_globularclusters_textures",
+ Version = 1
})
local speck = asset.syncedResource({
- Name = "Globular Clusters Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_globularclusters_speck",
- Version = 2
+ Name = "Globular Clusters Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_globularclusters_speck",
+ Version = 2
})
local object = {
- Identifier = "GlobularClusters",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 0.8, 0.8, 0.0 },
- Opacity = 0.4,
- File = speck .. "/gc.speck",
- Texture = textures .. "/point4.png",
- PolygonSides = 5,
- LabelFile = speck .. "/gc.label",
- TextColor = { 0.5, 0.5, 0.0 },
- ScaleFactor = 431.0,
- TextSize = 16.7,
- TextMinSize = 4.0,
- TextMaxSize = 20,
- Unit = "pc",
- BillboardMaxSize = 500,
- EnablePixelSizeControl = true,
- },
- GUI = {
- Name = "Globular Clusters",
- Path = "/Milky Way",
- Description = [[Census: 157 globular clusters. DU Version 2.6. Globular star
- clusters are gravitationally bound groups of 100,000 to 1 million stars. They
- are compact, spherical “balls” of stars with very high stellar densities in
- their centers (stars near their center are within a light year of one
- another). These clusters are typically 30 to 100 light years in diameter. If
- Earth were located inside one of these clusters, our sky would be lit by an
- abundance of stars brighter than the Sun. The globular clusters form one of
- the most complete data sets in the Atlas. Data for the clusters represent
- almost all the clusters in our Galaxy—several on the opposite side of Galactic
- center may be invisible to us. The clusters orbit the Milky Way in random
- orientations, as comets orbit the Sun.(Description from URL)
Data
- Reference: Properties of Galactic Globular Clusters, C. Francis+
- (U Cambridge)]],
- }
+ Identifier = "GlobularClusters",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 0.8, 0.8, 0.0 },
+ Opacity = 0.4,
+ File = speck .. "/gc.speck",
+ Texture = textures .. "/point4.png",
+ PolygonSides = 5,
+ LabelFile = speck .. "/gc.label",
+ TextColor = { 0.5, 0.5, 0.0 },
+ ScaleFactor = 431.0,
+ TextSize = 16.7,
+ TextMinSize = 4.0,
+ TextMaxSize = 20,
+ Unit = "pc",
+ BillboardMaxSize = 500,
+ EnablePixelSizeControl = true,
+ },
+ GUI = {
+ Name = "Globular Clusters",
+ Path = "/Milky Way",
+ Description = [[Census: 157 globular clusters. DU Version 2.6. Globular star
+ clusters are gravitationally bound groups of 100,000 to 1 million stars. They
+ are compact, spherical “balls” of stars with very high stellar densities in
+ their centers (stars near their center are within a light year of one
+ another). These clusters are typically 30 to 100 light years in diameter. If
+ Earth were located inside one of these clusters, our sky would be lit by an
+ abundance of stars brighter than the Sun. The globular clusters form one of
+ the most complete data sets in the Atlas. Data for the clusters represent
+ almost all the clusters in our Galaxy—several on the opposite side of Galactic
+ center may be invisible to us. The clusters orbit the Milky Way in random
+ orientations, as comets orbit the Sun.(Description from URL)
Data
+ Reference: Properties of Galactic Globular Clusters, C. Francis+
+ (U Cambridge)]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Globular Clusters",
- Version = "2.0",
- Description = [[Census: 157 globular clusters. DU Version 2.6. Globular star clusters
- are gravitationally bound groups of 100,000 to 1 million stars. They are compact,
- spherical “balls” of stars with very high stellar densities in their centers (stars
- near their center are within a light year of one another). These clusters are
- typically 30 to 100 light years in diameter. If Earth were located inside one of these
- clusters, our sky would be lit by an abundance of stars brighter than the Sun. The
- globular clusters form one of the most complete data sets in the Atlas. Data for the
- clusters represent almost all the clusters in our Galaxy—several on the opposite side
- of Galactic center may be invisible to us. The clusters orbit the Milky Way in random
- orientations, as comets orbit the Sun.(Description from URL)
Data Reference:
- Properties of Galactic Globular Clusters, C. Francis+ (U Cambridge)]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"GlobularClusters"}
+ Name = "Globular Clusters",
+ Version = "2.0",
+ Description = [[Census: 157 globular clusters. DU Version 2.6. Globular star clusters
+ are gravitationally bound groups of 100,000 to 1 million stars. They are compact,
+ spherical “balls” of stars with very high stellar densities in their centers (stars
+ near their center are within a light year of one another). These clusters are
+ typically 30 to 100 light years in diameter. If Earth were located inside one of these
+ clusters, our sky would be lit by an abundance of stars brighter than the Sun. The
+ globular clusters form one of the most complete data sets in the Atlas. Data for the
+ clusters represent almost all the clusters in our Galaxy—several on the opposite side
+ of Galactic center may be invisible to us. The clusters orbit the Milky Way in random
+ orientations, as comets orbit the Sun.(Description from URL)
Data Reference: Brian Abbott (AMNH)]]
+ Identifier = "NearbyGalaxyGroups",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 1.0, 1.0, 1.0 },
+ Opacity = 0.65,
+ --ScaleFactor = 10.0,
+ LabelFile = speck .. "/groups.label",
+ TextColor = { 0.1, 0.6, 0.2 },
+ TextSize = 21.5,
+ TextMinSize = 8.0,
+ Unit = "Mpc",
+ DrawLabels = true,
+ TransformationMatrix = {
+ -0.7357425748, 0.67726129641, 0.0, 0.0,
+ -0.074553778365, -0.080991471307, 0.9939225904, 0.0,
+ 0.67314530211, 0.73127116582, 0.11008126223, 0.0,
+ 0.0, 0.0, 0.0, 1.0
}
+ },
+ GUI = {
+ Name = "Galaxy Group Labels",
+ Path = "/Universe/Galaxies",
+ Description = [[Census: 62 galaxy group labels. DU Version 1.2. The Galaxy
+ Groups data are a set of labels that mark the nearby galaxy groups. The Milky Way
+ is in the Local Group, and we are surrounded by many other groups.(Description
+ from URL)
Data Reference: Brian Abbott (AMNH)]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Galaxy Group Labels",
- Version = "1.0",
- Author = "Brian Abbott (AMNH)",
- Description = [[Digital Universe asset for Galaxy Groups]],
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"NearbyGalaxyGroups"}
+ Name = "Galaxy Group Labels",
+ Version = "1.0",
+ Author = "Brian Abbott (AMNH)",
+ Description = [[Digital Universe asset for Galaxy Groups]],
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"NearbyGalaxyGroups"}
}
diff --git a/data/assets/scene/digitaluniverse/h2regions.asset b/data/assets/scene/digitaluniverse/h2regions.asset
index 470c5e7146..946c1fb9ca 100644
--- a/data/assets/scene/digitaluniverse/h2regions.asset
+++ b/data/assets/scene/digitaluniverse/h2regions.asset
@@ -3,65 +3,65 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "HII Regions Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_h2regions_textures",
- Version = 1
+ Name = "HII Regions Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_h2regions_textures",
+ Version = 1
})
local speck = asset.syncedResource({
- Name = "HII Regions Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_h2regions_speck",
- Version = 3
+ Name = "HII Regions Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_h2regions_speck",
+ Version = 3
})
local object = {
- Identifier = "HIIRegions",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 0.0, 0.5, 1.0 },
- Opacity = 0.70,
- File = speck .. "/h2.speck",
- Texture = textures .."/point4.png",
- PolygonSides = 6,
- LabelFile = speck .. "/h2.label",
- TextColor = { 0.5, 0.5, 0.5 },
- ScaleFactor = 420,
- TextSize = 16.24,
- TextMinSize = 4.0,
- TextMaxSize = 20.0,
- Unit = "pc",
- BillboardMaxSize = 300.0,
- EnablePixelSizeControl = false
- },
- GUI = {
- Name = "HII Regions",
- Path = "/Milky Way",
- Description = [[Census: 1,271 nebulae. DU Version 4.6. H ii (pronounced
- H-two) regions are stellar nurseries for newborn stars. Stars are born from
- condensing clouds of hydrogen gas. As these clouds condense, the densities
- become high enough to form stars. From Earth's perspective, you'll notice that
- the H ii regions all lie close to the Galactic plane. This is not an accident
- of nature. These star-forming regions lie in the plane of the Galaxy because
- that is where star formation occurs in spiral galaxies such as our Milky Way.
- Because of this, they are great tracers of the spiral arms of the Galaxy, and
- were instrumental in our understanding of the Galaxy's overall structure
- (Description from URL)
Data Reference: The WISE catalog of Galactic
- HII Regions (Anderson+, 2014)]],
- }
+ Identifier = "HIIRegions",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 0.0, 0.5, 1.0 },
+ Opacity = 0.70,
+ File = speck .. "/h2.speck",
+ Texture = textures .."/point4.png",
+ PolygonSides = 6,
+ LabelFile = speck .. "/h2.label",
+ TextColor = { 0.5, 0.5, 0.5 },
+ ScaleFactor = 420,
+ TextSize = 16.24,
+ TextMinSize = 4.0,
+ TextMaxSize = 20.0,
+ Unit = "pc",
+ BillboardMaxSize = 300.0,
+ EnablePixelSizeControl = false
+ },
+ GUI = {
+ Name = "HII Regions",
+ Path = "/Milky Way",
+ Description = [[Census: 1,271 nebulae. DU Version 4.6. H ii (pronounced
+ H-two) regions are stellar nurseries for newborn stars. Stars are born from
+ condensing clouds of hydrogen gas. As these clouds condense, the densities
+ become high enough to form stars. From Earth's perspective, you'll notice that
+ the H ii regions all lie close to the Galactic plane. This is not an accident
+ of nature. These star-forming regions lie in the plane of the Galaxy because
+ that is where star formation occurs in spiral galaxies such as our Milky Way.
+ Because of this, they are great tracers of the spiral arms of the Galaxy, and
+ were instrumental in our understanding of the Galaxy's overall structure
+ (Description from URL)
Data Reference: The WISE catalog of Galactic
+ HII Regions (Anderson+, 2014)]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "HII Regions",
- Version = "1.0",
- Description = [[Digital Universe asset for HII Regions]],
- Author = "Carter Emmart, Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"HIIRegions"}
+ Name = "HII Regions",
+ Version = "1.0",
+ Description = [[Digital Universe asset for HII Regions]],
+ Author = "Carter Emmart, Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"HIIRegions"}
}
diff --git a/data/assets/scene/digitaluniverse/kepler.asset b/data/assets/scene/digitaluniverse/kepler.asset
index 1d5834487a..38ce9309a9 100644
--- a/data/assets/scene/digitaluniverse/kepler.asset
+++ b/data/assets/scene/digitaluniverse/kepler.asset
@@ -10,53 +10,53 @@ local textures = asset.syncedResource({
})
local speck = asset.syncedResource({
- Name = "Kepler Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_kepler_speck",
- Version = 3
+ Name = "Kepler Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_kepler_speck",
+ Version = 3
})
local object = {
- Identifier = "KeplerPlanetaryCandidates",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 1.0, 1.0, 0.0 },
- Opacity = 0.99,
- ScaleFactor = 410.0,
- File = speck .. "/kepler.speck",
- Texture = textures .. "/halo.png",
- CorrectionSizeEndDistance = 15.86,
- CorrectionSizeFactor = 8.59,
- Unit = "pc",
- BillboardMaxSize = 30.0,
- EnablePixelSizeControl = true
- },
- GUI = {
- Name = "Kepler Planetary Candidates",
- Path = "/Milky Way/Exoplanets",
- Description = [[Census: 3,254 stars. DU Version 9.3. The exoplanet candidate
- stars are likely hosts for exoplanets. These are stars plucked from NASA's Kepler
- and TESS space telescopes. The Kepler mission was designed to stare at one spot,
- roughly twelve degrees across, in the constellation Cygnus. By staring at one
- spot, the spacecraft could monitor over 500,000 stars in that field for subtle
- variations in brightness.The data included here are the stars that are considered
- good candidates to host planets. Rather than represent them photo-realistically,
- with accurate colors, we choose to visualize them as generic, pure yellow stars.
- (Description from URL)
Data Reference: NASA Exoplanet Archive
- (CalTech/NASA)]],
- }
+ Identifier = "KeplerPlanetaryCandidates",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 1.0, 1.0, 0.0 },
+ Opacity = 0.99,
+ ScaleFactor = 410.0,
+ File = speck .. "/kepler.speck",
+ Texture = textures .. "/halo.png",
+ CorrectionSizeEndDistance = 15.86,
+ CorrectionSizeFactor = 8.59,
+ Unit = "pc",
+ BillboardMaxSize = 30.0,
+ EnablePixelSizeControl = true
+ },
+ GUI = {
+ Name = "Kepler Planetary Candidates",
+ Path = "/Milky Way/Exoplanets",
+ Description = [[Census: 3,254 stars. DU Version 9.3. The exoplanet candidate
+ stars are likely hosts for exoplanets. These are stars plucked from NASA's Kepler
+ and TESS space telescopes. The Kepler mission was designed to stare at one spot,
+ roughly twelve degrees across, in the constellation Cygnus. By staring at one
+ spot, the spacecraft could monitor over 500,000 stars in that field for subtle
+ variations in brightness.The data included here are the stars that are considered
+ good candidates to host planets. Rather than represent them photo-realistically,
+ with accurate colors, we choose to visualize them as generic, pure yellow stars.
+ (Description from URL)
Data Reference: NASA Exoplanet Archive
+ (CalTech/NASA)]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Kepler Planetary Candidates",
- Version = "2.0",
- Description = [[Digital Universe asset for Kepler Planetary Candidates]],
- Author = "Brian Abbott, Emily Rice, and Jason No (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"KeplerPlanetaryCandidates"}
+ Name = "Kepler Planetary Candidates",
+ Version = "2.0",
+ Description = [[Digital Universe asset for Kepler Planetary Candidates]],
+ Author = "Brian Abbott, Emily Rice, and Jason No (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"KeplerPlanetaryCandidates"}
}
diff --git a/data/assets/scene/digitaluniverse/localdwarfs.asset b/data/assets/scene/digitaluniverse/localdwarfs.asset
index 034d27a491..8bd7fddce6 100644
--- a/data/assets/scene/digitaluniverse/localdwarfs.asset
+++ b/data/assets/scene/digitaluniverse/localdwarfs.asset
@@ -3,66 +3,66 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "Local Dwarfs Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_localdwarfs_textures",
- Version = 1
+ Name = "Local Dwarfs Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_localdwarfs_textures",
+ Version = 1
})
local speck = asset.syncedResource({
- Name = "Local Dwarfs Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_localdwarfs_speck",
- Version = 2
+ Name = "Local Dwarfs Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_localdwarfs_speck",
+ Version = 2
})
local object = {
- Identifier = "LocalDwarfGalaxies",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 0.5, 1.0, 0.2 },
- ColorMap = speck .. "/localgroup.cmap",
- ColorOption = { "association" },
- Opacity = 0.3,
- File = speck .. "/localgroup.speck",
- Texture = textures .. "/point4.png",
- PolygonSides = 12,
- LabelFile = speck .. "/localgroup.label",
- TextColor = { 0.3, 0.3, 1.0 },
- ScaleFactor = 465,
- TextSize = 18.3,
- TextMinSize = 7.3,
- Unit = "Mpc",
- BillboardMaxSize = 20.0,
- EnablePixelSizeControl = true
- },
- GUI = {
- Name = "Local Group",
- Path = "/Universe/Galaxies",
- Description = [[Census: 102 galaxies. DU Version 6.4. A group of galaxies is
- a small number of large galaxies that are typically surrounded by a large
- number of small galaxies. The Milky Way belongs to the Local Group, and is one
- of roughly 100 galaxies in that group. The Milky Way, the Andromeda Galaxy
- (also known as Messier 31, or M31), and the Triangulum Galaxy (M33) are three
- of the largest galaxies in the Local Group. Each is a spiral galaxy containing
- hundreds of billions of stars. Surrounding the Milky Way and Andromeda are a
- bevy of dwarf galaxies-smaller, often irregular galaxies, that contain
- hundreds of millions to a few billion stars. (Description from URL)
- Data Reference: Properties of dwarf galaxies in the Local Group
- (McConnachie+, 2012)]],
- }
+ Identifier = "LocalDwarfGalaxies",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 0.5, 1.0, 0.2 },
+ ColorMap = speck .. "/localgroup.cmap",
+ ColorOption = { "association" },
+ Opacity = 0.3,
+ File = speck .. "/localgroup.speck",
+ Texture = textures .. "/point4.png",
+ PolygonSides = 12,
+ LabelFile = speck .. "/localgroup.label",
+ TextColor = { 0.3, 0.3, 1.0 },
+ ScaleFactor = 465,
+ TextSize = 18.3,
+ TextMinSize = 7.3,
+ Unit = "Mpc",
+ BillboardMaxSize = 20.0,
+ EnablePixelSizeControl = true
+ },
+ GUI = {
+ Name = "Local Group",
+ Path = "/Universe/Galaxies",
+ Description = [[Census: 102 galaxies. DU Version 6.4. A group of galaxies is
+ a small number of large galaxies that are typically surrounded by a large
+ number of small galaxies. The Milky Way belongs to the Local Group, and is one
+ of roughly 100 galaxies in that group. The Milky Way, the Andromeda Galaxy
+ (also known as Messier 31, or M31), and the Triangulum Galaxy (M33) are three
+ of the largest galaxies in the Local Group. Each is a spiral galaxy containing
+ hundreds of billions of stars. Surrounding the Milky Way and Andromeda are a
+ bevy of dwarf galaxies-smaller, often irregular galaxies, that contain
+ hundreds of millions to a few billion stars. (Description from URL)
+ Data Reference: Properties of dwarf galaxies in the Local Group
+ (McConnachie+, 2012)]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Local Group",
- Version = "2.0",
- Description = [[Digital Universe asset for the Local Goup]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"LocalDwarfGalaxies"}
+ Name = "Local Group",
+ Version = "2.0",
+ Description = [[Digital Universe asset for the Local Goup]],
+ Author = "Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"LocalDwarfGalaxies"}
}
diff --git a/data/assets/scene/digitaluniverse/milkyway.asset b/data/assets/scene/digitaluniverse/milkyway.asset
index 168fbf61ad..444c2614ad 100644
--- a/data/assets/scene/digitaluniverse/milkyway.asset
+++ b/data/assets/scene/digitaluniverse/milkyway.asset
@@ -6,30 +6,30 @@ local plane = {
Identifier = "MilkyWayGalaxyImage",
Parent = "Root",
Renderable = {
- Type = "RenderablePlanesCloud",
- Enabled = true,
- Color = { 1.0, 1.0, 1.0 },
- Opacity = 0.99,
- ScaleFactor = 2.8,
- File = dataPaths.SpeckPath .. "/galaxy.speck",
- TexturePath = dataPaths.TexturesPath,
- Luminosity = "size",
- ScaleLuminosity = 1.0,
- FadeInDistances = { 3000.0, 50000.0 },
- PlaneMinSize = 5.0,
- Unit = "pc"
+ Type = "RenderablePlanesCloud",
+ Enabled = true,
+ Color = { 1.0, 1.0, 1.0 },
+ Opacity = 0.99,
+ ScaleFactor = 2.8,
+ File = dataPaths.SpeckPath .. "/galaxy.speck",
+ TexturePath = dataPaths.TexturesPath,
+ Luminosity = "size",
+ ScaleLuminosity = 1.0,
+ FadeInDistances = { 3000.0, 50000.0 },
+ PlaneMinSize = 5.0,
+ Unit = "pc"
},
GUI = {
- Name = "Milky Way Galaxy Image",
- Path = "/Universe/Galaxies",
- Description = [[Census: 1 image. DU Version 2.2. The exterior view of the
- Milky Way is simply a two-dimensional image. The image is that of NGC 1232, a
- galaxy thought to resemble our Milky Way. The image has been properly sized
- and approximately oriented to function as a placeholder, allowing one to see
- the context of the Galaxy relative to other data in the atlas. The features
- you see in the image, of course, do not represent our Galaxy, per se, but
- resemble similar features found in our Galaxy.(Description from URL)
-
Data Reference: European Southern Observatory]]
+ Name = "Milky Way Galaxy Image",
+ Path = "/Universe/Galaxies",
+ Description = [[Census: 1 image. DU Version 2.2. The exterior view of the
+ Milky Way is simply a two-dimensional image. The image is that of NGC 1232, a
+ galaxy thought to resemble our Milky Way. The image has been properly sized
+ and approximately oriented to function as a placeholder, allowing one to see
+ the context of the Galaxy relative to other data in the atlas. The features
+ you see in the image, of course, do not represent our Galaxy, per se, but
+ resemble similar features found in our Galaxy.(Description from URL)
+
Downloading the Atlas: AMNH offers the Atlas free of charge via our
- website, http://www.haydenplanetarium.org/. The User is free to download and/or
- duplicate verbatim copies of the Atlas provided this license and copyright
- information accompany the Atlas.
Modifying the Atlas: The user is free to
- modify the Atlas by either adding data or altering existing data, provided it is
- for personal use only. Once the user modifies the Atlas, it is no longer part of
- AMNH's Atlas and cannot be used publicly alongside or within the Atlas without
- written permission from AMNH.
Distributing the Atlas: The user is
- forbidden to distribute and use the Atlas for profit, as part of a software and/or
- production system that will subsequently be redistributed, or for public
- consumption (via print, electronic media, or broadcast/produced pieces) without
- written permission from AMNH.
Neither the names of American Museum of
- Natural History and Hayden Planetarium nor the names of their contributors may be
- used to endorse or promote products derived from this Atlas without specific,
- prior written permission.
The Atlas is free but is offered WITHOUT ANY
- WARRANTY of any kind. We provide the Atlas as is and take no responsibility for
- any damage resulting from the use of this Atlas. The entire risk as to the quality
- and performance of this product is with the user.
Downloading the Atlas: AMNH offers the Atlas free of charge via our
+ website, http://www.haydenplanetarium.org/. The User is free to download and/or
+ duplicate verbatim copies of the Atlas provided this license and copyright
+ information accompany the Atlas.
Modifying the Atlas: The user is free to
+ modify the Atlas by either adding data or altering existing data, provided it is
+ for personal use only. Once the user modifies the Atlas, it is no longer part of
+ AMNH's Atlas and cannot be used publicly alongside or within the Atlas without
+ written permission from AMNH.
Distributing the Atlas: The user is
+ forbidden to distribute and use the Atlas for profit, as part of a software and/or
+ production system that will subsequently be redistributed, or for public
+ consumption (via print, electronic media, or broadcast/produced pieces) without
+ written permission from AMNH.
Neither the names of American Museum of
+ Natural History and Hayden Planetarium nor the names of their contributors may be
+ used to endorse or promote products derived from this Atlas without specific,
+ prior written permission.
The Atlas is free but is offered WITHOUT ANY
+ WARRANTY of any kind. We provide the Atlas as is and take no responsibility for
+ any damage resulting from the use of this Atlas. The entire risk as to the quality
+ and performance of this product is with the user.
For more information,
+ please visit http://www.haydenplanetarium.org/universe]],
+ Identifiers = {"MilkyWayGalaxyArmLabelsImage"}
}
diff --git a/data/assets/scene/digitaluniverse/milkyway_data.asset b/data/assets/scene/digitaluniverse/milkyway_data.asset
index 855ebcc48f..90f93e7a29 100644
--- a/data/assets/scene/digitaluniverse/milkyway_data.asset
+++ b/data/assets/scene/digitaluniverse/milkyway_data.asset
@@ -1,15 +1,15 @@
local planeTextures = asset.syncedResource({
- Name = "Milky Way Plane Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_milkyway_textures",
- Version = 2
+ Name = "Milky Way Plane Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_milkyway_textures",
+ Version = 2
})
local planeSpeck = asset.syncedResource({
- Name = "Milky Way Plane Speck",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_milkyway_speck",
- Version = 1
+ Name = "Milky Way Plane Speck",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_milkyway_speck",
+ Version = 1
})
asset.export("TexturesPath", planeTextures)
diff --git a/data/assets/scene/digitaluniverse/milkyway_label.asset b/data/assets/scene/digitaluniverse/milkyway_label.asset
index f2e2046717..20fb25276e 100644
--- a/data/assets/scene/digitaluniverse/milkyway_label.asset
+++ b/data/assets/scene/digitaluniverse/milkyway_label.asset
@@ -4,54 +4,53 @@ local assetHelper = asset.require('util/asset_helper')
local homespeck = asset.syncedResource({
- Name = "Home Speck File",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_home_speck",
- Version = 1
+ Name = "Home Speck File",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_home_speck",
+ Version = 1
})
local homeLabel = {
- Identifier = "HomeLabel",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 1.0, 0.4, 0.2 },
- Opacity = 0.99,
- ScaleFactor = 500.0,
- DrawLabels = true,
- LabelFile = homespeck .. "/home.label",
- TextColor = { 0.8, 0.8, 0.8 },
- TextSize = 20.50,
- TextMinSize = 16.0,
- TransformationMatrix = {
- -0.7357425748, 0.67726129641, 0.0, 0.0,
- -0.074553778365, -0.080991471307, 0.9939225904, 0.0,
- 0.67314530211, 0.73127116582, 0.11008126223, 0.0,
- 0.0, 0.0, 0.0, 1.0
- },
- Unit = "Mpc",
- FadeInDistances = { 0.05, 1.0 },
- BillboardMaxSize = 8.22,
- BillboardMinSize = 0.0,
- EnablePixelSizeControl = true
+ Identifier = "HomeLabel",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 1.0, 0.4, 0.2 },
+ Opacity = 0.99,
+ ScaleFactor = 500.0,
+ DrawLabels = true,
+ LabelFile = homespeck .. "/home.label",
+ TextColor = { 0.8, 0.8, 0.8 },
+ TextSize = 20.50,
+ TextMinSize = 16.0,
+ TransformationMatrix = {
+ -0.7357425748, 0.67726129641, 0.0, 0.0,
+ -0.074553778365, -0.080991471307, 0.9939225904, 0.0,
+ 0.67314530211, 0.73127116582, 0.11008126223, 0.0,
+ 0.0, 0.0, 0.0, 1.0
},
- GUI = {
- Name = "Home Label",
- Path = "/Universe/Galaxies",
- Description = [[Label for the Milky Way titled "Home", sided for the galactic
- level]],
- }
+ Unit = "Mpc",
+ FadeInDistances = { 0.05, 1.0 },
+ BillboardMaxSize = 8.22,
+ BillboardMinSize = 0.0,
+ EnablePixelSizeControl = true
+ },
+ GUI = {
+ Name = "Home Label",
+ Path = "/Universe/Galaxies",
+ Description = [[Label for the Milky Way titled "Home", sided for the galactic level]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { homeLabel })
asset.meta = {
- Name = "Home Label",
- Version = "1.0",
- Description = [[Label for the Milky Way titled "Home", sided for the galactic level]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"HomeLabel"}
+ Name = "Home Label",
+ Version = "1.0",
+ Description = [[Label for the Milky Way titled "Home", sided for the galactic level]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"HomeLabel"}
}
diff --git a/data/assets/scene/digitaluniverse/milkyway_sphere.asset b/data/assets/scene/digitaluniverse/milkyway_sphere.asset
index e3843e8faa..2857777793 100644
--- a/data/assets/scene/digitaluniverse/milkyway_sphere.asset
+++ b/data/assets/scene/digitaluniverse/milkyway_sphere.asset
@@ -3,50 +3,50 @@ local assetHelper = asset.require('util/asset_helper')
local sphereTextures = asset.syncedResource({
- Name = "Milky Way Sphere Textures",
- Type = "HttpSynchronization",
- Identifier = "milkyway_textures",
- Version = 2
+ Name = "Milky Way Sphere Textures",
+ Type = "HttpSynchronization",
+ Identifier = "milkyway_textures",
+ Version = 2
})
local sphere = {
- Identifier = "MilkyWay",
- Transform = {
- Rotation = {
- Type = "StaticRotation",
- Rotation = {0, 0, 3.14159265359}
- }
- },
- Renderable = {
- Type = "RenderableSphere",
- Size = 9.2E21,
- Segments = 40,
- Opacity = 0.35,
- Texture = sphereTextures .. "/DarkUniverse_mellinger_4k.jpg",
- Orientation = "Inside",
- UseAdditiveBlending = true,
- MirrorTexture = true,
- FadeOutThreshold = 0.0015,
- Background = true
- },
- GUI = {
- Name = "Milky Way Sphere",
- Path = "/Milky Way",
- Description = [[All sky image of the Milky Way that is visible when inside. Fades
- out when zooming away from the Milky Way]],
+ Identifier = "MilkyWay",
+ Transform = {
+ Rotation = {
+ Type = "StaticRotation",
+ Rotation = {0, 0, 3.14159265359}
}
+ },
+ Renderable = {
+ Type = "RenderableSphere",
+ Size = 9.2E21,
+ Segments = 40,
+ Opacity = 0.35,
+ Texture = sphereTextures .. "/DarkUniverse_mellinger_4k.jpg",
+ Orientation = "Inside",
+ UseAdditiveBlending = true,
+ MirrorTexture = true,
+ FadeOutThreshold = 0.0015,
+ Background = true
+ },
+ GUI = {
+ Name = "Milky Way Sphere",
+ Path = "/Milky Way",
+ Description = [[All sky image of the Milky Way that is visible when inside. Fades
+ out when zooming away from the Milky Way]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { sphere })
asset.meta = {
- Name = "Milky Way Galaxy Sphere",
- Version = "2.0",
- Description = [[All sky image of the Milky Way]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"MilkyWay"}
+ Name = "Milky Way Galaxy Sphere",
+ Version = "2.0",
+ Description = [[All sky image of the Milky Way]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"MilkyWay"}
}
diff --git a/data/assets/scene/digitaluniverse/obassociations.asset b/data/assets/scene/digitaluniverse/obassociations.asset
index e357d498e9..3814638db9 100644
--- a/data/assets/scene/digitaluniverse/obassociations.asset
+++ b/data/assets/scene/digitaluniverse/obassociations.asset
@@ -3,69 +3,69 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "OB Associations Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_obassociations_textures",
- Version = 1
+ Name = "OB Associations Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_obassociations_textures",
+ Version = 1
})
local speck = asset.syncedResource({
- Name = "OB Associations Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_obassociations_speck",
- Version = 3
+ Name = "OB Associations Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_obassociations_speck",
+ Version = 3
})
local object = {
- Identifier = "OBAssociations",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 1.0, 1.0, 1.0 },
- ColorMap = speck .. "/ob.cmap",
- ColorOption = { "arm" },
- SizeOption = {"diameter"},
- ExactColorMap = true,
- Opacity = 0.7,
- File = speck .. "/ob.speck",
- Texture = textures .. "/point4.png",
- PolygonSides = 7,
- LabelFile = speck .. "/ob.label",
- TextColor = { 0.4, 0.5, 1.0 },
- ScaleFactor = 390.0,
- TextSize = 16.24,
- TextMinSize = 4.50,
- TextMaxSize = 25,
- Unit = "pc",
- BillboardMaxSize = 450.0,
- EnablePixelSizeControl = true
- },
- GUI = {
- Name = "OB Associations",
- Path = "/Milky Way",
- Description = [[Census: 61 OB associations. DU Version 2.4. OB associations
- are young groups of stars that were formed within a giant molecular cloud, but
- have dispersed after the original gas and dust from the cloud was blown away
- by the star's radiation pressure. Although an association's stars are no
- longer gravitationally bound to one another, they share a common motion in
- space because they were formed from the same cloud. This allows astronomers to
- easily determine OB association membership stars. These objects are color
- coded by their spiral arm membership. Blue associations trace the Sagittarius
- Arm. Purple associations are in the local Orion Spur. Orange associations are
- in the Perseus Arm (Description from URL)
Data Reference: New List of
- OB Associations (Melnik+)]],
- }
+ Identifier = "OBAssociations",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 1.0, 1.0, 1.0 },
+ ColorMap = speck .. "/ob.cmap",
+ ColorOption = { "arm" },
+ SizeOption = {"diameter"},
+ ExactColorMap = true,
+ Opacity = 0.7,
+ File = speck .. "/ob.speck",
+ Texture = textures .. "/point4.png",
+ PolygonSides = 7,
+ LabelFile = speck .. "/ob.label",
+ TextColor = { 0.4, 0.5, 1.0 },
+ ScaleFactor = 390.0,
+ TextSize = 16.24,
+ TextMinSize = 4.50,
+ TextMaxSize = 25,
+ Unit = "pc",
+ BillboardMaxSize = 450.0,
+ EnablePixelSizeControl = true
+ },
+ GUI = {
+ Name = "OB Associations",
+ Path = "/Milky Way",
+ Description = [[Census: 61 OB associations. DU Version 2.4. OB associations
+ are young groups of stars that were formed within a giant molecular cloud, but
+ have dispersed after the original gas and dust from the cloud was blown away
+ by the star's radiation pressure. Although an association's stars are no
+ longer gravitationally bound to one another, they share a common motion in
+ space because they were formed from the same cloud. This allows astronomers to
+ easily determine OB association membership stars. These objects are color
+ coded by their spiral arm membership. Blue associations trace the Sagittarius
+ Arm. Purple associations are in the local Orion Spur. Orange associations are
+ in the Perseus Arm (Description from URL)
Data Reference: New List of
+ OB Associations (Melnik+)]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "OB Associations",
- Version = "2.0",
- Description = [[Digital Universe asset for OB Associations]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"OBAssociations"}
+ Name = "OB Associations",
+ Version = "2.0",
+ Description = [[Digital Universe asset for OB Associations]],
+ Author = "Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"OBAssociations"}
}
diff --git a/data/assets/scene/digitaluniverse/openclusters.asset b/data/assets/scene/digitaluniverse/openclusters.asset
index 1a40b4834b..86bbc5b5c9 100644
--- a/data/assets/scene/digitaluniverse/openclusters.asset
+++ b/data/assets/scene/digitaluniverse/openclusters.asset
@@ -3,65 +3,65 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "Open Clusters Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_openclusters_textures",
- Version = 1
+ Name = "Open Clusters Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_openclusters_textures",
+ Version = 1
})
local speck = asset.syncedResource({
- Name = "Open Clusters Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_openclusters_speck",
- Version = 2
+ Name = "Open Clusters Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_openclusters_speck",
+ Version = 2
})
local object = {
- Identifier = "OpenStarClusters",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 0.1, 0.8, 0.4 },
- Opacity = 0.5,
- File = speck .. "/oc.speck",
- Texture = textures .. "/point4.png",
- PolygonSides = 12,
- TextColor = { 0.05, 0.4, 0.2 },
- LabelFile = speck .. "/oc.label",
- ScaleFactor = 405.75,
- TextSize = 15.5,
- TextMinSize = 4.5,
- TextMaxSize = 30.0,
- Unit = "pc",
- BillboardMaxSize = 604,
- EnablePixelSizeControl = true
- },
- GUI = {
- Name = "Open Star Clusters",
- Path = "/Milky Way",
- Description = [[Census: 2,040 clusters. DU Version 5.7. OB associations are
- young groups of stars that were formed within a giant molecular cloud, but
- have dispersed after the original gas and dust from the cloud was blown away
- by the star's radiation pressure. Although an association's stars are no
- longer gravitationally bound to one another, they share a common motion in
- space because they were formed from the same cloud. This allows astronomers to
- easily determine OB association membership stars. These objects are color
- coded by their spiral arm membership. Blue associations trace the Sagittarius
- Arm. Purple associations are in the local Orion Spur. Orange associations are
- in the Perseus Arm (Description from URL)
Data Reference: Optically
- visible open clusters and Candidates (Dias+ 2002-2015)]],
- }
+ Identifier = "OpenStarClusters",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 0.1, 0.8, 0.4 },
+ Opacity = 0.5,
+ File = speck .. "/oc.speck",
+ Texture = textures .. "/point4.png",
+ PolygonSides = 12,
+ TextColor = { 0.05, 0.4, 0.2 },
+ LabelFile = speck .. "/oc.label",
+ ScaleFactor = 405.75,
+ TextSize = 15.5,
+ TextMinSize = 4.5,
+ TextMaxSize = 30.0,
+ Unit = "pc",
+ BillboardMaxSize = 604,
+ EnablePixelSizeControl = true
+ },
+ GUI = {
+ Name = "Open Star Clusters",
+ Path = "/Milky Way",
+ Description = [[Census: 2,040 clusters. DU Version 5.7. OB associations are
+ young groups of stars that were formed within a giant molecular cloud, but
+ have dispersed after the original gas and dust from the cloud was blown away
+ by the star's radiation pressure. Although an association's stars are no
+ longer gravitationally bound to one another, they share a common motion in
+ space because they were formed from the same cloud. This allows astronomers to
+ easily determine OB association membership stars. These objects are color
+ coded by their spiral arm membership. Blue associations trace the Sagittarius
+ Arm. Purple associations are in the local Orion Spur. Orange associations are
+ in the Perseus Arm (Description from URL)
Data Reference: Optically
+ visible open clusters and Candidates (Dias+ 2002-2015)]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Open Star Clusters",
- Version = "2.0",
- Description = [[Digital Universe asset for Open Star Clusters]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"OpenStarClusters"}
+ Name = "Open Star Clusters",
+ Version = "2.0",
+ Description = [[Digital Universe asset for Open Star Clusters]],
+ Author = "Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"OpenStarClusters"}
}
diff --git a/data/assets/scene/digitaluniverse/planetarynebulae.asset b/data/assets/scene/digitaluniverse/planetarynebulae.asset
index 7415c85657..7fb7d217ad 100644
--- a/data/assets/scene/digitaluniverse/planetarynebulae.asset
+++ b/data/assets/scene/digitaluniverse/planetarynebulae.asset
@@ -3,62 +3,62 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "Planetary Nebulae Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_planetarynebulae_textures",
- Version = 1
+ Name = "Planetary Nebulae Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_planetarynebulae_textures",
+ Version = 1
})
local speck = asset.syncedResource({
- Name = "Planetary Nebulae Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_planetarynebulae_speck",
- Version = 2
+ Name = "Planetary Nebulae Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_planetarynebulae_speck",
+ Version = 2
})
local object = {
- Identifier = "PlanetaryNebulae",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 0.4, 0.4, 0.9 },
- Opacity = 0.65,
- File = speck .. "/pn.speck",
- Texture = textures .. "/point4.png",
- PolygonSides = 3,
- LabelFile = speck .. "/pn.label",
- TextColor = { 0.25, 0.25, 0.65 },
- ScaleFactor = 425.0,
- TextSize = 16.24,
- TextMinSize = 4.5,
- TextMaxSize = 25.0,
- Unit = "pc",
- BillboardMaxSize = 500,
- EnablePixelSizeControl = true
- },
- GUI = {
- Name = "Planetary Nebulae",
- Path = "/Milky Way",
- Description = [[Census: 283 nebulae. DU Version 2.8. A planetary nebula is an
- expanding shell of gas ejected from a star late in its life cycle. Appearing
- like greenish disks to a telescopic observer, planetary nebulae received their
- name from their resemblance to the gaseous planets of our solar system. In no
- way are they related to planets, rather, they are products of dying stars.
- (Description from URL)
Data Reference: Planetary Nebulae distances
- in Gaia DR2 (Kimeswenger+, 2018), Strasbourg-ESO Catalog of Planetary Nebulae
- (Acker+ 1992)]],
- }
+ Identifier = "PlanetaryNebulae",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 0.4, 0.4, 0.9 },
+ Opacity = 0.65,
+ File = speck .. "/pn.speck",
+ Texture = textures .. "/point4.png",
+ PolygonSides = 3,
+ LabelFile = speck .. "/pn.label",
+ TextColor = { 0.25, 0.25, 0.65 },
+ ScaleFactor = 425.0,
+ TextSize = 16.24,
+ TextMinSize = 4.5,
+ TextMaxSize = 25.0,
+ Unit = "pc",
+ BillboardMaxSize = 500,
+ EnablePixelSizeControl = true
+ },
+ GUI = {
+ Name = "Planetary Nebulae",
+ Path = "/Milky Way",
+ Description = [[Census: 283 nebulae. DU Version 2.8. A planetary nebula is an
+ expanding shell of gas ejected from a star late in its life cycle. Appearing
+ like greenish disks to a telescopic observer, planetary nebulae received their
+ name from their resemblance to the gaseous planets of our solar system. In no
+ way are they related to planets, rather, they are products of dying stars.
+ (Description from URL)
Data Reference: Planetary Nebulae distances
+ in Gaia DR2 (Kimeswenger+, 2018), Strasbourg-ESO Catalog of Planetary Nebulae
+ (Acker+ 1992)]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Planetary Nebulae",
- Version = "2.0",
- Description = [[Digital Universe asset for Planetary Nebulae]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"PlanetaryNebulae"}
+ Name = "Planetary Nebulae",
+ Version = "2.0",
+ Description = [[Digital Universe asset for Planetary Nebulae]],
+ Author = "Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"PlanetaryNebulae"}
}
diff --git a/data/assets/scene/digitaluniverse/pulsars.asset b/data/assets/scene/digitaluniverse/pulsars.asset
index ad2bd6a438..8defe08274 100644
--- a/data/assets/scene/digitaluniverse/pulsars.asset
+++ b/data/assets/scene/digitaluniverse/pulsars.asset
@@ -3,66 +3,66 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "Pulsars Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_pulsars_textures",
- Version = 1
+ Name = "Pulsars Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_pulsars_textures",
+ Version = 1
})
local speck = asset.syncedResource({
- Name = "Pulsars Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_pulsars_speck",
- Version = 2
+ Name = "Pulsars Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_pulsars_speck",
+ Version = 2
})
local object = {
- Identifier = "Pulsars",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 0.7, 0.0, 0.0 },
- Opacity = 1.0,
- File = speck .. "/pulsar.speck",
- Texture = textures .. "/point4.png",
- PolygonSides = 4,
- LabelFile = speck .. "/pulsar.label",
- TextColor = { 0.7, 0.2, 0.2 },
- ScaleFactor = 424,
- TextSize = 15.77,
- TextMinSize = 4,
- TextMaxSize = 20.0,
- Unit = "pc",
- BillboardMaxSize = 500,
- EnablePixelSizeControl = false
- },
- GUI = {
- Name = "Pulsars",
- Path = "/Milky Way",
- Description = [[Census: 2,498 pulsars. DU Version 5.6. Upon death, stars
- leave behind one of three possible remnants: a white dwarf, a neutron star, or
- a black hole. Stars that are more massive than the sun will often become
- neutron stars in a violent explosion called a supernova. During a supernova,
- the core of the star collapses under such high pressure that the electrons,
- which normally remain outside the atomic nucleus, are forced to combine with
- the protons in the nucleus. Atomic nuclei break apart, producing what is
- called a degenerate state of matter. The collapse is halted when the material
- cannot be packed any tighter. At this point, the star has a radius of about
- 10-15 kilometers. The density of this material is so high that a teaspoonful
- would weigh about 100 million tons on Earth. (Description from URL)
- Data Reference: ATNF Pulsar Catalogue, (Manchester+, 2005)]],
- }
+ Identifier = "Pulsars",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 0.7, 0.0, 0.0 },
+ Opacity = 1.0,
+ File = speck .. "/pulsar.speck",
+ Texture = textures .. "/point4.png",
+ PolygonSides = 4,
+ LabelFile = speck .. "/pulsar.label",
+ TextColor = { 0.7, 0.2, 0.2 },
+ ScaleFactor = 424,
+ TextSize = 15.77,
+ TextMinSize = 4,
+ TextMaxSize = 20.0,
+ Unit = "pc",
+ BillboardMaxSize = 500,
+ EnablePixelSizeControl = false
+ },
+ GUI = {
+ Name = "Pulsars",
+ Path = "/Milky Way",
+ Description = [[Census: 2,498 pulsars. DU Version 5.6. Upon death, stars
+ leave behind one of three possible remnants: a white dwarf, a neutron star, or
+ a black hole. Stars that are more massive than the sun will often become
+ neutron stars in a violent explosion called a supernova. During a supernova,
+ the core of the star collapses under such high pressure that the electrons,
+ which normally remain outside the atomic nucleus, are forced to combine with
+ the protons in the nucleus. Atomic nuclei break apart, producing what is
+ called a degenerate state of matter. The collapse is halted when the material
+ cannot be packed any tighter. At this point, the star has a radius of about
+ 10-15 kilometers. The density of this material is so high that a teaspoonful
+ would weigh about 100 million tons on Earth. (Description from URL)
+ Data Reference: ATNF Pulsar Catalogue, (Manchester+, 2005)]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Pulsars",
- Version = "2.0",
- Description = [[Digital Universe asset for Pulsars.]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"Pulsars"}
+ Name = "Pulsars",
+ Version = "2.0",
+ Description = [[Digital Universe asset for Pulsars.]],
+ Author = "Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"Pulsars"}
}
diff --git a/data/assets/scene/digitaluniverse/quasars.asset b/data/assets/scene/digitaluniverse/quasars.asset
index cf880b62fa..69336ed468 100644
--- a/data/assets/scene/digitaluniverse/quasars.asset
+++ b/data/assets/scene/digitaluniverse/quasars.asset
@@ -3,60 +3,60 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "Quasars Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_quasars_textures",
- Version = 2
+ Name = "Quasars Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_quasars_textures",
+ Version = 2
})
local speck = asset.syncedResource({
- Name = "Quasars Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_quasars_speck",
- Version = 2
+ Name = "Quasars Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_quasars_speck",
+ Version = 2
})
local object = {
- Identifier = "Quasars",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = true,
- Color = { 1.0, 0.4, 0.2 },
- Opacity = 0.95,
- File = speck .. "/quasars.speck",
- Texture = textures .. "/point3A.png",
- Unit = "Mpc",
- ScaleFactor = 540.9,
- -- Fade in value in the same unit as "Unit"
- FadeInDistances = { 1000.0, 10000.0 },
- BillboardMaxSize = 30.0,
- BillboardMinSize = 0.0,
- BillboardMaxSize = 11.1,
- EnablePixelSizeControl = true
- },
- GUI = {
- Name = "Quasars",
- Path = "/Universe",
- Description = [[Census: 569,442 quasars. DU Version 2.2.
- Quasars are the most distant objects we can see. They are extremely active
- galaxies that contain supermassive black holes which are gobbling up material
- at a furious rate. The Million Quasars Catalogue is an aggregate catalog of
- several surveys, including 2dF and Sloan. So, it should not be surprising that
- the shape of these data mimic the shape of the Sloan and 2dF galaxy surveys,
- with large parts of the sky unobserved.(Description from URL)
Data
- Reference: The Million Quasars catalog (Flesch, 2017)]]
- }
+ Identifier = "Quasars",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = true,
+ Color = { 1.0, 0.4, 0.2 },
+ Opacity = 0.95,
+ File = speck .. "/quasars.speck",
+ Texture = textures .. "/point3A.png",
+ Unit = "Mpc",
+ ScaleFactor = 540.9,
+ -- Fade in value in the same unit as "Unit"
+ FadeInDistances = { 1000.0, 10000.0 },
+ BillboardMaxSize = 30.0,
+ BillboardMinSize = 0.0,
+ BillboardMaxSize = 11.1,
+ EnablePixelSizeControl = true
+ },
+ GUI = {
+ Name = "Quasars",
+ Path = "/Universe",
+ Description = [[Census: 569,442 quasars. DU Version 2.2.
+ Quasars are the most distant objects we can see. They are extremely active
+ galaxies that contain supermassive black holes which are gobbling up material
+ at a furious rate. The Million Quasars Catalogue is an aggregate catalog of
+ several surveys, including 2dF and Sloan. So, it should not be surprising that
+ the shape of these data mimic the shape of the Sloan and 2dF galaxy surveys,
+ with large parts of the sky unobserved.(Description from URL)
Data
+ Reference: The Million Quasars catalog (Flesch, 2017)]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Quasars",
- Version = "2.0",
- Description = [[Digital Universe asset for Quasars.]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"Quasars"}
+ Name = "Quasars",
+ Version = "2.0",
+ Description = [[Digital Universe asset for Quasars.]],
+ Author = "Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"Quasars"}
}
diff --git a/data/assets/scene/digitaluniverse/sdss.asset b/data/assets/scene/digitaluniverse/sdss.asset
index b0bc956351..61914b1951 100644
--- a/data/assets/scene/digitaluniverse/sdss.asset
+++ b/data/assets/scene/digitaluniverse/sdss.asset
@@ -3,75 +3,75 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "Sloan Digital Sky Survey Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_sloandss_textures",
- Version = 2
+ Name = "Sloan Digital Sky Survey Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_sloandss_textures",
+ Version = 2
})
local speck = asset.syncedResource({
- Name = "Sloan Digital Sky Survey Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_sloandss_speck",
- Version = 2
+ Name = "Sloan Digital Sky Survey Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_sloandss_speck",
+ Version = 2
})
local object = {
- Identifier = "SloanDigitalSkySurvey",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = true,
- Color = { 0.8, 0.8, 1.0 },
- Opacity = 0.8,
- ScaleFactor = 520.0,
- File = speck .. "/SDSSgals.speck",
- ColorMap = speck .. "/SDSSgals.cmap",
- ColorOption = { "redshift", "proximity" },
- ColorRange = { { 0.0, 0.075 }, { 1.0, 50.0 } },
- Texture = textures .. "/point3A.png",
- Unit = "Mpc",
- -- Fade in value in the same unit as "Unit"
- FadeInDistances = { 220.0, 650.0 },
- BillboardMaxSize = 50.0,
- BillboardMinSize = 0.0,
- CorrectionSizeEndDistance = 20.65,
- CorrectionSizeFactor = 10.41,
- TextSize = 14.8,
- TextMinSize = 10.0,
- TextMaxSize = 50.0,
- BillboardMaxSize = 5.5,
- EnablePixelSizeControl = true
- },
- GUI = {
- Name = "Sloan Digital Sky Survey",
- Path = "/Universe/Galaxies",
- Description = [[Census: 2,600,258 galaxies. DU Version 10.6. The Sloan Digital
- Sky Survey (SDSS) is an ambitious project to image about 35% of the sky, deep
- into the universe. The survey measured the position and brightness of almost 1
- billion objects, and obtained spectra to more than 4 million objects. This is
- not an all-sky survey, so there are large parts of the sky that remain
- unobserved, which produces the bow tie distribution and the black areas where
- there surely are galaxies, but we have yet to observe them. These galaxies
- appear to extend beyond the 2dF survey to distances that exceed 5 billion
- light years. However, the weblike structure of clusters, filaments, and voids
- seems to fade by about 2 billion light years. Beyond this distance, the
- completeness of the survey drops so that only the intrinsically bright
- galaxies are visible. The weblike cosmic structure is echoed in these data,
- with orange clusters standing out among the less dense aqua-colored galaxies
- and the less dense regions of green-colored galaxies. (Description from URL)
-
Data Reference: Sloan Digital Sky Survey (http://www.sdss.org/)]]
- }
+ Identifier = "SloanDigitalSkySurvey",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = true,
+ Color = { 0.8, 0.8, 1.0 },
+ Opacity = 0.8,
+ ScaleFactor = 520.0,
+ File = speck .. "/SDSSgals.speck",
+ ColorMap = speck .. "/SDSSgals.cmap",
+ ColorOption = { "redshift", "proximity" },
+ ColorRange = { { 0.0, 0.075 }, { 1.0, 50.0 } },
+ Texture = textures .. "/point3A.png",
+ Unit = "Mpc",
+ -- Fade in value in the same unit as "Unit"
+ FadeInDistances = { 220.0, 650.0 },
+ BillboardMaxSize = 50.0,
+ BillboardMinSize = 0.0,
+ CorrectionSizeEndDistance = 20.65,
+ CorrectionSizeFactor = 10.41,
+ TextSize = 14.8,
+ TextMinSize = 10.0,
+ TextMaxSize = 50.0,
+ BillboardMaxSize = 5.5,
+ EnablePixelSizeControl = true
+ },
+ GUI = {
+ Name = "Sloan Digital Sky Survey",
+ Path = "/Universe/Galaxies",
+ Description = [[Census: 2,600,258 galaxies. DU Version 10.6. The Sloan Digital
+ Sky Survey (SDSS) is an ambitious project to image about 35% of the sky, deep
+ into the universe. The survey measured the position and brightness of almost 1
+ billion objects, and obtained spectra to more than 4 million objects. This is
+ not an all-sky survey, so there are large parts of the sky that remain
+ unobserved, which produces the bow tie distribution and the black areas where
+ there surely are galaxies, but we have yet to observe them. These galaxies
+ appear to extend beyond the 2dF survey to distances that exceed 5 billion
+ light years. However, the weblike structure of clusters, filaments, and voids
+ seems to fade by about 2 billion light years. Beyond this distance, the
+ completeness of the survey drops so that only the intrinsically bright
+ galaxies are visible. The weblike cosmic structure is echoed in these data,
+ with orange clusters standing out among the less dense aqua-colored galaxies
+ and the less dense regions of green-colored galaxies. (Description from URL)
+
Data
- Reference: Sebastien Lepine (AMNH)]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"SunOrbit", "BarnardsOrbit", "KapteynsOrbit", "pM_J13420Orbit",
- "LSR1826Orbit", "LSRJ0822Orbit", "lacaille9352Orbit"}
+ Name = "Star Orbits",
+ Version = "1.0",
+ Description = [[Select Star Orbital paths that delineate their trajectory around the
+ Milky Way over 1 billion years into the future. Included: Sun, Barnards, Kapteyns,
+ Lacaille 9352, LSR1826+3014, LSRJ0822+1700, PM_J13420-3415.
Data
+ Reference: Sebastien Lepine (AMNH)]],
+ Author = "Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"SunOrbit", "BarnardsOrbit", "KapteynsOrbit", "pM_J13420Orbit",
+ "LSR1826Orbit", "LSRJ0822Orbit", "lacaille9352Orbit"}
}
diff --git a/data/assets/scene/digitaluniverse/stars.asset b/data/assets/scene/digitaluniverse/stars.asset
index d4b114322e..3103cd6c9a 100644
--- a/data/assets/scene/digitaluniverse/stars.asset
+++ b/data/assets/scene/digitaluniverse/stars.asset
@@ -3,82 +3,82 @@ local assetHelper = asset.require('util/asset_helper')
local colorLUT = asset.require('./stars_colormap').BvColorLUT
local textures = asset.syncedResource({
- Name = "Stars Textures",
- Type = "HttpSynchronization",
- Identifier = "stars_textures",
- Version = 1
+ Name = "Stars Textures",
+ Type = "HttpSynchronization",
+ Identifier = "stars_textures",
+ Version = 1
})
local speck = asset.syncedResource({
- Name = "Stars Speck Files",
- Type = "HttpSynchronization",
- Identifier = "stars_du",
- Version = 4
+ Name = "Stars Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "stars_du",
+ Version = 4
})
local sunspeck = asset.syncedResource({
- Name = "Stars Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_sunstar_speck",
- Version = 1
+ Name = "Stars Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_sunstar_speck",
+ Version = 1
})
local stars = {
- Identifier = "Stars",
- Renderable = {
- Type = "RenderableStars",
- File = speck .. "/stars.speck",
- Texture = textures .. "/halo.png",
- --ShapeTexture = textures .. "/disc.png",
- ColorMap = colorLUT .. "/colorbv.cmap",
- MagnitudeExponent = 6.2,
- SizeComposition = "Distance Modulus",
- RenderMethod = "Texture Based" -- or PSF
- },
- GUI = {
- Name = "Stars",
- Path = "/Milky Way/Stars",
- Description = [[Census: 117,003 stars with 321 labels. DU Version 7.8. This
- star catalog is a combination of all available star catalogs, wherein we
- choose the best distance available to place the stars around the Sun as
- accurately as is possible. (Description from URL)
Data Reference:
- XHIP: An Extended Hipparcos Compilation (Anderson E., Francis C. 2012);
- Hipparcos Catalog (European Space Agency 1997); Gliese Catalog (Gliese and
- Jahriess 1991)]],
- }
+ Identifier = "Stars",
+ Renderable = {
+ Type = "RenderableStars",
+ File = speck .. "/stars.speck",
+ Texture = textures .. "/halo.png",
+ --ShapeTexture = textures .. "/disc.png",
+ ColorMap = colorLUT .. "/colorbv.cmap",
+ MagnitudeExponent = 6.2,
+ SizeComposition = "Distance Modulus",
+ RenderMethod = "Texture Based" -- or PSF
+ },
+ GUI = {
+ Name = "Stars",
+ Path = "/Milky Way/Stars",
+ Description = [[Census: 117,003 stars with 321 labels. DU Version 7.8. This
+ star catalog is a combination of all available star catalogs, wherein we
+ choose the best distance available to place the stars around the Sun as
+ accurately as is possible. (Description from URL)
Data Reference:
+ XHIP: An Extended Hipparcos Compilation (Anderson E., Francis C. 2012);
+ Hipparcos Catalog (European Space Agency 1997); Gliese Catalog (Gliese and
+ Jahriess 1991)]],
+ }
}
local sunstar = {
- Identifier = "SunStar",
- Renderable = {
- Type = "RenderableStars",
- File = sunspeck .. "/sunstar.speck",
- Texture = textures .. "/halo.png",
- --ShapeTexture = textures .. "/disc.png",
- ColorMap = colorLUT .. "/colorbv.cmap",
- MagnitudeExponent = 6.2,
- SizeComposition = "Distance Modulus",
- RenderMethod = "Texture Based", -- or PSF
- FadeInDistances = { 0.0001, 0.1 },
- RenderableType = "PostDeferredTransparent"
- },
- GUI = {
- Name = "Sun",
- Path = "/Milky Way/Stars",
- Description = [[Individual star to represent the sun when outside of the solar
- system]]
- }
+ Identifier = "SunStar",
+ Renderable = {
+ Type = "RenderableStars",
+ File = sunspeck .. "/sunstar.speck",
+ Texture = textures .. "/halo.png",
+ --ShapeTexture = textures .. "/disc.png",
+ ColorMap = colorLUT .. "/colorbv.cmap",
+ MagnitudeExponent = 6.2,
+ SizeComposition = "Distance Modulus",
+ RenderMethod = "Texture Based", -- or PSF
+ FadeInDistances = { 0.0001, 0.1 },
+ RenderableType = "PostDeferredTransparent"
+ },
+ GUI = {
+ Name = "Sun",
+ Path = "/Milky Way/Stars",
+ Description = [[Individual star to represent the sun when outside of the solar
+ system]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { stars, sunstar })
asset.meta = {
- Name = "Stars",
- Version = "2.0",
- Description = [[Digital Universe asset for the stars.]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"Stars"}
+ Name = "Stars",
+ Version = "2.0",
+ Description = [[Digital Universe asset for the stars.]],
+ Author = "Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"Stars"}
}
diff --git a/data/assets/scene/digitaluniverse/stars_colormap.asset b/data/assets/scene/digitaluniverse/stars_colormap.asset
index f7f6432f7d..eb4cbc22e3 100644
--- a/data/assets/scene/digitaluniverse/stars_colormap.asset
+++ b/data/assets/scene/digitaluniverse/stars_colormap.asset
@@ -1,22 +1,22 @@
local assetHelper = asset.require('util/asset_helper')
local BvColorLUT = asset.syncedResource({
- Name = "Stars Color Table",
- Type = "HttpSynchronization",
- Identifier = "stars_colormap",
- Version = 2
+ Name = "Stars Color Table",
+ Type = "HttpSynchronization",
+ Identifier = "stars_colormap",
+ Version = 2
})
asset.export("BvColorLUT", BvColorLUT)
asset.meta = {
- Name = "Stars B-V Colormap",
- Version = "2.0",
- Description = [[A lookup table that maps a B-V color index to an RGB color.
- The B-V values are in the range (-0.4, 2.0) and each line maps a value
- in that range to a color]],
- Author = "OpenSpace Team",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe"
+ Name = "Stars B-V Colormap",
+ Version = "2.0",
+ Description = [[A lookup table that maps a B-V color index to an RGB color.
+ The B-V values are in the range (-0.4, 2.0) and each line maps a value
+ in that range to a color]],
+ Author = "OpenSpace Team",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe"
}
diff --git a/data/assets/scene/digitaluniverse/superclusters.asset b/data/assets/scene/digitaluniverse/superclusters.asset
index c5c688640d..85546e608e 100644
--- a/data/assets/scene/digitaluniverse/superclusters.asset
+++ b/data/assets/scene/digitaluniverse/superclusters.asset
@@ -3,60 +3,60 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "Galaxy Superclusters Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_superclusters_textures",
- Version = 2
+ Name = "Galaxy Superclusters Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_superclusters_textures",
+ Version = 2
})
local speck = asset.syncedResource({
- Name = "Galaxy Superclusters Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_superclusters_speck",
- Version = 2
+ Name = "Galaxy Superclusters Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_superclusters_speck",
+ Version = 2
})
local object = {
- Identifier = "GalaxySuperclusters",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- DrawElements = false,
- Color = { 1.0, 1.0, 1.0 },
- Opacity = 0.65,
- File = speck .. "/superclust.speck",
- Texture = textures .. "/point3A.png",
- LabelFile = speck .. "/superclust.label",
- TextColor = { 0.9, 0.9, 0.9 },
- ScaleFactor = 531.0,
- TextSize = 22.44,
- TextMinSize = 8.0,
- Unit = "Mpc",
- DrawLabels = true,
- --BillboardMaxSize = 7.2,
- EnablePixelSizeControl = true
- },
- GUI = {
- Name = "Galaxy Superclusters",
- Path = "/Universe/Galaxies",
- Description = [[Census: 33 labels. DU Version 1.3. The superclusters dataset
- is a set of labels that mark the major galaxy superclusters in the local universe.
- They correspond to, and should be viewed with, the Abell clusters. Astronomers
- estimate there are 10 million superclusters in the observable universe.
- (Description from URL)
Data Reference: Superclusters of Abell and X-ray
- clusters (Einasto+, 2001)]]
- }
+ Identifier = "GalaxySuperclusters",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ DrawElements = false,
+ Color = { 1.0, 1.0, 1.0 },
+ Opacity = 0.65,
+ File = speck .. "/superclust.speck",
+ Texture = textures .. "/point3A.png",
+ LabelFile = speck .. "/superclust.label",
+ TextColor = { 0.9, 0.9, 0.9 },
+ ScaleFactor = 531.0,
+ TextSize = 22.44,
+ TextMinSize = 8.0,
+ Unit = "Mpc",
+ DrawLabels = true,
+ --BillboardMaxSize = 7.2,
+ EnablePixelSizeControl = true
+ },
+ GUI = {
+ Name = "Galaxy Superclusters",
+ Path = "/Universe/Galaxies",
+ Description = [[Census: 33 labels. DU Version 1.3. The superclusters dataset
+ is a set of labels that mark the major galaxy superclusters in the local universe.
+ They correspond to, and should be viewed with, the Abell clusters. Astronomers
+ estimate there are 10 million superclusters in the observable universe.
+ (Description from URL)
Data Reference: Superclusters of Abell and X-ray
+ clusters (Einasto+, 2001)]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Galaxy Superclusters",
- Version = "2.0",
- Description = [[Digital Universe asset for Galaxy Superclusters.]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"GalaxySuperclusters"}
+ Name = "Galaxy Superclusters",
+ Version = "2.0",
+ Description = [[Digital Universe asset for Galaxy Superclusters.]],
+ Author = "Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"GalaxySuperclusters"}
}
diff --git a/data/assets/scene/digitaluniverse/supernovaremnants.asset b/data/assets/scene/digitaluniverse/supernovaremnants.asset
index d3b19093a3..20a4f8f557 100644
--- a/data/assets/scene/digitaluniverse/supernovaremnants.asset
+++ b/data/assets/scene/digitaluniverse/supernovaremnants.asset
@@ -3,61 +3,61 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "Supernova Remnants Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_supernovaremnants_textures",
- Version = 1
+ Name = "Supernova Remnants Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_supernovaremnants_textures",
+ Version = 1
})
local speck = asset.syncedResource({
- Name = "Supernova Remnants Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_supernovaremnants_speck",
- Version = 2
+ Name = "Supernova Remnants Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_supernovaremnants_speck",
+ Version = 2
})
local object = {
- Identifier = "SupernovaRemnants",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- Color = { 1.0, 0.5, 0.0 },
- Opacity = 0.32,
- File = speck .. "/snr.speck",
- Texture = textures .. "/point4.png",
- PolygonSides = 7,
- LabelFile = speck .. "/snr.label",
- TextColor = { 0.6, 0.46, 0.0 },
- ScaleFactor = 424,
- TextSize = 16.44,
- TextMinSize = 4.0,
- TextMaxSize = 200.0,
- --CorrectionSizeEndDistance = 17.5,
- --CorrectionSizeFactor = 13.96,
- Unit = "pc",
- BillboardMaxSize = 500,
- EnablePixelSizeControl = true
- },
- GUI = {
- Name = "Supernova Remnants",
- Path = "/Milky Way",
- Description = [[Census: 112 supernova remnants. DU Version 3.7. A supernova
- remnant is the ejected gas that results from a supernova. It glows for a
- cosmically short period of time before mixing with the interstellar medium.
- (Description from URL)
Data Reference: The First Fermi LAT SNR
- Catalog (Acero+, 2016)]],
- }
+ Identifier = "SupernovaRemnants",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ Color = { 1.0, 0.5, 0.0 },
+ Opacity = 0.32,
+ File = speck .. "/snr.speck",
+ Texture = textures .. "/point4.png",
+ PolygonSides = 7,
+ LabelFile = speck .. "/snr.label",
+ TextColor = { 0.6, 0.46, 0.0 },
+ ScaleFactor = 424,
+ TextSize = 16.44,
+ TextMinSize = 4.0,
+ TextMaxSize = 200.0,
+ --CorrectionSizeEndDistance = 17.5,
+ --CorrectionSizeFactor = 13.96,
+ Unit = "pc",
+ BillboardMaxSize = 500,
+ EnablePixelSizeControl = true
+ },
+ GUI = {
+ Name = "Supernova Remnants",
+ Path = "/Milky Way",
+ Description = [[Census: 112 supernova remnants. DU Version 3.7. A supernova
+ remnant is the ejected gas that results from a supernova. It glows for a
+ cosmically short period of time before mixing with the interstellar medium.
+ (Description from URL)
Data Reference: The First Fermi LAT SNR
+ Catalog (Acero+, 2016)]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Supernova Remnants",
- Version = "2.0",
- Description = [[Digital Universe asset for Supernova Remnants.]],
- Author = "Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"SupernovaRemnants"}
+ Name = "Supernova Remnants",
+ Version = "2.0",
+ Description = [[Digital Universe asset for Supernova Remnants.]],
+ Author = "Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"SupernovaRemnants"}
}
diff --git a/data/assets/scene/digitaluniverse/tully.asset b/data/assets/scene/digitaluniverse/tully.asset
index 42438baa5e..21e65f5ed5 100644
--- a/data/assets/scene/digitaluniverse/tully.asset
+++ b/data/assets/scene/digitaluniverse/tully.asset
@@ -3,126 +3,126 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "Tully Textures",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_tully_textures",
- Version = 3
+ Name = "Tully Textures",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_tully_textures",
+ Version = 3
})
local speck = asset.syncedResource({
- Name = "Tully Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_tully_speck",
- Version = 2
+ Name = "Tully Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_tully_speck",
+ Version = 2
})
local tullyPoints = {
- Identifier = "TullyGalaxies",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = true,
- Color = { 1.0, 0.4, 0.2 },
- Opacity = 0.99,
- ScaleFactor = 504.0,
- File = speck .. "/tully.speck",
- Texture = textures .. "/point3A.png",
- --ColorMap = speck .. "/tully.cmap",
- ColorMap = speck .. "/lss.cmap",
- --ColorOption = { "proximity" },
- ColorOption = { "prox5Mpc" },
- ColorRange = { { 1.0, 30.0 } },
- LabelFile = speck .. "/tully.label",
- DrawLabels = false,
- TextColor = { 0.7, 0.7, 0.7 },
- TextSize = 19.36,
- TextMinSize = 8.2,
- TransformationMatrix = {
- -0.7357425748, 0.67726129641, 0.0, 0.0,
- -0.074553778365, -0.080991471307, 0.9939225904, 0.0,
- 0.67314530211, 0.73127116582, 0.11008126223, 0.0,
- 0.0, 0.0, 0.0, 1.0
- },
- Unit = "Mpc",
- -- Fade in value in the same unit as "Unit"
- FadeInDistances = { 0.001, 1.0 },
- -- Max size in pixels
- BillboardMaxSize = 7,
- BillboardMinSize = 0,
- --CorrectionSizeEndDistance = 22.0,
- --CorrectionSizeFactor = 10.45
- EnablePixelSizeControl = true
+ Identifier = "TullyGalaxies",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = true,
+ Color = { 1.0, 0.4, 0.2 },
+ Opacity = 0.99,
+ ScaleFactor = 504.0,
+ File = speck .. "/tully.speck",
+ Texture = textures .. "/point3A.png",
+ --ColorMap = speck .. "/tully.cmap",
+ ColorMap = speck .. "/lss.cmap",
+ --ColorOption = { "proximity" },
+ ColorOption = { "prox5Mpc" },
+ ColorRange = { { 1.0, 30.0 } },
+ LabelFile = speck .. "/tully.label",
+ DrawLabels = false,
+ TextColor = { 0.7, 0.7, 0.7 },
+ TextSize = 19.36,
+ TextMinSize = 8.2,
+ TransformationMatrix = {
+ -0.7357425748, 0.67726129641, 0.0, 0.0,
+ -0.074553778365, -0.080991471307, 0.9939225904, 0.0,
+ 0.67314530211, 0.73127116582, 0.11008126223, 0.0,
+ 0.0, 0.0, 0.0, 1.0
},
- GUI = {
- Name = "Tully Galaxies",
- Path = "/Universe/Galaxies",
- Description = [[Census: 30,059 galaxies. DU Version 1.5. The Tully Catalog is
- the most polished, accurate catalog of nearby galaxies. It includes over 30,000
- galaxies in the local universe that surround the Milky Way. This catalog
- demonstrates the large-scale structure of the universe exceptionally well. And,
- each galaxy has a representative image reflecting its morphological type, and is
- properly sized and inclined. Size and shape. The data form a cube, which is an
- arbitrary cutoff based on the completeness of these data. Beyond this, data from
- these sources are not as reliable, so effort is made to show a complete picture,
- albeit limited by observations (for example, we cannot see dwarf galaxies much
- beyond the Local Group). The size of the cube is roughly 1 billion light years on
- a diagonal (so the farthest galaxies in the dataset are about 1 billion light
- years from the Milky Way), or about 700 million light years per side.
-
Colors. Orange denotes more dense regions of the local universe, aqua is
- given to galaxies in an intermediate-density area, and green is given to lower
- density regions.(Description from URL)
Data Reference: Tully Galaxy
- Catalog: Brent Tully (U Hawaii), Stuart Levy (NCSA/UIUC)]]
- }
+ Unit = "Mpc",
+ -- Fade in value in the same unit as "Unit"
+ FadeInDistances = { 0.001, 1.0 },
+ -- Max size in pixels
+ BillboardMaxSize = 7,
+ BillboardMinSize = 0,
+ --CorrectionSizeEndDistance = 22.0,
+ --CorrectionSizeFactor = 10.45
+ EnablePixelSizeControl = true
+ },
+ GUI = {
+ Name = "Tully Galaxies",
+ Path = "/Universe/Galaxies",
+ Description = [[Census: 30,059 galaxies. DU Version 1.5. The Tully Catalog is
+ the most polished, accurate catalog of nearby galaxies. It includes over 30,000
+ galaxies in the local universe that surround the Milky Way. This catalog
+ demonstrates the large-scale structure of the universe exceptionally well. And,
+ each galaxy has a representative image reflecting its morphological type, and is
+ properly sized and inclined. Size and shape. The data form a cube, which is an
+ arbitrary cutoff based on the completeness of these data. Beyond this, data from
+ these sources are not as reliable, so effort is made to show a complete picture,
+ albeit limited by observations (for example, we cannot see dwarf galaxies much
+ beyond the Local Group). The size of the cube is roughly 1 billion light years on
+ a diagonal (so the farthest galaxies in the dataset are about 1 billion light
+ years from the Milky Way), or about 700 million light years per side.
+
Colors. Orange denotes more dense regions of the local universe, aqua is
+ given to galaxies in an intermediate-density area, and green is given to lower
+ density regions.(Description from URL)
Data Reference: Tully Galaxy
+ Catalog: Brent Tully (U Hawaii), Stuart Levy (NCSA/UIUC)]]
+ }
}
local tullyImages = {
- Identifier = "TullyGalaxiesImages",
- Renderable = {
- Type = "RenderablePlanesCloud",
- Enabled = true,
- Color = { 1.0, 1.0, 1.0 },
- Opacity = 0.99,
- ScaleFactor = 1.0,
- File = speck .. "/tully.speck",
- TexturePath = textures,
- Luminosity = "diamkpc",
- ScaleLuminosity = 0.001,
- TransformationMatrix = {
- -0.7357425748, 0.67726129641, 0.0, 0.0,
- -0.074553778365, -0.080991471307, 0.9939225904, 0.0,
- 0.67314530211, 0.73127116582, 0.11008126223, 0.0,
- 0.0, 0.0, 0.0, 1.0
- },
- Unit = "Mpc",
- -- Fade in value in the same unit as "Unit"
- FadeInDistances = {0.0005, 0.003},
- PlaneMinSize = 1.0
+ Identifier = "TullyGalaxiesImages",
+ Renderable = {
+ Type = "RenderablePlanesCloud",
+ Enabled = true,
+ Color = { 1.0, 1.0, 1.0 },
+ Opacity = 0.99,
+ ScaleFactor = 1.0,
+ File = speck .. "/tully.speck",
+ TexturePath = textures,
+ Luminosity = "diamkpc",
+ ScaleLuminosity = 0.001,
+ TransformationMatrix = {
+ -0.7357425748, 0.67726129641, 0.0, 0.0,
+ -0.074553778365, -0.080991471307, 0.9939225904, 0.0,
+ 0.67314530211, 0.73127116582, 0.11008126223, 0.0,
+ 0.0, 0.0, 0.0, 1.0
},
- GUI = {
- Name = "Tully Galaxies Images",
- Path = "/Universe/Galaxies",
- Description = [[Each galaxy is represented by an image
- that represents its morphological type (spiral, elliptical, etc.). Most of these
- come from The Galaxy Catalog. A handful of nearby galaxies are represented by
- their actual images, which come mostly from the National Optical Astronomy
- Observatory (NOAO). Each of these images has been altered from its original state.
- These images were taken from Earth on some of the world’s largest telescopes, so
- foreground stars from our own Galaxy appear in each image. We are representing
- galaxies in extragalactic space, so we have removed the stars from each image.
- (Description from URL)
Data Reference: Tully Galaxy Catalog: Brent Tully
- (U Hawaii), Stuart Levy (NCSA/UIUC)]]
- }
+ Unit = "Mpc",
+ -- Fade in value in the same unit as "Unit"
+ FadeInDistances = {0.0005, 0.003},
+ PlaneMinSize = 1.0
+ },
+ GUI = {
+ Name = "Tully Galaxies Images",
+ Path = "/Universe/Galaxies",
+ Description = [[Each galaxy is represented by an image
+ that represents its morphological type (spiral, elliptical, etc.). Most of these
+ come from The Galaxy Catalog. A handful of nearby galaxies are represented by
+ their actual images, which come mostly from the National Optical Astronomy
+ Observatory (NOAO). Each of these images has been altered from its original state.
+ These images were taken from Earth on some of the world’s largest telescopes, so
+ foreground stars from our own Galaxy appear in each image. We are representing
+ galaxies in extragalactic space, so we have removed the stars from each image.
+ (Description from URL)
Data Reference: Tully Galaxy Catalog: Brent Tully
+ (U Hawaii), Stuart Levy (NCSA/UIUC)]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { tullyPoints, tullyImages })
asset.meta = {
- Name = "Tully Galaxies",
- Version = "3.0",
- Description = [[Digital Universe asset for Tully Galaxies, including point cloud and
- images.]],
- Author = "Stuart Levy (NCSA/UIUC), Brian Abbott (AMNH)",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"TullyGalaxies" , "TullyGalaxiesImages"}
+ Name = "Tully Galaxies",
+ Version = "3.0",
+ Description = [[Digital Universe asset for Tully Galaxies, including point cloud and
+ images.]],
+ Author = "Stuart Levy (NCSA/UIUC), Brian Abbott (AMNH)",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"TullyGalaxies" , "TullyGalaxiesImages"}
}
diff --git a/data/assets/scene/digitaluniverse/voids.asset b/data/assets/scene/digitaluniverse/voids.asset
index dbc7eac25a..20538ee161 100644
--- a/data/assets/scene/digitaluniverse/voids.asset
+++ b/data/assets/scene/digitaluniverse/voids.asset
@@ -3,52 +3,52 @@ local assetHelper = asset.require('util/asset_helper')
local speck = asset.syncedResource({
- Name = "Voids Speck Files",
- Type = "HttpSynchronization",
- Identifier = "digitaluniverse_voids_speck",
- Version = 2
+ Name = "Voids Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "digitaluniverse_voids_speck",
+ Version = 2
})
local object = {
- Identifier = "Voids",
- Renderable = {
- Type = "RenderableBillboardsCloud",
- Enabled = false,
- DrawElements = false,
- DrawLabels = true,
- Color = { 1.0, 1.0, 1.0 },
- Opacity = 0.65,
- LabelFile = speck .. "/voids.label",
- TextColor = { 0.296, 0.629, 1.0 },
- TextSize = 20.9,
- TextMinSize = 8.0,
- Unit = "Mpc"
- },
- GUI = {
- Name = "Voids",
- Path = "/Universe/Galaxies",
- Description = [[ Census: 24 cosmic voids. DU Version 1.2. Cosmic voids are
- vast, empty spaces where there are either no galaxies, or very few galaxies.
- They are associated with cold spots in the cosmic microwave background (CMB)
- light, the earliest picture we have of the universe (see page 58). Those cold
- spots in the CMB evolved into large voids, some as much as 300 million light
- years in diameter. Labels roughly denote the location of cosmic voids in the
- Tully galaxies. Voids are only visible with motion cuing as you spin around
- these data. The labels help to guide the eye and provide sign posts for the
- largest voids in our cosmic neighborhood. (Description from URL)
Data
- Reference: various sources]]
- }
+ Identifier = "Voids",
+ Renderable = {
+ Type = "RenderableBillboardsCloud",
+ Enabled = false,
+ DrawElements = false,
+ DrawLabels = true,
+ Color = { 1.0, 1.0, 1.0 },
+ Opacity = 0.65,
+ LabelFile = speck .. "/voids.label",
+ TextColor = { 0.296, 0.629, 1.0 },
+ TextSize = 20.9,
+ TextMinSize = 8.0,
+ Unit = "Mpc"
+ },
+ GUI = {
+ Name = "Voids",
+ Path = "/Universe/Galaxies",
+ Description = [[ Census: 24 cosmic voids. DU Version 1.2. Cosmic voids are
+ vast, empty spaces where there are either no galaxies, or very few galaxies.
+ They are associated with cold spots in the cosmic microwave background (CMB)
+ light, the earliest picture we have of the universe (see page 58). Those cold
+ spots in the CMB evolved into large voids, some as much as 300 million light
+ years in diameter. Labels roughly denote the location of cosmic voids in the
+ Tully galaxies. Voids are only visible with motion cuing as you spin around
+ these data. The labels help to guide the eye and provide sign posts for the
+ largest voids in our cosmic neighborhood. (Description from URL)
Data
+ Reference: various sources]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Voids",
- Version = "2.0",
- Author = "Brian Abbott (AMNH)",
- Description = [[Digital Universe asset for Cosmic voids.]],
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"Voids"}
+ Name = "Voids",
+ Version = "2.0",
+ Author = "Brian Abbott (AMNH)",
+ Description = [[Digital Universe asset for Cosmic voids.]],
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"Voids"}
}
diff --git a/data/assets/scene/milkyway/constellations/constellation_art.asset b/data/assets/scene/milkyway/constellations/constellation_art.asset
index cc0db4c8d9..8df89c7658 100644
--- a/data/assets/scene/milkyway/constellations/constellation_art.asset
+++ b/data/assets/scene/milkyway/constellations/constellation_art.asset
@@ -21,59 +21,58 @@ local createConstellations = function (baseIdentifier, guiPath, constellationfil
local distanceMultiplier = 3.2;
local baseScale = 1e17;
for line in io.lines(openspace.absPath(constellationfile)) do
- if (notFirstLine) then
- -- describes the data
- local matchstring = '(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-)$'
- local group, abbreviation, name, x, y, z, scale, imageName, rotX, rotY, rotZ, centerStar = line:match(matchstring)
- local magVec = math.sqrt(x*x + y*y + z*z)
- local normx = x/magVec
- local normy = y/magVec
- local normz = z/magVec
+ if (notFirstLine) then
+ -- describes the data
+ local matchstring = '(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-)$'
+ local group, abbreviation, name, x, y, z, scale, imageName, rotX, rotY, rotZ, centerStar = line:match(matchstring)
+ local magVec = math.sqrt(x*x + y*y + z*z)
+ local normx = x/magVec
+ local normy = y/magVec
+ local normz = z/magVec
- group = (group == '' and globe or group)
-
- local aconstellation = {
- -- Identifier = guiPath .. '-' .. name,
- Identifier = baseIdentifier .. '-' .. abbreviation,
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "StaticTranslation",
- -- position is in parsecs from the SolarSystemBarycenter, so convert to meters
- Position = {
- normx * PARSEC_CONSTANT * distanceMultiplier,
- normy * PARSEC_CONSTANT * distanceMultiplier,
- normz * PARSEC_CONSTANT * distanceMultiplier
- }
- },
- Rotation = {
- Type = "StaticRotation",
- Rotation = { tonumber(rotX), tonumber(rotY), tonumber(rotZ) }
- }
+ group = (group == '' and globe or group)
+ local aconstellation = {
+ -- Identifier = guiPath .. '-' .. name,
+ Identifier = baseIdentifier .. '-' .. abbreviation,
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "StaticTranslation",
+ -- position is in parsecs from the SolarSystemBarycenter, so convert to meters
+ Position = {
+ normx * PARSEC_CONSTANT * distanceMultiplier,
+ normy * PARSEC_CONSTANT * distanceMultiplier,
+ normz * PARSEC_CONSTANT * distanceMultiplier
+ }
},
- Renderable = {
- Type = "RenderablePlaneImageLocal",
- Size = tonumber(baseScale * scale * distanceMultiplier / 10),
- Enabled = false,
- Origin = "Center",
- Billboard = false,
- LazyLoading = true,
- Texture = images .. "/" .. imageName,
- BlendMode = "Additive",
- Opacity = 0.1
- },
- Tag = { "ConstellationArtImage", group },
- GUI = {
- Name = name .. ' Image',
- Path = '/Milky Way/' .. guiPath
+ Rotation = {
+ Type = "StaticRotation",
+ Rotation = { tonumber(rotX), tonumber(rotY), tonumber(rotZ) }
}
+ },
+ Renderable = {
+ Type = "RenderablePlaneImageLocal",
+ Size = tonumber(baseScale * scale * distanceMultiplier / 10),
+ Enabled = false,
+ Origin = "Center",
+ Billboard = false,
+ LazyLoading = true,
+ Texture = images .. "/" .. imageName,
+ BlendMode = "Additive",
+ Opacity = 0.1
+ },
+ Tag = { "ConstellationArtImage", group },
+ GUI = {
+ Name = name .. ' Image',
+ Path = '/Milky Way/' .. guiPath
}
- table.insert(genConstellations, aconstellation);
+ }
+ table.insert(genConstellations, aconstellation);
- else
- notFirstLine = true
- end
+ else
+ notFirstLine = true
+ end
end
return genConstellations
end
@@ -98,10 +97,10 @@ end)
asset.meta = {
- Name = "Constellation Images",
- Version = "1.0",
- Description = "Artistic images depicting the constellations",
- Author = "James Hedberg",
- URL = "http://jameshedberg.com",
- License = "CC-BY"
+ Name = "Constellation Images",
+ Version = "1.0",
+ Description = "Artistic images depicting the constellations",
+ Author = "James Hedberg",
+ URL = "http://jameshedberg.com",
+ License = "CC-BY"
}
diff --git a/data/assets/scene/milkyway/constellations/constellation_extrakeybinds.asset b/data/assets/scene/milkyway/constellations/constellation_extrakeybinds.asset
index 35ea29873f..383a82b0ea 100644
--- a/data/assets/scene/milkyway/constellations/constellation_extrakeybinds.asset
+++ b/data/assets/scene/milkyway/constellations/constellation_extrakeybinds.asset
@@ -1,7 +1,6 @@
local scene_helper = asset.require('util/scene_helper')
local Keybindings = {
-
{
Key = "v",
Name = "Show Constellation Art",
diff --git a/data/assets/scene/milkyway/exoplanets/exoplanets_data.asset b/data/assets/scene/milkyway/exoplanets/exoplanets_data.asset
index 76d4cddbdc..73d4f033a5 100644
--- a/data/assets/scene/milkyway/exoplanets/exoplanets_data.asset
+++ b/data/assets/scene/milkyway/exoplanets/exoplanets_data.asset
@@ -1,33 +1,33 @@
local bvColorLUT = asset.require('scene/digitaluniverse/stars_colormap').BvColorLUT
local DataPath = asset.syncedResource({
- Name = "Exoplanet Data Files",
- Type = "HttpSynchronization",
- Identifier = "exoplanets_data",
- Version = 2
+ Name = "Exoplanet Data Files",
+ Type = "HttpSynchronization",
+ Identifier = "exoplanets_data",
+ Version = 2
})
asset.onInitialize(function ()
- local p = "Modules.Exoplanets.DataFolder";
- if (openspace.getPropertyValue(p) == "") then
- openspace.setPropertyValueSingle(p, DataPath)
- end
+ local p = "Modules.Exoplanets.DataFolder";
+ if (openspace.getPropertyValue(p) == "") then
+ openspace.setPropertyValueSingle(p, DataPath)
+ end
- p = "Modules.Exoplanets.BvColormap";
- if (openspace.getPropertyValue(p) == "") then
- openspace.setPropertyValueSingle(p, bvColorLUT .. "/colorbv.cmap")
- end
+ p = "Modules.Exoplanets.BvColormap";
+ if (openspace.getPropertyValue(p) == "") then
+ openspace.setPropertyValueSingle(p, bvColorLUT .. "/colorbv.cmap")
+ end
end)
asset.export("DataPath", DataPath)
asset.meta = {
- Name = "Exoplanet Data",
- Version = "2.0",
- Description = [[ The data that is used for the exoplanet systems. The data has been
- derived from the 'Planetary Systems Composite Data' dataset from the NASA Exoplanet
- Archive]],
- Author = "OpenSpace Team",
- URL = "https://exoplanetarchive.ipac.caltech.edu/docs/data.html",
- License = "MIT license"
+ Name = "Exoplanet Data",
+ Version = "2.0",
+ Description = [[ The data that is used for the exoplanet systems. The data has been
+ derived from the 'Planetary Systems Composite Data' dataset from the NASA Exoplanet
+ Archive]],
+ Author = "OpenSpace Team",
+ URL = "https://exoplanetarchive.ipac.caltech.edu/docs/data.html",
+ License = "MIT license"
}
diff --git a/data/assets/scene/milkyway/exoplanets/exoplanets_textures.asset b/data/assets/scene/milkyway/exoplanets/exoplanets_textures.asset
index e86d14c73d..dd80929b3d 100644
--- a/data/assets/scene/milkyway/exoplanets/exoplanets_textures.asset
+++ b/data/assets/scene/milkyway/exoplanets/exoplanets_textures.asset
@@ -4,57 +4,57 @@ local habitableZoneTextures =
local sunTextures = asset.require('scene/solarsystem/sun/sun_textures').TexturesPath
local TexturesPath = asset.syncedResource({
- Name = "Exoplanet Textures",
- Type = "HttpSynchronization",
- Identifier = "exoplanets_textures",
- Version = 2
+ Name = "Exoplanet Textures",
+ Type = "HttpSynchronization",
+ Identifier = "exoplanets_textures",
+ Version = 2
})
asset.onInitialize(function ()
- local starTexture = TexturesPath .. "/sun.jpg"
- local noDataTexture = TexturesPath .. "/grid-32.png"
- local discTexture = TexturesPath .. "/disc_bw_texture.png"
+ local starTexture = TexturesPath .. "/sun.jpg"
+ local noDataTexture = TexturesPath .. "/grid-32.png"
+ local discTexture = TexturesPath .. "/disc_bw_texture.png"
- local starGlareTexture = sunTextures .. "/halo.png"
+ local starGlareTexture = sunTextures .. "/halo.png"
- local hzTexture = habitableZoneTextures .. "/hot_to_cold_faded.png"
+ local hzTexture = habitableZoneTextures .. "/hot_to_cold_faded.png"
- -- Set the default textures used for the exoplanet system creation
- -- (Check if already set, to not override value in config file)
- local p = "Modules.Exoplanets.StarTexture";
- if (openspace.getPropertyValue(p) == "") then
- openspace.setPropertyValueSingle(p, starTexture)
- end
+ -- Set the default textures used for the exoplanet system creation
+ -- (Check if already set, to not override value in config file)
+ local p = "Modules.Exoplanets.StarTexture";
+ if (openspace.getPropertyValue(p) == "") then
+ openspace.setPropertyValueSingle(p, starTexture)
+ end
- local p = "Modules.Exoplanets.StarGlareTexture";
- if (openspace.getPropertyValue(p) == "") then
- openspace.setPropertyValueSingle(p, starGlareTexture)
- end
+ local p = "Modules.Exoplanets.StarGlareTexture";
+ if (openspace.getPropertyValue(p) == "") then
+ openspace.setPropertyValueSingle(p, starGlareTexture)
+ end
- p = "Modules.Exoplanets.NoDataTexture";
- if (openspace.getPropertyValue(p) == "") then
- openspace.setPropertyValueSingle(p, noDataTexture)
- end
+ p = "Modules.Exoplanets.NoDataTexture";
+ if (openspace.getPropertyValue(p) == "") then
+ openspace.setPropertyValueSingle(p, noDataTexture)
+ end
- p = "Modules.Exoplanets.OrbitDiscTexture";
- if (openspace.getPropertyValue(p) == "") then
- openspace.setPropertyValueSingle(p, discTexture)
- end
+ p = "Modules.Exoplanets.OrbitDiscTexture";
+ if (openspace.getPropertyValue(p) == "") then
+ openspace.setPropertyValueSingle(p, discTexture)
+ end
- p = "Modules.Exoplanets.HabitableZoneTexture";
- if (openspace.getPropertyValue(p) == "") then
- openspace.setPropertyValueSingle(p, hzTexture)
- end
+ p = "Modules.Exoplanets.HabitableZoneTexture";
+ if (openspace.getPropertyValue(p) == "") then
+ openspace.setPropertyValueSingle(p, hzTexture)
+ end
end)
asset.export("TexturesPath", TexturesPath)
asset.meta = {
- Name = "Exoplanet Textures",
- Version = "2.0",
- Description = [[ Adds all textures that are required for the exoplanet system
- visualizations]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
+ Name = "Exoplanet Textures",
+ Version = "2.0",
+ Description = [[ Adds all textures that are required for the exoplanet system
+ visualizations]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
}
diff --git a/data/assets/scene/milkyway/gaia/apogee.asset b/data/assets/scene/milkyway/gaia/apogee.asset
index 1b1bdccd80..efa58038ff 100644
--- a/data/assets/scene/milkyway/gaia/apogee.asset
+++ b/data/assets/scene/milkyway/gaia/apogee.asset
@@ -3,47 +3,47 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "Stars Textures",
- Type = "HttpSynchronization",
- Identifier = "stars_textures",
- Version = 1
+ Name = "Stars Textures",
+ Type = "HttpSynchronization",
+ Identifier = "stars_textures",
+ Version = 1
})
local speck = asset.syncedResource({
- Name = "Apogee Speck Files",
- Type = "HttpSynchronization",
- Identifier = "gaia_apogee",
- Version = 1
+ Name = "Apogee Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "gaia_apogee",
+ Version = 1
})
local colorLUT = asset.syncedResource({
- Name = "Stars Color Table",
- Type = "HttpSynchronization",
- Identifier = "stars_colormap",
- Version = 2
+ Name = "Stars Color Table",
+ Type = "HttpSynchronization",
+ Identifier = "stars_colormap",
+ Version = 2
})
local gaia_abundance_apogee = {
- Identifier = "Gaia Abundance Apogee",
- Renderable = {
- Type = "RenderableStars",
- Enabled = false,
- File = speck .. "/GaiaAbundApogee.speck",
- ColorOption = "Other Data",
- OtherData = "FeH",
- MagnitudeExponent = 6.2,
- SizeComposition = "Distance Modulus",
- RenderMethod = "Texture Based",
- Texture = textures .. "/halo.png",
- -- ShapeTexture = textures .. "/disc.png",
- ColorMap = colorLUT .. "/colorbv.cmap",
- OtherDataColorMap = colorLUT .. "/viridis.cmap",
- StaticFilter = -9999,
- StaticFilterReplacement = 0.0
- },
- GUI = {
- Path = "/Milky Way/Gaia"
- }
+ Identifier = "Gaia Abundance Apogee",
+ Renderable = {
+ Type = "RenderableStars",
+ Enabled = false,
+ File = speck .. "/GaiaAbundApogee.speck",
+ ColorOption = "Other Data",
+ OtherData = "FeH",
+ MagnitudeExponent = 6.2,
+ SizeComposition = "Distance Modulus",
+ RenderMethod = "Texture Based",
+ Texture = textures .. "/halo.png",
+ -- ShapeTexture = textures .. "/disc.png",
+ ColorMap = colorLUT .. "/colorbv.cmap",
+ OtherDataColorMap = colorLUT .. "/viridis.cmap",
+ StaticFilter = -9999,
+ StaticFilterReplacement = 0.0
+ },
+ GUI = {
+ Path = "/Milky Way/Gaia"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { gaia_abundance_apogee })
diff --git a/data/assets/scene/milkyway/gaia/gaia_dr2_download_stars.asset b/data/assets/scene/milkyway/gaia/gaia_dr2_download_stars.asset
index d80419ac78..410a6b42b8 100644
--- a/data/assets/scene/milkyway/gaia/gaia_dr2_download_stars.asset
+++ b/data/assets/scene/milkyway/gaia/gaia_dr2_download_stars.asset
@@ -2,10 +2,10 @@
-- The octree was generated from the full DR2 by filtering away all stars with a parallax error higher than 0.5
-- Max Star Per Node = 50,000 and max distance = 500kpc
local gaia618Destination = asset.syncedResource({
- Name = "Gaia DR2 618M Octree",
- Type = "HttpSynchronization",
- Identifier = "gaia_stars_618M_octree",
- Version = 1
+ Name = "Gaia DR2 618M Octree",
+ Type = "HttpSynchronization",
+ Identifier = "gaia_stars_618M_octree",
+ Version = 1
})
local gaia618DestinationExtracted = gaia618Destination + '/data';
@@ -13,17 +13,17 @@ local gaia618DestinationExtracted = gaia618Destination + '/data';
-- From these files new subsets can be created with the ConstructOctreeTask (gaia_octree.task).
-- Total size of download is 151 GB.
local gaiaFull = asset.syncedResource({
- Name = "Gaia DR2 Full Raw",
- Type = "HttpSynchronization",
- Identifier = "gaia_stars_dr2_raw",
- Version = 1
+ Name = "Gaia DR2 Full Raw",
+ Type = "HttpSynchronization",
+ Identifier = "gaia_stars_dr2_raw",
+ Version = 1
})
asset.onInitialize(function()
- if not openspace.directoryExists(gaia618DestinationExtracted) then
- openspace.printInfo("Extracted Gaia dataset")
- openspace.unzipFile(gaia618Destination .. '/DR2_full_Octree[50kSPN,500dist]_50,50.zip', gaia618DestinationExtracted, true)
- end
+ if not openspace.directoryExists(gaia618DestinationExtracted) then
+ openspace.printInfo("Extracted Gaia dataset")
+ openspace.unzipFile(gaia618Destination .. '/DR2_full_Octree[50kSPN,500dist]_50,50.zip', gaia618DestinationExtracted, true)
+ end
end)
asset.export('GaiaDR2_618M', gaia618DestinationExtracted)
diff --git a/data/assets/scene/milkyway/gaia/gaiastars.asset b/data/assets/scene/milkyway/gaia/gaiastars.asset
index 2dd3a0083f..997eaa55e5 100644
--- a/data/assets/scene/milkyway/gaia/gaiastars.asset
+++ b/data/assets/scene/milkyway/gaia/gaiastars.asset
@@ -1,60 +1,60 @@
local assetHelper = asset.require("util/asset_helper")
local textures = asset.syncedResource({
- Name = "Stars Textures",
- Type = "HttpSynchronization",
- Identifier = "stars_textures",
- Version = 1
+ Name = "Stars Textures",
+ Type = "HttpSynchronization",
+ Identifier = "stars_textures",
+ Version = 1
})
local colorLUT = asset.syncedResource({
- Name = "Stars Color Table",
- Type = "HttpSynchronization",
- Identifier = "stars_colormap",
- Version = 1
+ Name = "Stars Color Table",
+ Type = "HttpSynchronization",
+ Identifier = "stars_colormap",
+ Version = 1
})
-- Download a preprocessed binary octree of Radial Velocity subset values per star (preprocessed into 8 binary files).
local starsFolder = asset.syncedResource({
- Name = "Gaia Stars RV",
- Type = "HttpSynchronization",
- Identifier = "gaia_stars_rv_octree",
- Version = 1
+ Name = "Gaia Stars RV",
+ Type = "HttpSynchronization",
+ Identifier = "gaia_stars_rv_octree",
+ Version = 1
})
local GaiaStars = {
- Identifier = "GaiaStars",
- Renderable = {
- Type = "RenderableGaiaStars",
- File = starsFolder .. "/",
- FileReaderOption = "StreamOctree",
- RenderOption = "Motion",
- ShaderOption = "Point_SSBO",
- Texture = textures .. "/halo.png",
- ColorMap = colorLUT .. "/colorbv.cmap",
- LuminosityMultiplier = 35,
- MagnitudeBoost = 25,
- CutOffThreshold = 38,
- BillboardSize = 1,
- CloseUpBoostDist = 250,
- Sharpness = 1.45,
- LodPixelThreshold = 0,
- MaxGpuMemoryPercent = 0.24,
- MaxCpuMemoryPercent = 0.4,
- FilterSize = 5,
- Sigma = 0.5,
- AdditionalNodes = {3.0, 2.0},
- FilterPosX = {0.0, 0.0},
- FilterPosY = {0.0, 0.0},
- FilterPosZ = {0.0, 0.0},
- FilterGMag = {20.0, 20.0},
- FilterBpRp = {0.0, 0.0},
- FilterDist = {9.0, 9.0},
- },
- GUI = {
- Name = "Gaia Stars",
- Path = "/Milky Way"
- }
+ Identifier = "GaiaStars",
+ Renderable = {
+ Type = "RenderableGaiaStars",
+ File = starsFolder .. "/",
+ FileReaderOption = "StreamOctree",
+ RenderOption = "Motion",
+ ShaderOption = "Point_SSBO",
+ Texture = textures .. "/halo.png",
+ ColorMap = colorLUT .. "/colorbv.cmap",
+ LuminosityMultiplier = 35,
+ MagnitudeBoost = 25,
+ CutOffThreshold = 38,
+ BillboardSize = 1,
+ CloseUpBoostDist = 250,
+ Sharpness = 1.45,
+ LodPixelThreshold = 0,
+ MaxGpuMemoryPercent = 0.24,
+ MaxCpuMemoryPercent = 0.4,
+ FilterSize = 5,
+ Sigma = 0.5,
+ AdditionalNodes = {3.0, 2.0},
+ FilterPosX = {0.0, 0.0},
+ FilterPosY = {0.0, 0.0},
+ FilterPosZ = {0.0, 0.0},
+ FilterGMag = {20.0, 20.0},
+ FilterBpRp = {0.0, 0.0},
+ FilterDist = {9.0, 9.0},
+ },
+ GUI = {
+ Name = "Gaia Stars",
+ Path = "/Milky Way"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { GaiaStars })
diff --git a/data/assets/scene/milkyway/gaia/galah.asset b/data/assets/scene/milkyway/gaia/galah.asset
index a12160fa5a..c9163b2ff3 100644
--- a/data/assets/scene/milkyway/gaia/galah.asset
+++ b/data/assets/scene/milkyway/gaia/galah.asset
@@ -3,47 +3,47 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "Stars Textures",
- Type = "HttpSynchronization",
- Identifier = "stars_textures",
- Version = 1
+ Name = "Stars Textures",
+ Type = "HttpSynchronization",
+ Identifier = "stars_textures",
+ Version = 1
})
local speck = asset.syncedResource({
- Name = "Galah Speck Files",
- Type = "HttpSynchronization",
- Identifier = "gaia_galah",
- Version = 1
+ Name = "Galah Speck Files",
+ Type = "HttpSynchronization",
+ Identifier = "gaia_galah",
+ Version = 1
})
local colorLUT = asset.syncedResource({
- Name = "Stars Color Table",
- Type = "HttpSynchronization",
- Identifier = "stars_colormap",
- Version = 2
+ Name = "Stars Color Table",
+ Type = "HttpSynchronization",
+ Identifier = "stars_colormap",
+ Version = 2
})
local gaia_abundance_galah = {
- Identifier = "Gaia Abundance Galah",
- Renderable = {
- Type = "RenderableStars",
- Enabled = false,
- File = speck .. "/GaiaAbundGalah.speck",
- Texture = textures .. "/halo.png",
- -- ShapeTexture = textures .. "/disc.png",
- MagnitudeExponent = 6.2,
- SizeComposition = "Distance Modulus",
- RenderMethod = "Texture Based",
- ColorOption = "Other Data",
- OtherData = "FeH",
- ColorMap = colorLUT .. "/colorbv.cmap",
- OtherDataColorMap = colorLUT .. "/viridis.cmap",
- StaticFilter = -9999,
- StaticFilterReplacement = 0.0
- },
- GUI = {
- Path = "/Milky Way/Gaia"
- }
+ Identifier = "Gaia Abundance Galah",
+ Renderable = {
+ Type = "RenderableStars",
+ Enabled = false,
+ File = speck .. "/GaiaAbundGalah.speck",
+ Texture = textures .. "/halo.png",
+ -- ShapeTexture = textures .. "/disc.png",
+ MagnitudeExponent = 6.2,
+ SizeComposition = "Distance Modulus",
+ RenderMethod = "Texture Based",
+ ColorOption = "Other Data",
+ OtherData = "FeH",
+ ColorMap = colorLUT .. "/colorbv.cmap",
+ OtherDataColorMap = colorLUT .. "/viridis.cmap",
+ StaticFilter = -9999,
+ StaticFilterReplacement = 0.0
+ },
+ GUI = {
+ Path = "/Milky Way/Gaia"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { gaia_abundance_galah })
diff --git a/data/assets/scene/milkyway/habitable_zones/habitable_zone_textures.asset b/data/assets/scene/milkyway/habitable_zones/habitable_zone_textures.asset
index 0687c70693..0adb898d5a 100644
--- a/data/assets/scene/milkyway/habitable_zones/habitable_zone_textures.asset
+++ b/data/assets/scene/milkyway/habitable_zones/habitable_zone_textures.asset
@@ -1,17 +1,17 @@
local TexturesPath = asset.syncedResource({
- Name = "Habitable Zone Textures",
- Type = "HttpSynchronization",
- Identifier = "habitable_zone_textures",
- Version = 1
+ Name = "Habitable Zone Textures",
+ Type = "HttpSynchronization",
+ Identifier = "habitable_zone_textures",
+ Version = 1
})
asset.export("TexturesPath", TexturesPath)
asset.meta = {
- Name = "Habitable Zone Textures",
- Version = "1.0",
- Description = [[ Default textures that can be used for the habitable zone
- rendering]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
+ Name = "Habitable Zone Textures",
+ Version = "1.0",
+ Description = [[ Default textures that can be used for the habitable zone
+ rendering]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
}
diff --git a/data/assets/scene/milkyway/milkyway/eso.asset b/data/assets/scene/milkyway/milkyway/eso.asset
index 1820632dc6..887c9a0023 100644
--- a/data/assets/scene/milkyway/milkyway/eso.asset
+++ b/data/assets/scene/milkyway/milkyway/eso.asset
@@ -3,36 +3,36 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
- Name = "ESO Milky Way Textures",
- Type = "HttpSynchronization",
- Identifier = "milkyway-eso_textures",
- Version = 1
+ Name = "ESO Milky Way Textures",
+ Type = "HttpSynchronization",
+ Identifier = "milkyway-eso_textures",
+ Version = 1
})
local object = {
- Identifier = "MilkyWay-ESO",
- Transform = {
- Rotation = {
- Type = "StaticRotation",
- Rotation = {0, 0, 3.14159265359}
- }
- },
- Renderable = {
- Type = "RenderableSphere",
- Size = 9.2E20,
- Segments = 40,
- Opacity = 0.4,
- Texture = textures .. "/eso0932a_blend.png",
- UseAdditiveBlending = true,
- Orientation = "Inside",
- MirrorTexture = true,
- FadeOutThreshold = 0.01,
- Background = true
- },
- GUI = {
- Name = "Milky Way (ESO)",
- Path = "/Milky Way/Milky Way"
+ Identifier = "MilkyWay-ESO",
+ Transform = {
+ Rotation = {
+ Type = "StaticRotation",
+ Rotation = {0, 0, 3.14159265359}
}
+ },
+ Renderable = {
+ Type = "RenderableSphere",
+ Size = 9.2E20,
+ Segments = 40,
+ Opacity = 0.4,
+ Texture = textures .. "/eso0932a_blend.png",
+ UseAdditiveBlending = true,
+ Orientation = "Inside",
+ MirrorTexture = true,
+ FadeOutThreshold = 0.01,
+ Background = true
+ },
+ GUI = {
+ Name = "Milky Way (ESO)",
+ Path = "/Milky Way/Milky Way"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
diff --git a/data/assets/scene/milkyway/milkyway/volume.asset b/data/assets/scene/milkyway/milkyway/volume.asset
index aaf3aa3fec..76103612b3 100644
--- a/data/assets/scene/milkyway/milkyway/volume.asset
+++ b/data/assets/scene/milkyway/milkyway/volume.asset
@@ -4,50 +4,50 @@ local assetHelper = asset.require("util/asset_helper")
local transforms = asset.require("scene/solarsystem/sun/transforms")
local data = asset.syncedResource({
- Name = "Milkyway Volume Data",
- Type = "HttpSynchronization",
- Identifier = "milkyway_volume_data",
- Version = 1
+ Name = "Milkyway Volume Data",
+ Type = "HttpSynchronization",
+ Identifier = "milkyway_volume_data",
+ Version = 1
})
local kiloparsec = 3.086E19
local MilkyWayVolumeGalaxy = {
- Identifier = "MilkyWayVolume",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "StaticTranslation",
- -- The center of the Milky Way is approximately 8 kiloparsec from the Sun.
- -- The x-axis of galactic coordinates points from the sun towards the center
- -- of the galaxy.
- Position = { 8 * kiloparsec, 0, 0 }
- }
- },
- Renderable = {
- Type = "RenderableGalaxy",
- StepSize = 0.01,
- AbsorptionMultiply = 200,
- EmissionMultiply = 250,
- Rotation = { 3.1415926, 3.1248, 4.45741 },
- Volume = {
- Type = "Volume",
- Filename = data .. "/MilkyWayRGBAVolume1024x1024x128.raw",
- Dimensions = { 1024, 1024, 128 },
- Size = { 1.2E21, 1.2E21, 0.15E21 },
- Downscale = 0.4,
- },
- Points = {
- Type = "Points",
- Filename = data .. "/MilkyWayPoints.off",
- EnabledPointsRatio = 0.3,
- Texture = data .. "/halo.png"
- }
- },
- GUI = {
- Path = "/Milky Way",
- Name = "Milky Way Volume"
+ Identifier = "MilkyWayVolume",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "StaticTranslation",
+ -- The center of the Milky Way is approximately 8 kiloparsec from the Sun.
+ -- The x-axis of galactic coordinates points from the sun towards the center
+ -- of the galaxy.
+ Position = { 8 * kiloparsec, 0, 0 }
}
+ },
+ Renderable = {
+ Type = "RenderableGalaxy",
+ StepSize = 0.01,
+ AbsorptionMultiply = 200,
+ EmissionMultiply = 250,
+ Rotation = { 3.1415926, 3.1248, 4.45741 },
+ Volume = {
+ Type = "Volume",
+ Filename = data .. "/MilkyWayRGBAVolume1024x1024x128.raw",
+ Dimensions = { 1024, 1024, 128 },
+ Size = { 1.2E21, 1.2E21, 0.15E21 },
+ Downscale = 0.4,
+ },
+ Points = {
+ Type = "Points",
+ Filename = data .. "/MilkyWayPoints.off",
+ EnabledPointsRatio = 0.3,
+ Texture = data .. "/halo.png"
+ }
+ },
+ GUI = {
+ Path = "/Milky Way",
+ Name = "Milky Way Volume"
+ }
}
local objects = { MilkyWayVolumeGalaxy }
@@ -55,12 +55,12 @@ assetHelper.registerSceneGraphNodesAndExport(asset, objects)
asset.meta = {
- Name = "Milky Way Volume",
- Version = "1.0",
- Description = [[Volumetric rendering of Milky Way galaxy based on simulation from
- NAOJ.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT License",
- Identifiers = {"MilkyWayVolume"}
+ Name = "Milky Way Volume",
+ Version = "1.0",
+ Description = [[Volumetric rendering of Milky Way galaxy based on simulation from
+ NAOJ.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT License",
+ Identifiers = {"MilkyWayVolume"}
}
diff --git a/data/assets/scene/milkyway/objects/orionnebula/cluster.asset b/data/assets/scene/milkyway/objects/orionnebula/cluster.asset
index d02f8c3a5f..2325788c80 100644
--- a/data/assets/scene/milkyway/objects/orionnebula/cluster.asset
+++ b/data/assets/scene/milkyway/objects/orionnebula/cluster.asset
@@ -3,53 +3,53 @@ local assetHelper = asset.require('util/asset_helper')
local transforms = asset.require("./transforms")
local sync = asset.syncedResource({
- Name = "Orion Nebula Star Cluster",
- Type = "HttpSynchronization",
- Identifier = "orion_nebula_star_cluster",
- Version = 1
+ Name = "Orion Nebula Star Cluster",
+ Type = "HttpSynchronization",
+ Identifier = "orion_nebula_star_cluster",
+ Version = 1
})
local OrionClusterStars = {
- Identifier = "OrionClusterStars",
- Parent = transforms.NebulaPosition.Identifier,
- Renderable = {
- Type = "RenderableStars",
- File = sync .. "/oricluster.speck",
- Texture = sync .. "/halo.png",
- ColorMap = sync .. "/colorbv.cmap",
- MagnitudeExponent = 5.02,
- SizeComposition = "Distance Modulus",
- RenderMethod = "Texture Based"
- },
- GUI = {
- Name = "Orion Nebula Star Cluster",
- Path = "/Milky Way/Orion",
- Description = [[ In order to have an accurate depiction of the Orion nebula, we
-need to include the star cluster that was birthed from it. We turned to a study of the
-cluster's stellar population by Lynne Hillenbrand, who was working at the University of
-California, Berkeley at the time. The catalog from her paper contains more than 1500
-stars, about half the stars in the actual cluster. The cluster is very crowded, with a
-peak density of 10000 stars per cubic parsec over a wide range of masses from a tenth the
-sun's mass up to 50 times its mass. We were presented with one problem: there are no
-distances. For the stellar distances, we needed to deduce them by statistical methods.
-Knowing the size of the cluster and approximating the shape to be roughly spherical, we
-placed each star along a line of sight through this imaginary sphere centered on the
-cluster. In this sense, these data are observed data and the view from Earth is accurate.
-But the distance of each star has been derived from this educated-guess approach for the
-cluster distribution. ]]
- }
+ Identifier = "OrionClusterStars",
+ Parent = transforms.NebulaPosition.Identifier,
+ Renderable = {
+ Type = "RenderableStars",
+ File = sync .. "/oricluster.speck",
+ Texture = sync .. "/halo.png",
+ ColorMap = sync .. "/colorbv.cmap",
+ MagnitudeExponent = 5.02,
+ SizeComposition = "Distance Modulus",
+ RenderMethod = "Texture Based"
+ },
+ GUI = {
+ Name = "Orion Nebula Star Cluster",
+ Path = "/Milky Way/Orion",
+ Description = [[ In order to have an accurate depiction of the Orion nebula, we
+ need to include the star cluster that was birthed from it. We turned to a study of the
+ cluster's stellar population by Lynne Hillenbrand, who was working at the University of
+ California, Berkeley at the time. The catalog from her paper contains more than 1500
+ stars, about half the stars in the actual cluster. The cluster is very crowded, with a
+ peak density of 10000 stars per cubic parsec over a wide range of masses from a tenth the
+ sun's mass up to 50 times its mass. We were presented with one problem: there are no
+ distances. For the stellar distances, we needed to deduce them by statistical methods.
+ Knowing the size of the cluster and approximating the shape to be roughly spherical, we
+ placed each star along a line of sight through this imaginary sphere centered on the
+ cluster. In this sense, these data are observed data and the view from Earth is accurate.
+ But the distance of each star has been derived from this educated-guess approach for the
+ cluster distribution. ]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { OrionClusterStars })
asset.meta = {
- Name = "Orion Nebula Star Cluster",
- Version = "1.0",
- Description = [[ Digital Universe asset for the Orion star cluster. To be used in
- conjunction with nebula model. Use orionnebula.asset to include both.]],
- Author = "AMNH Digital Universe",
- URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
- License = "AMNH Digital Universe",
- Identifiers = {"OrionClusterStars"}
+ Name = "Orion Nebula Star Cluster",
+ Version = "1.0",
+ Description = [[ Digital Universe asset for the Orion star cluster. To be used in
+ conjunction with nebula model. Use orionnebula.asset to include both.]],
+ Author = "AMNH Digital Universe",
+ URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
+ License = "AMNH Digital Universe",
+ Identifiers = {"OrionClusterStars"}
}
diff --git a/data/assets/scene/milkyway/objects/orionnebula/nebula.asset b/data/assets/scene/milkyway/objects/orionnebula/nebula.asset
index 41a760cda0..cf02ee733e 100644
--- a/data/assets/scene/milkyway/objects/orionnebula/nebula.asset
+++ b/data/assets/scene/milkyway/objects/orionnebula/nebula.asset
@@ -6,152 +6,152 @@ local center = sunTransforms.SolarSystemBarycenter.Identifier;
local LIGHTS = assetHelper.getDefaultLightSources(center);
local sync = asset.syncedResource({
- Name = "Orion Nebula Model",
- Type = "HttpSynchronization",
- Identifier = "orion_nebula_model",
- Version = 2
+ Name = "Orion Nebula Model",
+ Type = "HttpSynchronization",
+ Identifier = "orion_nebula_model",
+ Version = 2
})
local NebulaHolder = {
- Identifier = "OrionNebulaHolder",
- Parent = transforms.NebulaPosition.Identifier,
- Transform = {
- Scale = {
- Type = "StaticScale",
- Scale = 35999998699110400.000000
- },
- Rotation = {
- Type = "FixedRotation",
- Attached = "OrionNebulaHolder",
- XAxis = {1.000000,1.000000,0.510000},
- XAxisOrthogonal = true,
- YAxis = "Sun",
- YAxisInverted = false
- }
+ Identifier = "OrionNebulaHolder",
+ Parent = transforms.NebulaPosition.Identifier,
+ Transform = {
+ Scale = {
+ Type = "StaticScale",
+ Scale = 35999998699110400.000000
},
- GUI = {
- Name = "Orion Nebula",
- Path = "/Milky Way/Orion",
- Description = [[ In the Digital Universe model of the Orion Nebula, we depict the
-ionization front effectively as a terrain, with a flat Hubble image of the nebula mapped
-on the undulating surface. In reality, the ionization front has a slight thickness to
-it - about a third of a light year - but is quite thin compared to the overall size of
-the nebula, which stretches about ten light years from side to side.
Close into
-the center, we see small teardrop-shaped structures with their narrow ends pointing away
-from the bright star: these are protoplanetary disks, or proplyds, of dense gas and dust
-surrounding young stars. The larger formations that one sees farther away from the center
-of the nebula take on a cup-like shape, with the narrow end pointing away from the
-nebulas center. These enormous structures are bow shocks that delineate the region where
-highspeed winds from the central star slow from supersonic to subsonic speeds. You can
-think of an HII region as a sort of tremendous explosion, taking place over millennia,
-and the bow shocks are part of the outward rush of material. ]]
+ Rotation = {
+ Type = "FixedRotation",
+ Attached = "OrionNebulaHolder",
+ XAxis = {1.000000,1.000000,0.510000},
+ XAxisOrthogonal = true,
+ YAxis = "Sun",
+ YAxisInverted = false
}
+ },
+ GUI = {
+ Name = "Orion Nebula",
+ Path = "/Milky Way/Orion",
+ Description = [[ In the Digital Universe model of the Orion Nebula, we depict the
+ ionization front effectively as a terrain, with a flat Hubble image of the nebula mapped
+ on the undulating surface. In reality, the ionization front has a slight thickness to
+ it - about a third of a light year - but is quite thin compared to the overall size of
+ the nebula, which stretches about ten light years from side to side.
The VIIRS
- Nighttime Imagery (Day/Night Band, Enhanced Near Constant Contrast) layer is
- available from the Visible Infrared Imaging Radiometer Suite (VIIRS) on the joint
- NASA/NOAA Suomi National Polar orbiting Partnership (Suomi NPP) satellite.
- The sensor resolution is 750 m at nadir, imagery resolution is 500 m, and the
- temporal resolution is daily. (Description from NASA Worldview)]],
+ Identifier = "Earth_at_Night_Temporal",
+ Name = "Earth at Night (Temporal)",
+ Type = "TemporalTileLayer",
+ FilePath = openspace.globebrowsing.createTemporalGibsGdalXml(
+ "VIIRS_SNPP_DayNightBand_ENCC",
+ "2012-05-08",
+ "Yesterday",
+ "1d",
+ "500m",
+ "png"
+ ),
+ Description = [[ The VIIRS Nighttime Imagery (Day/Night Band, Enhanced Near Constant
+ Contrast) layer shows the Earth's surface and atmosphere using a sensor designed
+ to capture low-light emission sources, under varying illumination conditions. It
+ is displayed as a grey-scale image. Sources of illumination include both natural
+ and anthropogenic sources of light emissions. Lunar reflection can be used to
+ highlight the location and features of clouds and other terrestrial features such
+ as sea ice and snow cover when there is partial to full moon conditions. When
+ there is no moonlight, natural and anthropogenic night time light emissions are
+ highlighted such as city lights, lightning, auroras, fires, gas flares, and
+ fishing fleets. This layer is useful for showing patterns of human activity and
+ energy behaviors such as cities and highways, the holiday periods, the tracking
+ of shipping and fishing fleets at night and, the burning of waste natural gas
+ (gas flares) from on and offshore oil/gas production sites.
The VIIRS
+ Nighttime Imagery (Day/Night Band, Enhanced Near Constant Contrast) layer is
+ available from the Visible Infrared Imaging Radiometer Suite (VIIRS) on the joint
+ NASA/NOAA Suomi National Polar orbiting Partnership (Suomi NPP) satellite.
+ The sensor resolution is 750 m at nadir, imagery resolution is 500 m, and the
+ temporal resolution is daily. (Description from NASA Worldview)]],
}
asset.onInitialize(function ()
@@ -40,12 +40,12 @@ asset.export("layer", layer)
asset.meta = {
- Name = "Earth at Night (Temporal)",
- Version = "1.0",
- Description = [[Temporal layer for earth with daily night image. This layer is a GIBS
- hosted layer created with openspace.globebrowsing.createTemporalGibsGdalXml ]],
- Author = "OpenSpace Team",
- URL = "https://worldview.earthdata.nasa.gov/?l=VIIRS_SNPP_DayNightBand_ENCC",
- License = "NASA",
- Identifiers = {"Earth_at_Night_Temporal"}
+ Name = "Earth at Night (Temporal)",
+ Version = "1.0",
+ Description = [[Temporal layer for earth with daily night image. This layer is a GIBS
+ hosted layer created with openspace.globebrowsing.createTemporalGibsGdalXml ]],
+ Author = "OpenSpace Team",
+ URL = "https://worldview.earthdata.nasa.gov/?l=VIIRS_SNPP_DayNightBand_ENCC",
+ License = "NASA",
+ Identifiers = {"Earth_at_Night_Temporal"}
}
diff --git a/data/assets/scene/solarsystem/planets/earth/layers/nightlayers/fallbacks/earth_night_texture.asset b/data/assets/scene/solarsystem/planets/earth/layers/nightlayers/fallbacks/earth_night_texture.asset
index 25d092b60d..8ceae0261f 100644
--- a/data/assets/scene/solarsystem/planets/earth/layers/nightlayers/fallbacks/earth_night_texture.asset
+++ b/data/assets/scene/solarsystem/planets/earth/layers/nightlayers/fallbacks/earth_night_texture.asset
@@ -1,21 +1,21 @@
local texturesPath = asset.require("./../../../earth_textures").TexturesPath
local layer = {
- Identifier = "Earth_Night_Texture",
- Name = "Earth Night Texture",
- FilePath = texturesPath .. "/earth_night.jpg",
- Description = [[ Earth's city lights are clearly visible from space ]]
+ Identifier = "Earth_Night_Texture",
+ Name = "Earth Night Texture",
+ FilePath = texturesPath .. "/earth_night.jpg",
+ Description = [[ Earth's city lights are clearly visible from space ]]
}
asset.export("layer", layer)
asset.meta = {
- Name = "Blue Marble Night",
- Version = "1.0",
- Description = [[ Fallback layer for earth night image if no internet is available. ]],
- Author = "OpenSpace Team",
- URL = "https://visibleearth.nasa.gov/collection/1484/blue-marble",
- License = "NASA",
- Identifiers = {"Earth_Night_Texture"}
+ Name = "Blue Marble Night",
+ Version = "1.0",
+ Description = [[ Fallback layer for earth night image if no internet is available. ]],
+ Author = "OpenSpace Team",
+ URL = "https://visibleearth.nasa.gov/collection/1484/blue-marble",
+ License = "NASA",
+ Identifiers = {"Earth_Night_Texture"}
}
diff --git a/data/assets/scene/solarsystem/planets/earth/layers/overlays/coastlines.asset b/data/assets/scene/solarsystem/planets/earth/layers/overlays/coastlines.asset
index 069cf168d7..8ae8338119 100644
--- a/data/assets/scene/solarsystem/planets/earth/layers/overlays/coastlines.asset
+++ b/data/assets/scene/solarsystem/planets/earth/layers/overlays/coastlines.asset
@@ -2,12 +2,12 @@ local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../earth").Earth.Identifier
local layer = {
- Identifier = "Coastlines",
- FilePath = mapServiceConfigsPath .. "/GIBS/overlays/Coastlines.wms"
+ Identifier = "Coastlines",
+ FilePath = mapServiceConfigsPath .. "/GIBS/overlays/Coastlines.wms"
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/layers/overlays/coastlines_enabled.asset b/data/assets/scene/solarsystem/planets/earth/layers/overlays/coastlines_enabled.asset
index accb16ac44..0260ed6ae3 100644
--- a/data/assets/scene/solarsystem/planets/earth/layers/overlays/coastlines_enabled.asset
+++ b/data/assets/scene/solarsystem/planets/earth/layers/overlays/coastlines_enabled.asset
@@ -4,7 +4,7 @@ local layer = asset.require("./coastlines").layer
layer.Enabled = true
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/layers/overlays/reference_features.asset b/data/assets/scene/solarsystem/planets/earth/layers/overlays/reference_features.asset
index e1c4d7eae1..6862852dfd 100644
--- a/data/assets/scene/solarsystem/planets/earth/layers/overlays/reference_features.asset
+++ b/data/assets/scene/solarsystem/planets/earth/layers/overlays/reference_features.asset
@@ -2,13 +2,13 @@ local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../earth").Earth.Identifier
local layer = {
- Identifier = "Reference_Features",
- Name = "Reference Features",
- FilePath = mapServiceConfigsPath .. "/GIBS/overlays/Reference_Features.wms"
+ Identifier = "Reference_Features",
+ Name = "Reference Features",
+ FilePath = mapServiceConfigsPath .. "/GIBS/overlays/Reference_Features.wms"
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/layers/overlays/reference_labels.asset b/data/assets/scene/solarsystem/planets/earth/layers/overlays/reference_labels.asset
index 8d14244d4c..d998889fe7 100644
--- a/data/assets/scene/solarsystem/planets/earth/layers/overlays/reference_labels.asset
+++ b/data/assets/scene/solarsystem/planets/earth/layers/overlays/reference_labels.asset
@@ -2,13 +2,13 @@ local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../earth").Earth.Identifier
local layer = {
- Identifier = "Reference_Labels",
- Name = "Reference Labels",
- FilePath = mapServiceConfigsPath .. "/GIBS/overlays/Reference_Labels.wms"
+ Identifier = "Reference_Labels",
+ Name = "Reference Labels",
+ FilePath = mapServiceConfigsPath .. "/GIBS/overlays/Reference_Labels.wms"
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/layers/overlays/size_reference.asset b/data/assets/scene/solarsystem/planets/earth/layers/overlays/size_reference.asset
index 5173e8bae0..0be0291ada 100644
--- a/data/assets/scene/solarsystem/planets/earth/layers/overlays/size_reference.asset
+++ b/data/assets/scene/solarsystem/planets/earth/layers/overlays/size_reference.asset
@@ -2,14 +2,14 @@ local earthAsset = asset.require("./../../earth").Earth
local globeIdentifier = earthAsset.Identifier
local layer ={
- Identifier = "Size_Reference",
- Name = "Size Reference",
- Type = "SizeReferenceTileLayer",
- Radii = earthAsset.Renderable.Radii
+ Identifier = "Size_Reference",
+ Name = "Size Reference",
+ Type = "SizeReferenceTileLayer",
+ Radii = earthAsset.Renderable.Radii
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/layers/overlays/tile_indices.asset b/data/assets/scene/solarsystem/planets/earth/layers/overlays/tile_indices.asset
index 95496a8134..96b2fde089 100644
--- a/data/assets/scene/solarsystem/planets/earth/layers/overlays/tile_indices.asset
+++ b/data/assets/scene/solarsystem/planets/earth/layers/overlays/tile_indices.asset
@@ -2,13 +2,13 @@ local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../earth").Earth.Identifier
local layer = {
- Identifier = "Tile_Indices",
- Name = "Tile Indices",
- Type = "TileIndexTileLayer"
+ Identifier = "Tile_Indices",
+ Name = "Tile Indices",
+ Type = "TileIndexTileLayer"
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/layers/watermasks/gebco_sweden.asset b/data/assets/scene/solarsystem/planets/earth/layers/watermasks/gebco_sweden.asset
index 1c13cb9555..12d24ab479 100644
--- a/data/assets/scene/solarsystem/planets/earth/layers/watermasks/gebco_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/earth/layers/watermasks/gebco_sweden.asset
@@ -2,13 +2,13 @@ local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../earth").Earth.Identifier
local layer = {
- Name = "Gebco [Sweden]",
- Identifier = "Gebco_Sweden",
- FilePath = mapServiceConfigsPath .. "/LiU/Gebco.wms"
+ Name = "Gebco [Sweden]",
+ Identifier = "Gebco_Sweden",
+ FilePath = mapServiceConfigsPath .. "/LiU/Gebco.wms"
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "WaterMasks", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "WaterMasks", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/layers/watermasks/gebco_utah.asset b/data/assets/scene/solarsystem/planets/earth/layers/watermasks/gebco_utah.asset
index e7e4c4af35..c7743814a5 100644
--- a/data/assets/scene/solarsystem/planets/earth/layers/watermasks/gebco_utah.asset
+++ b/data/assets/scene/solarsystem/planets/earth/layers/watermasks/gebco_utah.asset
@@ -2,13 +2,13 @@ local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../earth").Earth.Identifier
local layer = {
- Name = "Gebco [Utah]",
- Identifier = "Gebco_Utah",
- FilePath = mapServiceConfigsPath .. "/Utah/Gebco.wms"
+ Name = "Gebco [Utah]",
+ Identifier = "Gebco_Utah",
+ FilePath = mapServiceConfigsPath .. "/Utah/Gebco.wms"
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "WaterMasks", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "WaterMasks", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/layers/watermasks/modis_water_mask.asset b/data/assets/scene/solarsystem/planets/earth/layers/watermasks/modis_water_mask.asset
index 399ab658f5..c46c102b7c 100644
--- a/data/assets/scene/solarsystem/planets/earth/layers/watermasks/modis_water_mask.asset
+++ b/data/assets/scene/solarsystem/planets/earth/layers/watermasks/modis_water_mask.asset
@@ -2,13 +2,13 @@ local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../earth").Earth.Identifier
local layer = {
- Identifier = "MODIS_Water_Mask",
- Name = "MODIS Water Mask",
- FilePath = mapServiceConfigsPath .. "/GIBS/water/MODIS_Water_Mask.wms",
+ Identifier = "MODIS_Water_Mask",
+ Name = "MODIS Water Mask",
+ FilePath = mapServiceConfigsPath .. "/GIBS/water/MODIS_Water_Mask.wms",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "WaterMasks", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "WaterMasks", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/markers.asset b/data/assets/scene/solarsystem/planets/earth/markers.asset
index d6acac5b23..79971e6339 100644
--- a/data/assets/scene/solarsystem/planets/earth/markers.asset
+++ b/data/assets/scene/solarsystem/planets/earth/markers.asset
@@ -5,32 +5,32 @@ local texturesPath = asset.require('./earth_textures').TexturesPath
local EarthMarker = {
- Identifier = "EarthMarker",
- Parent = transforms.EarthIAU.Identifier,
- Renderable = {
- Type = "RenderablePlaneImageLocal",
- Enabled = false,
- Size = 3.0E11,
- Origin = "Center",
- Billboard = true,
- Texture = texturesPath .. "/marker.png",
- BlendMode = "Additive"
- },
- GUI = {
- Name = "Earth Marker",
- Path = "/Solar System/Planets/Earth"
- }
+ Identifier = "EarthMarker",
+ Parent = transforms.EarthIAU.Identifier,
+ Renderable = {
+ Type = "RenderablePlaneImageLocal",
+ Enabled = false,
+ Size = 3.0E11,
+ Origin = "Center",
+ Billboard = true,
+ Texture = texturesPath .. "/marker.png",
+ BlendMode = "Additive"
+ },
+ GUI = {
+ Name = "Earth Marker",
+ Path = "/Solar System/Planets/Earth"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { EarthMarker })
asset.meta = {
- Name = "Earth marker",
- Version = "1.0",
- Description = [[ Earth marker with name, sized for Solar System view]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"EarthMarker"}
+ Name = "Earth marker",
+ Version = "1.0",
+ Description = [[ Earth marker with name, sized for Solar System view]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"EarthMarker"}
}
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/default_layers.asset b/data/assets/scene/solarsystem/planets/earth/moon/default_layers.asset
index 956609cac7..a3e6183411 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/default_layers.asset
@@ -22,8 +22,8 @@ asset.require(heightLayersPath .. "/loladem_sweden")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Moon.Renderable.Layers.ColorLayers." ..
- colorLayer.layer.Identifier .. ".Enabled", true)
- openspace.setPropertyValueSingle("Scene.Moon.Renderable.Layers.HeightLayers." ..
- heightLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Moon.Renderable.Layers.ColorLayers." ..
+ colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Moon.Renderable.Layers.HeightLayers." ..
+ heightLayer.layer.Identifier .. ".Enabled", true)
end)
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/clemuvvis_sweden.asset b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/clemuvvis_sweden.asset
index 80b291dd11..da78621a3d 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/clemuvvis_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/clemuvvis_sweden.asset
@@ -2,17 +2,17 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../moon").Moon.Identifier
local layer = {
- Identifier = "ClemUvvis_Sweden",
- Name = "Clem Uvvis [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Clem_Uvvis.wms",
- Settings = {
- Gamma = 1.14,
- Multiplier = 1.4
- }
+ Identifier = "ClemUvvis_Sweden",
+ Name = "Clem Uvvis [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Clem_Uvvis.wms",
+ Settings = {
+ Gamma = 1.14,
+ Multiplier = 1.4
+ }
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/clemuvvis_utah.asset b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/clemuvvis_utah.asset
index 148cc9872c..6373dc4567 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/clemuvvis_utah.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/clemuvvis_utah.asset
@@ -2,17 +2,17 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../moon").Moon.Identifier
local layer = {
- Identifier = "ClemUvvis_Utah",
- Name = "Clem Uvvis [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/ClemUvvis.wms",
- Settings = {
- Gamma = 1.14,
- Multiplier = 1.4
- }
+ Identifier = "ClemUvvis_Utah",
+ Name = "Clem Uvvis [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/ClemUvvis.wms",
+ Settings = {
+ Gamma = 1.14,
+ Multiplier = 1.4
+ }
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/kaguya_sweden.asset b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/kaguya_sweden.asset
index e59fc485d2..0189128dfa 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/kaguya_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/kaguya_sweden.asset
@@ -2,17 +2,17 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../moon").Moon.Identifier
local layer = {
- Identifier = "Kaguya_Sweden",
- Name = "Kaguya [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Kaguya.vrt",
- Settings = {
- Gamma = 1.0,
- Multiplier = 1.23
- }
+ Identifier = "Kaguya_Sweden",
+ Name = "Kaguya [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Kaguya.vrt",
+ Settings = {
+ Gamma = 1.0,
+ Multiplier = 1.23
+ }
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/kaguya_utah.asset b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/kaguya_utah.asset
index 1b0cb27c03..3b9b74da33 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/kaguya_utah.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/kaguya_utah.asset
@@ -2,17 +2,17 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../moon").Moon.Identifier
local layer = {
- Identifier = "Kaguya_Utah",
- Name = "Kaguya [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/Kaguya.vrt",
- Settings = {
- Gamma = 1.0,
- Multiplier = 1.23
- }
+ Identifier = "Kaguya_Utah",
+ Name = "Kaguya [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/Kaguya.vrt",
+ Settings = {
+ Gamma = 1.0,
+ Multiplier = 1.23
+ }
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/lola_clr_shade_sweden.asset b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/lola_clr_shade_sweden.asset
index 989810f4ab..4fc3c33dca 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/lola_clr_shade_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/lola_clr_shade_sweden.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../moon").Moon.Identifier
local layer = {
- Identifier = "Lola_Clr_Shade_Sweden",
- Name = "Lola Color Shade [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Lola_Clr_Shade.wms"
+ Identifier = "Lola_Clr_Shade_Sweden",
+ Name = "Lola Color Shade [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Lola_Clr_Shade.wms"
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/lola_clr_shade_utah.asset b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/lola_clr_shade_utah.asset
index c88cdb1077..6601a28585 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/lola_clr_shade_utah.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/lola_clr_shade_utah.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../moon").Moon.Identifier
local layer = {
- Identifier = "Lola_Clr_Shade_Utah",
- Name = "Lola Color Shade [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/LolaClrShade.wms"
+ Identifier = "Lola_Clr_Shade_Utah",
+ Name = "Lola Color Shade [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/LolaClrShade.wms"
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/lola_shade_sweden.asset b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/lola_shade_sweden.asset
index 451ab441a8..142eb0a519 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/lola_shade_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/lola_shade_sweden.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../moon").Moon.Identifier
local layer = {
- Identifier = "Lola_Shade_Sweden",
- Name = "Lola Shade [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Lola_Shade.wms"
+ Identifier = "Lola_Shade_Sweden",
+ Name = "Lola Shade [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Lola_Shade.wms"
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/lola_shade_utah.asset b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/lola_shade_utah.asset
index 3ccec433ba..90495dffed 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/lola_shade_utah.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/lola_shade_utah.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../moon").Moon.Identifier
local layer = {
- Identifier = "Lola_Shade_Utah",
- Name = "Lola Shade [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/LolaShade.wms"
+ Identifier = "Lola_Shade_Utah",
+ Name = "Lola Shade [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/LolaShade.wms"
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/uvvishybrid_sweden.asset b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/uvvishybrid_sweden.asset
index 6d6e74de11..8cd547ae5b 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/uvvishybrid_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/uvvishybrid_sweden.asset
@@ -2,17 +2,17 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../moon").Moon.Identifier
local layer = {
- Identifier = "UvvisHybrid_Sweden",
- Name = "Uvvis Hybrid [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Uvvis_Hybrid.wms",
- Settings = {
- Gamma = 0.52,
- Multiplier = 0.65
- }
+ Identifier = "UvvisHybrid_Sweden",
+ Name = "Uvvis Hybrid [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Uvvis_Hybrid.wms",
+ Settings = {
+ Gamma = 0.52,
+ Multiplier = 0.65
+ }
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/uvvishybrid_utah.asset b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/uvvishybrid_utah.asset
index 3c7e3c0c66..998b0e229f 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/uvvishybrid_utah.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/uvvishybrid_utah.asset
@@ -2,17 +2,17 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../moon").Moon.Identifier
local layer = {
- Identifier = "UvvisHybrid_Utah",
- Name = "Uvvis Hybrid [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/UvvisHybrid.wms",
- Settings = {
- Gamma = 0.52,
- Multiplier = 0.65
- }
+ Identifier = "UvvisHybrid_Utah",
+ Name = "Uvvis Hybrid [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/UvvisHybrid.wms",
+ Settings = {
+ Gamma = 0.52,
+ Multiplier = 0.65
+ }
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/wac_sweden.asset b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/wac_sweden.asset
index 86e35e4cf8..7dd38504d2 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/wac_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/wac_sweden.asset
@@ -2,14 +2,14 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../moon").Moon.Identifier
local layer = {
- Identifier = "WAC_Sweden",
- Name = "WAC [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/WAC.wms",
- Settings = { Gamma = 0.84 }
+ Identifier = "WAC_Sweden",
+ Name = "WAC [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/WAC.wms",
+ Settings = { Gamma = 0.84 }
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/wac_utah.asset b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/wac_utah.asset
index 7ef4a615fe..cbdae49b2b 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/wac_utah.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/layers/colorlayers/wac_utah.asset
@@ -2,14 +2,14 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../moon").Moon.Identifier
local layer = {
- Identifier = "WAC_Utah",
- Name = "WAC [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/Wac.wms",
- Settings = { Gamma = 0.84 }
+ Identifier = "WAC_Utah",
+ Name = "WAC [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/Wac.wms",
+ Settings = { Gamma = 0.84 }
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/layers/heightlayers/loladem_sweden.asset b/data/assets/scene/solarsystem/planets/earth/moon/layers/heightlayers/loladem_sweden.asset
index acf8751fc7..bd26c272f3 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/layers/heightlayers/loladem_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/layers/heightlayers/loladem_sweden.asset
@@ -2,15 +2,15 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../moon").Moon.Identifier
local layer = {
- Identifier = "LolaDem_Sweden",
- Name = "Lola DEM [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Lola_DEM.wms",
- TilePixelSize = 64,
- Settings = { Multiplier = 0.5 }
+ Identifier = "LolaDem_Sweden",
+ Name = "Lola DEM [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Lola_DEM.wms",
+ TilePixelSize = 64,
+ Settings = { Multiplier = 0.5 }
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "HeightLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "HeightLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/layers/heightlayers/loladem_utah.asset b/data/assets/scene/solarsystem/planets/earth/moon/layers/heightlayers/loladem_utah.asset
index 79d6ef8180..9eea498607 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/layers/heightlayers/loladem_utah.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/layers/heightlayers/loladem_utah.asset
@@ -2,15 +2,15 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../moon").Moon.Identifier
local layer = {
- Identifier = "LolaDem_Utah",
- Name = "Lola DEM [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/LolaDem.wms",
- TilePixelSize = 64,
- Settings = { Multiplier = 0.5 }
+ Identifier = "LolaDem_Utah",
+ Name = "Lola DEM [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/LolaDem.wms",
+ TilePixelSize = 64,
+ Settings = { Multiplier = 0.5 }
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "HeightLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "HeightLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/layers/overlays/size_reference.asset b/data/assets/scene/solarsystem/planets/earth/moon/layers/overlays/size_reference.asset
index 030be3572d..bea21e595a 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/layers/overlays/size_reference.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/layers/overlays/size_reference.asset
@@ -1,15 +1,15 @@
local moonAsset = asset.require("./../../moon").Moon
local globeIdentifier = moonAsset.Identifier
-local layer ={
- Identifier = "Size_Reference",
- Name = "Size Reference",
- Type = "SizeReferenceTileLayer",
- Radii = moonAsset.Renderable.Radii
+local layer = {
+ Identifier = "Size_Reference",
+ Name = "Size Reference",
+ Type = "SizeReferenceTileLayer",
+ Radii = moonAsset.Renderable.Radii
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/moon.asset b/data/assets/scene/solarsystem/planets/earth/moon/moon.asset
index 160b880246..f24995d8bd 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/moon.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/moon.asset
@@ -6,65 +6,65 @@ asset.require('spice/base')
local labelsPath = asset.require('./moon_labels').LabelsPath
local Moon = {
- Identifier = "Moon",
- Parent = transforms.EarthBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "MOON",
- Observer = "EARTH BARYCENTER"
- },
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_MOON",
- DestinationFrame = "GALACTIC"
- }
+ Identifier = "Moon",
+ Parent = transforms.EarthBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "MOON",
+ Observer = "EARTH BARYCENTER"
},
- Renderable = {
- Type = "RenderableGlobe",
- Radii = 1738140,
- SegmentsPerPatch = 64,
- Layers = {},
- ShadowGroup = {
- Sources = {
- { Name = sunAsset.Sun.Identifier, Radius = 696.3E6 },
- },
- Casters = {
- { Name = earthAsset.Earth.Identifier, Radius = 6.371E6 },
- }
- },
- Labels = {
- Enable = false,
- FileName = labelsPath .. "/moon.labels",
- LabelAlignmentOption = "Horizontally", -- or Circularly
- LabelsFontSize = 14.0,
- LabelsSize = 8.0,
- LabelsMinSize = 1.0,
- LabelsMaxSize = 1500.0,
- ProximityEnabled = false,
- LabelsFadeInEnabled = true,
- LabelsFadeOutEnabled = true,
- FadeInStartingDistance = 500000.0,
- FadeOutStartingDistance = 100000.0,
- LabelsForceDomeRendering = true,
- LabelsDistanceEPS = 1350000.0,
- LabelsColor = { 1.0, 1.0, 0.0 }
- }
- },
- GUI = {
- Path = "/Solar System/Planets/Earth/Moon"
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_MOON",
+ DestinationFrame = "GALACTIC"
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = 1738140,
+ SegmentsPerPatch = 64,
+ Layers = {},
+ ShadowGroup = {
+ Sources = {
+ { Name = sunAsset.Sun.Identifier, Radius = 696.3E6 },
+ },
+ Casters = {
+ { Name = earthAsset.Earth.Identifier, Radius = 6.371E6 },
+ }
+ },
+ Labels = {
+ Enable = false,
+ FileName = labelsPath .. "/moon.labels",
+ LabelAlignmentOption = "Horizontally", -- or Circularly
+ LabelsFontSize = 14.0,
+ LabelsSize = 8.0,
+ LabelsMinSize = 1.0,
+ LabelsMaxSize = 1500.0,
+ ProximityEnabled = false,
+ LabelsFadeInEnabled = true,
+ LabelsFadeOutEnabled = true,
+ FadeInStartingDistance = 500000.0,
+ FadeOutStartingDistance = 100000.0,
+ LabelsForceDomeRendering = true,
+ LabelsDistanceEPS = 1350000.0,
+ LabelsColor = { 1.0, 1.0, 0.0 }
+ }
+ },
+ GUI = {
+ Path = "/Solar System/Planets/Earth/Moon"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Moon })
asset.meta = {
- Name = "Moon",
- Version = "1.0",
- Description = [[ Moon globe with labels. ]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Moon"}
+ Name = "Moon",
+ Version = "1.0",
+ Description = [[ Moon globe with labels. ]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Moon"}
}
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/moon_labels.asset b/data/assets/scene/solarsystem/planets/earth/moon/moon_labels.asset
index 543fe45d03..7cdc6f6c2a 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/moon_labels.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/moon_labels.asset
@@ -1,8 +1,8 @@
local LabelsPath = asset.syncedResource({
- Name = "Moon Labels",
- Type = "HttpSynchronization",
- Identifier = "moon_labels",
- Version = 1
+ Name = "Moon Labels",
+ Type = "HttpSynchronization",
+ Identifier = "moon_labels",
+ Version = 1
})
asset.export("LabelsPath", LabelsPath)
diff --git a/data/assets/scene/solarsystem/planets/earth/moon/trail.asset b/data/assets/scene/solarsystem/planets/earth/moon/trail.asset
index d60140bda5..18d859d9ba 100644
--- a/data/assets/scene/solarsystem/planets/earth/moon/trail.asset
+++ b/data/assets/scene/solarsystem/planets/earth/moon/trail.asset
@@ -5,36 +5,36 @@ asset.require('spice/base')
local MoonTrail = {
- Identifier = "MoonTrail",
- Parent = transforms.EarthBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "MOON",
- Observer = "EARTH BARYCENTER"
- },
- Color = { 0.5, 0.3, 0.3 },
- Period = 27,
- Resolution = 1000,
- Tag = { "moonTrail_solarSystem", "moonTrail_terrestrial", "moonTrail_earth" }
+ Identifier = "MoonTrail",
+ Parent = transforms.EarthBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "MOON",
+ Observer = "EARTH BARYCENTER"
},
- GUI = {
- Name = "Moon Trail",
- Path = "/Solar System/Planets/Earth/Moon"
- }
+ Color = { 0.5, 0.3, 0.3 },
+ Period = 27,
+ Resolution = 1000,
+ Tag = { "moonTrail_solarSystem", "moonTrail_terrestrial", "moonTrail_earth" }
+ },
+ GUI = {
+ Name = "Moon Trail",
+ Path = "/Solar System/Planets/Earth/Moon"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { MoonTrail })
asset.meta = {
- Name = "Moon Trail",
- Version = "1.0",
- Description = [[ Moon Trail - This asset contains the trail of the Moon.
+ Name = "Moon Trail",
+ Version = "1.0",
+ Description = [[ Moon Trail - This asset contains the trail of the Moon.
Data from NASA Spice (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"MoonTrail"}
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"MoonTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/communications/amateur.asset b/data/assets/scene/solarsystem/planets/earth/satellites/communications/amateur.asset
index 93056ec693..b1d6370b17 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/communications/amateur.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/communications/amateur.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Amateur Radio",
- Url = "http://www.celestrak.com/NORAD/elements/amateur.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Amateur Radio",
+ Url = "http://www.celestrak.com/NORAD/elements/amateur.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/communications/experimental.asset b/data/assets/scene/solarsystem/planets/earth/satellites/communications/experimental.asset
index 62ddde179b..d094eb3bd3 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/communications/experimental.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/communications/experimental.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Experimental",
- Url = "http://www.celestrak.com/NORAD/elements/x-comm.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Experimental",
+ Url = "http://www.celestrak.com/NORAD/elements/x-comm.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/communications/geostationary.asset b/data/assets/scene/solarsystem/planets/earth/satellites/communications/geostationary.asset
index 5a2b92bbeb..aa17c4c902 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/communications/geostationary.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/communications/geostationary.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Geostationary",
- Url = "http://celestrak.com/NORAD/elements/geo.txt",
- TrailColor = { 0.9, 0.9, 0.0 }
+ Title = "Geostationary",
+ Url = "http://celestrak.com/NORAD/elements/geo.txt",
+ TrailColor = { 0.9, 0.9, 0.0 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/communications/globalstar.asset b/data/assets/scene/solarsystem/planets/earth/satellites/communications/globalstar.asset
index 187da196dc..45057138bc 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/communications/globalstar.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/communications/globalstar.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "GlobalStar",
- Url = "http://www.celestrak.com/NORAD/elements/globalstar.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "GlobalStar",
+ Url = "http://www.celestrak.com/NORAD/elements/globalstar.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/communications/gorizont.asset b/data/assets/scene/solarsystem/planets/earth/satellites/communications/gorizont.asset
index 968c7a0d52..5369ef8ad7 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/communications/gorizont.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/communications/gorizont.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Gorizont",
- Url = "http://www.celestrak.com/NORAD/elements/gorizont.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Gorizont",
+ Url = "http://www.celestrak.com/NORAD/elements/gorizont.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/communications/intelsat.asset b/data/assets/scene/solarsystem/planets/earth/satellites/communications/intelsat.asset
index 6c63a7a152..e40a150e55 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/communications/intelsat.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/communications/intelsat.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Intelsat",
- Url = "http://www.celestrak.com/NORAD/elements/intelsat.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Intelsat",
+ Url = "http://www.celestrak.com/NORAD/elements/intelsat.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/communications/iridium.asset b/data/assets/scene/solarsystem/planets/earth/satellites/communications/iridium.asset
index 9aef4acfa4..5d8708142f 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/communications/iridium.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/communications/iridium.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Iridium",
- Url = "http://www.celestrak.com/NORAD/elements/iridium.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Iridium",
+ Url = "http://www.celestrak.com/NORAD/elements/iridium.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/communications/iridium_next.asset b/data/assets/scene/solarsystem/planets/earth/satellites/communications/iridium_next.asset
index 0acefd60bb..f37747ea8f 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/communications/iridium_next.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/communications/iridium_next.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Iridium NEXT",
- Url = "http://www.celestrak.com/NORAD/elements/iridium-NEXT.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Iridium NEXT",
+ Url = "http://www.celestrak.com/NORAD/elements/iridium-NEXT.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/communications/molniya.asset b/data/assets/scene/solarsystem/planets/earth/satellites/communications/molniya.asset
index faa5e257cd..ed6e25b49a 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/communications/molniya.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/communications/molniya.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Molniya",
- Url = "http://www.celestrak.com/NORAD/elements/molniya.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Molniya",
+ Url = "http://www.celestrak.com/NORAD/elements/molniya.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/communications/orbcomm.asset b/data/assets/scene/solarsystem/planets/earth/satellites/communications/orbcomm.asset
index 46a00682df..9fd8597db8 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/communications/orbcomm.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/communications/orbcomm.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Orbcomm",
- Url = "http://www.celestrak.com/NORAD/elements/orbcomm.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Orbcomm",
+ Url = "http://www.celestrak.com/NORAD/elements/orbcomm.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/communications/other_comm.asset b/data/assets/scene/solarsystem/planets/earth/satellites/communications/other_comm.asset
index a389e514db..7c4621d189 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/communications/other_comm.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/communications/other_comm.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Other comm",
- Url = "http://www.celestrak.com/NORAD/elements/other-comm.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Other comm",
+ Url = "http://www.celestrak.com/NORAD/elements/other-comm.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/communications/raduga.asset b/data/assets/scene/solarsystem/planets/earth/satellites/communications/raduga.asset
index 61b2511d13..054816b80c 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/communications/raduga.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/communications/raduga.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Raduga",
- Url = "http://www.celestrak.com/NORAD/elements/raduga.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Raduga",
+ Url = "http://www.celestrak.com/NORAD/elements/raduga.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/communications/ses.asset b/data/assets/scene/solarsystem/planets/earth/satellites/communications/ses.asset
index 5589bc9f2d..6f19efa0ac 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/communications/ses.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/communications/ses.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "SES",
- Url = "http://www.celestrak.com/NORAD/elements/ses.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "SES",
+ Url = "http://www.celestrak.com/NORAD/elements/ses.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_asat.asset b/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_asat.asset
index 0335bc5466..93df258312 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_asat.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_asat.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Indian ASAT test Debris",
- Url = "http://www.celestrak.com/NORAD/elements/2019-006.txt",
- TrailColor = { 0.25, 0.35, 0.45 }
+ Title = "Indian ASAT test Debris",
+ Url = "http://www.celestrak.com/NORAD/elements/2019-006.txt",
+ TrailColor = { 0.25, 0.35, 0.45 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_breezem.asset b/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_breezem.asset
index ca65fa548c..602f400de3 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_breezem.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_breezem.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Breeze-M Breakup",
- Url = "http://www.celestrak.com/NORAD/elements/2012-044.txt",
- TrailColor = { 0.25, 0.35, 0.45 }
+ Title = "Breeze-M Breakup",
+ Url = "http://www.celestrak.com/NORAD/elements/2012-044.txt",
+ TrailColor = { 0.25, 0.35, 0.45 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_fengyun.asset b/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_fengyun.asset
index f6ac4c803a..fe48a9cd20 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_fengyun.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_fengyun.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Fengyun Debris",
- Url = "http://www.celestrak.com/NORAD/elements/1999-025.txt",
- TrailColor = { 0.784, 1.0, 0.737 }
+ Title = "Fengyun Debris",
+ Url = "http://www.celestrak.com/NORAD/elements/1999-025.txt",
+ TrailColor = { 0.784, 1.0, 0.737 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_iridium33.asset b/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_iridium33.asset
index 4d4ee16f8a..1d1235028d 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_iridium33.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_iridium33.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Iridium 33 Debris",
- Url = "http://www.celestrak.com/NORAD/elements/iridium-33-debris.txt",
- TrailColor = { 0.8, 0.0, 0.3 }
+ Title = "Iridium 33 Debris",
+ Url = "http://www.celestrak.com/NORAD/elements/iridium-33-debris.txt",
+ TrailColor = { 0.8, 0.0, 0.3 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_kosmos2251.asset b/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_kosmos2251.asset
index 6d84fd8247..6522de59ab 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_kosmos2251.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/debris/debris_kosmos2251.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Kosmos 2251 Debris",
- Url = "http://www.celestrak.com/NORAD/elements/cosmos-2251-debris.txt",
- TrailColor = { 0.66, 0.8, 0.5 }
+ Title = "Kosmos 2251 Debris",
+ Url = "http://www.celestrak.com/NORAD/elements/cosmos-2251-debris.txt",
+ TrailColor = { 0.66, 0.8, 0.5 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/debris/volume/cartesian_volume.asset b/data/assets/scene/solarsystem/planets/earth/satellites/debris/volume/cartesian_volume.asset
index 27f651d20f..1e3b606a76 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/debris/volume/cartesian_volume.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/debris/volume/cartesian_volume.asset
@@ -10,28 +10,28 @@ local transforms = asset.require("scene/solarsystem/planets/earth/transforms")
local maxApogee = 2 * 10946320;
local volume = {
- Identifier = "DebrisVolume - Cartesian",
- Parent = transforms.EarthInertial.Identifier,
- Renderable = {
- Type = "RenderableTimeVaryingVolume",
- SourceDirectory = asset.localResource("generatedCartesian"),
- TransferFunction = asset.localResource("transferfunction.txt"),
- StepSize = 0.01,
- MinValue = 0,
- MaxValue = 1,
- GridType = "Cartesian",
- SecondsBefore = 50*365*24*60*60,
- SecondsAfter = 50*365*24*60*60
- },
- GUI = {
- Path = "/Volumes"
- },
- Transform = {
- Scale = {
- Type = "StaticScale",
- Scale = maxApogee -- do not multiply this. That will not show real representation.
- }
+ Identifier = "DebrisVolume - Cartesian",
+ Parent = transforms.EarthInertial.Identifier,
+ Renderable = {
+ Type = "RenderableTimeVaryingVolume",
+ SourceDirectory = asset.localResource("generatedCartesian"),
+ TransferFunction = asset.localResource("transferfunction.txt"),
+ StepSize = 0.01,
+ MinValue = 0,
+ MaxValue = 1,
+ GridType = "Cartesian",
+ SecondsBefore = 50*365*24*60*60,
+ SecondsAfter = 50*365*24*60*60
+ },
+ GUI = {
+ Path = "/Volumes"
+ },
+ Transform = {
+ Scale = {
+ Type = "StaticScale",
+ Scale = maxApogee -- do not multiply this. That will not show real representation.
}
+ }
}
local objects = { volume }
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/debris/volume/spherical_volume.asset b/data/assets/scene/solarsystem/planets/earth/satellites/debris/volume/spherical_volume.asset
index 85abc72975..f0e5218cb0 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/debris/volume/spherical_volume.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/debris/volume/spherical_volume.asset
@@ -10,28 +10,28 @@ local transforms = asset.require("scene/solarsystem/planets/earth/transforms")
local maxApogee = 10946320;
local volume = {
- Identifier = "DebrisVolume - Spherical",
- Parent = transforms.EarthInertial.Identifier,
- Renderable = {
- Type = "RenderableTimeVaryingVolume",
- SourceDirectory = asset.localResource("generated"),
- TransferFunction = asset.localResource("transferfunction.txt"),
- StepSize = 0.01,
- MinValue = 0,
- MaxValue = 1,
- GridType = "Spherical",
- SecondsBefore = 50*365*24*60*60,
- SecondsAfter = 50*365*24*60*60
- },
- GUI = {
- Path = "/Volumes"
- },
- Transform = {
- Scale = {
- Type = "StaticScale",
- Scale = maxApogee --do not multiply this. That will not show real representation.
- }
+ Identifier = "DebrisVolume - Spherical",
+ Parent = transforms.EarthInertial.Identifier,
+ Renderable = {
+ Type = "RenderableTimeVaryingVolume",
+ SourceDirectory = asset.localResource("generated"),
+ TransferFunction = asset.localResource("transferfunction.txt"),
+ StepSize = 0.01,
+ MinValue = 0,
+ MaxValue = 1,
+ GridType = "Spherical",
+ SecondsBefore = 50*365*24*60*60,
+ SecondsAfter = 50*365*24*60*60
+ },
+ GUI = {
+ Path = "/Volumes"
+ },
+ Transform = {
+ Scale = {
+ Type = "StaticScale",
+ Scale = maxApogee --do not multiply this. That will not show real representation.
}
+ }
}
local objects = { volume }
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/misc/brightest.asset b/data/assets/scene/solarsystem/planets/earth/satellites/misc/brightest.asset
index 6a74e9e875..9dd6222fc4 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/misc/brightest.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/misc/brightest.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "100 Brightest",
- Url = "http://www.celestrak.com/NORAD/elements/visual.txt",
- TrailColor = { 0.55, 0.25, 0.65 }
+ Title = "100 Brightest",
+ Url = "http://www.celestrak.com/NORAD/elements/visual.txt",
+ TrailColor = { 0.55, 0.25, 0.65 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/misc/cubesats.asset b/data/assets/scene/solarsystem/planets/earth/satellites/misc/cubesats.asset
index b53e0fa281..1f9ac6c110 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/misc/cubesats.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/misc/cubesats.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "CubeSat",
- Url = "http://www.celestrak.com/NORAD/elements/cubesat.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "CubeSat",
+ Url = "http://www.celestrak.com/NORAD/elements/cubesat.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/misc/iss.asset b/data/assets/scene/solarsystem/planets/earth/satellites/misc/iss.asset
index eee82d3659..54defe6c21 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/misc/iss.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/misc/iss.asset
@@ -34,9 +34,9 @@ local initializeAndAddNodes = function()
LineNumber = 1
},
Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "GALACTIC",
- DestinationFrame = "J2000",
+ Type = "SpiceRotation",
+ SourceFrame = "GALACTIC",
+ DestinationFrame = "J2000",
}
},
Tag = { "earth_satellite", "ISS" },
@@ -50,11 +50,11 @@ local initializeAndAddNodes = function()
Parent = iss.Identifier,
Transform = {
Rotation = {
- Type = "FixedRotation",
- Attached = "ISSparentNode",
- XAxis = { 0.01, -1.0, 0.56 },
- XAxisOrthogonal = true,
- YAxis = transforms.EarthInertial.Identifier
+ Type = "FixedRotation",
+ Attached = "ISSparentNode",
+ XAxis = { 0.01, -1.0, 0.56 },
+ XAxisOrthogonal = true,
+ YAxis = transforms.EarthInertial.Identifier
}
},
Renderable = {
@@ -73,9 +73,9 @@ local initializeAndAddNodes = function()
DisableFaceCulling = true
},
GUI = {
- Name = "ISSparentNode",
- Path = "/Solar System/Planets/Earth/Satellites/ISS",
- Hidden = true,
+ Name = "ISSparentNode",
+ Path = "/Solar System/Planets/Earth/Satellites/ISS",
+ Hidden = true,
}
}
@@ -83,20 +83,20 @@ local initializeAndAddNodes = function()
Identifier = identifier .. "_trail",
Parent = transforms.EarthInertial.Identifier,
Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "TLETranslation",
- Body = identifier,
- Observer = transforms.EarthInertial.Identifier,
- File = path,
- LineNumber = 1,
- RenderBinMode = "PostDeferredTransparent"
- },
- Color = { 0.9, 0.6715, 0.0 },
- Fade = 1.5,
- Period = period,
- Resolution = 320
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "TLETranslation",
+ Body = identifier,
+ Observer = transforms.EarthInertial.Identifier,
+ File = path,
+ LineNumber = 1,
+ RenderBinMode = "PostDeferredTransparent"
},
+ Color = { 0.9, 0.6715, 0.0 },
+ Fade = 1.5,
+ Period = period,
+ Resolution = 320
+ },
Tag = { "earth_satellite", "ISS" },
GUI = {
Name = "ISS Trail",
@@ -109,27 +109,27 @@ local initializeAndAddNodes = function()
Parent = iss.Identifier,
Renderable = {
- Enabled = false,
- Type = "RenderableLabels",
- LabelText = "ISS",
- FontSize = 100.0,
- LabelSize = 3.4,
- LabelMaxSize = 100.0,
- LabelMinSize = 1.0,
- LabelOrientationOption = "Camera View Direction",
- BlendMode = "Additive",
- EnableFading = true,
- FadeStartUnit = "au",
- FadeStartDistance = 0.15,
- FadeStartSpeed = 1.0,
- FadeEndUnit = "au",
- FadeEndDistance = 15.0,
- FadeEndSpeed = 25.0
+ Enabled = false,
+ Type = "RenderableLabels",
+ LabelText = "ISS",
+ FontSize = 100.0,
+ LabelSize = 3.4,
+ LabelMaxSize = 100.0,
+ LabelMinSize = 1.0,
+ LabelOrientationOption = "Camera View Direction",
+ BlendMode = "Additive",
+ EnableFading = true,
+ FadeStartUnit = "au",
+ FadeStartDistance = 0.15,
+ FadeStartSpeed = 1.0,
+ FadeEndUnit = "au",
+ FadeEndDistance = 15.0,
+ FadeEndSpeed = 25.0
},
Tag = { "solarsystem_labels" },
GUI = {
- Name = "ISS Label",
- Path = "/Solar System/Planets/Earth/Satellites"
+ Name = "ISS Label",
+ Path = "/Solar System/Planets/Earth/Satellites"
}
}
@@ -154,11 +154,11 @@ end)
asset.meta = {
- Name = "ISS",
- Version = "1.0",
- Description = [[ Model and Trail for ISS. Model from NASA 3D models, trail from
- CELESTRAK]],
- Author = "OpenSpace Team",
- URL = "https://celestrak.com/",
- License = "NASA"
+ Name = "ISS",
+ Version = "1.0",
+ Description = [[ Model and Trail for ISS. Model from NASA 3D models, trail from
+ CELESTRAK]],
+ Author = "OpenSpace Team",
+ URL = "https://celestrak.com/",
+ License = "NASA"
}
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/misc/military.asset b/data/assets/scene/solarsystem/planets/earth/satellites/misc/military.asset
index eba2695caa..8b159fdff1 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/misc/military.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/misc/military.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Military",
- Url = "http://www.celestrak.com/NORAD/elements/military.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Military",
+ Url = "http://www.celestrak.com/NORAD/elements/military.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/misc/other.asset b/data/assets/scene/solarsystem/planets/earth/satellites/misc/other.asset
index a389e6510d..3918837b54 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/misc/other.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/misc/other.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Other",
- Url = "http://www.celestrak.com/NORAD/elements/other.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Other",
+ Url = "http://www.celestrak.com/NORAD/elements/other.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/misc/radar.asset b/data/assets/scene/solarsystem/planets/earth/satellites/misc/radar.asset
index 64204ffd3f..9c997c75c3 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/misc/radar.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/misc/radar.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Radar Calibration",
- Url = "http://www.celestrak.com/NORAD/elements/radar.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Radar Calibration",
+ Url = "http://www.celestrak.com/NORAD/elements/radar.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/misc/spacestations.asset b/data/assets/scene/solarsystem/planets/earth/satellites/misc/spacestations.asset
index f9f974a730..bcd888013c 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/misc/spacestations.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/misc/spacestations.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "SpaceStations",
- Url = "http://celestrak.com/NORAD/elements/stations.txt",
- TrailColor = { 0.9, 0.1, 0.0 }
+ Title = "SpaceStations",
+ Url = "http://celestrak.com/NORAD/elements/stations.txt",
+ TrailColor = { 0.9, 0.1, 0.0 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/misc/tle-new.asset b/data/assets/scene/solarsystem/planets/earth/satellites/misc/tle-new.asset
index 506dd7bb48..81ada563fc 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/misc/tle-new.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/misc/tle-new.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Last 30 Days",
- Url = "http://www.celestrak.com/NORAD/elements/tle-new.txt",
- TrailColor = { 0.65, 0.25, 0.45 }
+ Title = "Last 30 Days",
+ Url = "http://www.celestrak.com/NORAD/elements/tle-new.txt",
+ TrailColor = { 0.65, 0.25, 0.45 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/navigation/beidou.asset b/data/assets/scene/solarsystem/planets/earth/satellites/navigation/beidou.asset
index 47fe0930be..d5ccf64db5 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/navigation/beidou.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/navigation/beidou.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Beidou",
- Url = "http://www.celestrak.com/NORAD/elements/beidou.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Beidou",
+ Url = "http://www.celestrak.com/NORAD/elements/beidou.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/navigation/galileo.asset b/data/assets/scene/solarsystem/planets/earth/satellites/navigation/galileo.asset
index f3c2d976f3..bf1d460a7e 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/navigation/galileo.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/navigation/galileo.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Galileo",
- Url = "http://www.celestrak.com/NORAD/elements/galileo.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Galileo",
+ Url = "http://www.celestrak.com/NORAD/elements/galileo.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/navigation/glosnass.asset b/data/assets/scene/solarsystem/planets/earth/satellites/navigation/glosnass.asset
index b0223450c3..550b895287 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/navigation/glosnass.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/navigation/glosnass.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Glosnass",
- Url = "http://www.celestrak.com/NORAD/elements/glo-ops.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Glosnass",
+ Url = "http://www.celestrak.com/NORAD/elements/glo-ops.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/navigation/gps.asset b/data/assets/scene/solarsystem/planets/earth/satellites/navigation/gps.asset
index e08e162862..ba3f603851 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/navigation/gps.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/navigation/gps.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "GPS",
- Url = "http://celestrak.com/NORAD/elements/gps-ops.txt",
- TrailColor = { 0.9, 0.5, 0.0 }
+ Title = "GPS",
+ Url = "http://celestrak.com/NORAD/elements/gps-ops.txt",
+ TrailColor = { 0.9, 0.5, 0.0 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/navigation/musson.asset b/data/assets/scene/solarsystem/planets/earth/satellites/navigation/musson.asset
index efccb05950..50a0792a4e 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/navigation/musson.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/navigation/musson.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Russian LEO Navigation",
- Url = "http://www.celestrak.com/NORAD/elements/musson.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Russian LEO Navigation",
+ Url = "http://www.celestrak.com/NORAD/elements/musson.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/navigation/nnss.asset b/data/assets/scene/solarsystem/planets/earth/satellites/navigation/nnss.asset
index 3be4a576ec..0085bbffda 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/navigation/nnss.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/navigation/nnss.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Navy Navigation Satellite System",
- Url = "http://www.celestrak.com/NORAD/elements/nnss.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Navy Navigation Satellite System",
+ Url = "http://www.celestrak.com/NORAD/elements/nnss.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/navigation/sbas.asset b/data/assets/scene/solarsystem/planets/earth/satellites/navigation/sbas.asset
index 58458638c4..a63ef7b565 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/navigation/sbas.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/navigation/sbas.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Satellite Based Augmentation System",
- Url = "http://www.celestrak.com/NORAD/elements/sbas.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Satellite Based Augmentation System",
+ Url = "http://www.celestrak.com/NORAD/elements/sbas.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/satellites_all.asset b/data/assets/scene/solarsystem/planets/earth/satellites/satellites_all.asset
index 953bb149ec..ea203b1ca0 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/satellites_all.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/satellites_all.asset
@@ -9,11 +9,11 @@ asset.require('./satellites_weather')
asset.meta = {
- Name = "Satellites All",
- Version = "1.0",
- Description = [[ Meta asset for all satellites of Earth. Containing all other meta
- assets.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Satellites All",
+ Version = "1.0",
+ Description = [[ Meta asset for all satellites of Earth. Containing all other meta
+ assets.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/satellites_communications.asset b/data/assets/scene/solarsystem/planets/earth/satellites/satellites_communications.asset
index 6341917a7d..be723c02ee 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/satellites_communications.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/satellites_communications.asset
@@ -14,12 +14,12 @@ asset.require('./communications/molniya')
asset.meta = {
- Name = "Satellites Communications",
- Version = "1.0",
- Description = [[ Meta asset for communications satellites of Earth. Containing groups:
- geostationary, intelsat, ses, iridium, iridium_next, orbcomm, globalstar, amateur,
- experimental, other_comm, gorizont, raduga and molniya.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Satellites Communications",
+ Version = "1.0",
+ Description = [[ Meta asset for communications satellites of Earth. Containing groups:
+ geostationary, intelsat, ses, iridium, iridium_next, orbcomm, globalstar, amateur,
+ experimental, other_comm, gorizont, raduga and molniya.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/satellites_debris.asset b/data/assets/scene/solarsystem/planets/earth/satellites/satellites_debris.asset
index 04f73ac275..ad84683154 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/satellites_debris.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/satellites_debris.asset
@@ -6,12 +6,12 @@ asset.require('./debris/debris_kosmos2251')
asset.meta = {
- Name = "Satellites Debris",
- Version = "1.0",
- Description = [[ Meta asset for space debris of Earth. Containing groups:
- debris_asat, debris_breezem, debris_fengyun, debris_iridium33, and
- debris_kosmos2251.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Satellites Debris",
+ Version = "1.0",
+ Description = [[ Meta asset for space debris of Earth. Containing groups:
+ debris_asat, debris_breezem, debris_fengyun, debris_iridium33, and
+ debris_kosmos2251.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/satellites_interesting.asset b/data/assets/scene/solarsystem/planets/earth/satellites/satellites_interesting.asset
index e5ae453077..afc723d4a8 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/satellites_interesting.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/satellites_interesting.asset
@@ -7,11 +7,11 @@ asset.require('./misc/tle-new')
asset.meta = {
- Name = "Satellites Interesting",
- Version = "1.0",
- Description = [[ Meta asset for interesting satellites of Earth. Containing groups:
- brightest, geostationary, gps, spacestations, iss, and tle-new.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Satellites Interesting",
+ Version = "1.0",
+ Description = [[ Meta asset for interesting satellites of Earth. Containing groups:
+ brightest, geostationary, gps, spacestations, iss, and tle-new.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/satellites_misc.asset b/data/assets/scene/solarsystem/planets/earth/satellites/satellites_misc.asset
index e44d1b4c6b..7e82acabf8 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/satellites_misc.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/satellites_misc.asset
@@ -5,11 +5,11 @@ asset.require('./misc/other')
asset.meta = {
- Name = "Satellites Misc",
- Version = "1.0",
- Description = [[ Meta asset for misc satellites of Earth. Containing groups:
- military, radar, cubesats, and other.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Satellites Misc",
+ Version = "1.0",
+ Description = [[ Meta asset for misc satellites of Earth. Containing groups:
+ military, radar, cubesats, and other.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/satellites_navigation.asset b/data/assets/scene/solarsystem/planets/earth/satellites/satellites_navigation.asset
index 4ba584613d..473013b07b 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/satellites_navigation.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/satellites_navigation.asset
@@ -8,11 +8,11 @@ asset.require('./navigation/sbas')
asset.meta = {
- Name = "Satellites Navigation",
- Version = "1.0",
- Description = [[ Meta asset for navigation satellites of Earth. Containing groups:
- beidou, galileo, glosnass, gps, musson, nnss, and sbas.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Satellites Navigation",
+ Version = "1.0",
+ Description = [[ Meta asset for navigation satellites of Earth. Containing groups:
+ beidou, galileo, glosnass, gps, musson, nnss, and sbas.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/satellites_science.asset b/data/assets/scene/solarsystem/planets/earth/satellites/satellites_science.asset
index b4fcc359c9..d235eda9e1 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/satellites_science.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/satellites_science.asset
@@ -5,11 +5,11 @@ asset.require('./science/education')
asset.meta = {
- Name = "Satellites Science",
- Version = "1.0",
- Description = [[ Meta asset for science satellites of Earth. Containing groups:
- spaceearth, geodetic, engineering, and education.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Satellites Science",
+ Version = "1.0",
+ Description = [[ Meta asset for science satellites of Earth. Containing groups:
+ spaceearth, geodetic, engineering, and education.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/satellites_weather.asset b/data/assets/scene/solarsystem/planets/earth/satellites/satellites_weather.asset
index e3177c98b2..1a8097a0c8 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/satellites_weather.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/satellites_weather.asset
@@ -11,11 +11,11 @@ asset.require('./weather/weather')
asset.meta = {
- Name = "Satellites Weather",
- Version = "1.0",
- Description = [[ Meta asset for weather satellites of Earth. Containing groups: argos,
- dmc, earth_resources, geos, noaa, planet, sarsat, spire, tdrss, and weather.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Satellites Weather",
+ Version = "1.0",
+ Description = [[ Meta asset for weather satellites of Earth. Containing groups: argos,
+ dmc, earth_resources, geos, noaa, planet, sarsat, spire, tdrss, and weather.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/science/education.asset b/data/assets/scene/solarsystem/planets/earth/satellites/science/education.asset
index d7a42c5fde..f9aa07460f 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/science/education.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/science/education.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Education",
- Url = "http://www.celestrak.com/NORAD/elements/education.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Education",
+ Url = "http://www.celestrak.com/NORAD/elements/education.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/science/engineering.asset b/data/assets/scene/solarsystem/planets/earth/satellites/science/engineering.asset
index faa6febc16..a59de0b948 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/science/engineering.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/science/engineering.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Engineering",
- Url = "http://www.celestrak.com/NORAD/elements/engineering.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Engineering",
+ Url = "http://www.celestrak.com/NORAD/elements/engineering.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/science/geodetic.asset b/data/assets/scene/solarsystem/planets/earth/satellites/science/geodetic.asset
index d2613c699e..87daed06dc 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/science/geodetic.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/science/geodetic.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Geodect",
- Url = "http://www.celestrak.com/NORAD/elements/geodetic.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Geodect",
+ Url = "http://www.celestrak.com/NORAD/elements/geodetic.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/science/spaceearth.asset b/data/assets/scene/solarsystem/planets/earth/satellites/science/spaceearth.asset
index e6d3513857..fad2ab9354 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/science/spaceearth.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/science/spaceearth.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Space & Earth Science",
- Url = "http://www.celestrak.com/NORAD/elements/science.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Space & Earth Science",
+ Url = "http://www.celestrak.com/NORAD/elements/science.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/weather/aqua.asset b/data/assets/scene/solarsystem/planets/earth/satellites/weather/aqua.asset
index a056478bdf..96c6e5561b 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/weather/aqua.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/weather/aqua.asset
@@ -11,7 +11,6 @@ local tle = satelliteHelper.downloadTLEFile(asset, url, identifier, filename)
asset.onInitialize(function ()
-
local lineElement = satelliteHelper.makeSingleLineElement(tle, filename)
local period = satelliteHelper.getPeriodFromElement(lineElement)
local path = tle .. "/" .. filename
@@ -29,9 +28,9 @@ asset.onInitialize(function ()
LineNumber = 1
},
Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "GALACTIC",
- DestinationFrame = "J2000",
+ Type = "SpiceRotation",
+ SourceFrame = "GALACTIC",
+ DestinationFrame = "J2000",
}
},
Tag = { "earth_satellite", "Aqua" },
@@ -44,20 +43,20 @@ asset.onInitialize(function ()
Identifier = identifier .. "_trail",
Parent = transforms.EarthInertial.Identifier,
Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "TLETranslation",
- Body = identifier,
- Observer = transforms.EarthInertial.Identifier,
- File = path,
- LineNumber = 1,
- RenderBinMode = "PostDeferredTransparent"
- },
- Color = { 0.9, 0.6715, 0.0 },
- Fade = 1.5,
- Period = period,
- Resolution = 320
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "TLETranslation",
+ Body = identifier,
+ Observer = transforms.EarthInertial.Identifier,
+ File = path,
+ LineNumber = 1,
+ RenderBinMode = "PostDeferredTransparent"
},
+ Color = { 0.9, 0.6715, 0.0 },
+ Fade = 1.5,
+ Period = period,
+ Resolution = 320
+ },
Tag = { "earth_satellite", "Aqua" },
GUI = {
Name = "Terra Trail",
@@ -70,22 +69,22 @@ asset.onInitialize(function ()
Parent = Aqua.Identifier,
Renderable = {
- Enabled = false,
- Type = "RenderableLabels",
- LabelText = "SNPP",
- FontSize = 100.0,
- LabelSize = 4.0,
- LabelMaxSize = 100.0,
- LabelMinSize = 1.0,
- LabelOrientationOption = "Camera View Direction",
- BlendMode = "Additive",
- EnableFading = true,
- FadeStartUnit = "au",
- FadeStartDistance = 0.15,
- FadeStartSpeed = 1.0,
- FadeEndUnit = "au",
- FadeEndDistance = 15.0,
- FadeEndSpeed = 25.0
+ Enabled = false,
+ Type = "RenderableLabels",
+ LabelText = "SNPP",
+ FontSize = 100.0,
+ LabelSize = 4.0,
+ LabelMaxSize = 100.0,
+ LabelMinSize = 1.0,
+ LabelOrientationOption = "Camera View Direction",
+ BlendMode = "Additive",
+ EnableFading = true,
+ FadeStartUnit = "au",
+ FadeStartDistance = 0.15,
+ FadeStartSpeed = 1.0,
+ FadeEndUnit = "au",
+ FadeEndDistance = 15.0,
+ FadeEndSpeed = 25.0
},
Tag = { "solarsystem_labels" },
GUI = {
@@ -111,11 +110,11 @@ end)
asset.meta = {
- Name = "Aqua",
- Version = "1.0",
- Description = [[ Trail for Aqua. trail from
- CELESTRAK. Can be used in conjuntion with Aqua Modis (Temporal) layer for Earth]],
- Author = "OpenSpace Team",
- URL = "https://celestrak.com/",
- License = "NASA"
+ Name = "Aqua",
+ Version = "1.0",
+ Description = [[ Trail for Aqua. trail from
+ CELESTRAK. Can be used in conjuntion with Aqua Modis (Temporal) layer for Earth]],
+ Author = "OpenSpace Team",
+ URL = "https://celestrak.com/",
+ License = "NASA"
}
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/weather/argos.asset b/data/assets/scene/solarsystem/planets/earth/satellites/weather/argos.asset
index 75d572299e..332778d5af 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/weather/argos.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/weather/argos.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "ARGOS",
- Url = "http://www.celestrak.com/NORAD/elements/argos.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "ARGOS",
+ Url = "http://www.celestrak.com/NORAD/elements/argos.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/weather/dmc.asset b/data/assets/scene/solarsystem/planets/earth/satellites/weather/dmc.asset
index eb95d7e6e1..0eb43d7c33 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/weather/dmc.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/weather/dmc.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Disaster Monitoring",
- Url = "http://www.celestrak.com/NORAD/elements/dmc.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Disaster Monitoring",
+ Url = "http://www.celestrak.com/NORAD/elements/dmc.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/weather/earth_resources.asset b/data/assets/scene/solarsystem/planets/earth/satellites/weather/earth_resources.asset
index e3ad206277..77e3a76d2c 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/weather/earth_resources.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/weather/earth_resources.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Earth Resources",
- Url = "http://www.celestrak.com/NORAD/elements/resource.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Earth Resources",
+ Url = "http://www.celestrak.com/NORAD/elements/resource.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/weather/goes.asset b/data/assets/scene/solarsystem/planets/earth/satellites/weather/goes.asset
index 55a2584643..789103e5f4 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/weather/goes.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/weather/goes.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "GOES",
- Url = "http://www.celestrak.com/NORAD/elements/goes.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "GOES",
+ Url = "http://www.celestrak.com/NORAD/elements/goes.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/weather/noaa.asset b/data/assets/scene/solarsystem/planets/earth/satellites/weather/noaa.asset
index 85c7f97798..4bac8d1821 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/weather/noaa.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/weather/noaa.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "NOAA",
- Url = "http://www.celestrak.com/NORAD/elements/noaa.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "NOAA",
+ Url = "http://www.celestrak.com/NORAD/elements/noaa.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/weather/planet.asset b/data/assets/scene/solarsystem/planets/earth/satellites/weather/planet.asset
index bb5f00625b..9e7d126a20 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/weather/planet.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/weather/planet.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Planet",
- Url = "http://www.celestrak.com/NORAD/elements/planet.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Planet",
+ Url = "http://www.celestrak.com/NORAD/elements/planet.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/weather/sarsat.asset b/data/assets/scene/solarsystem/planets/earth/satellites/weather/sarsat.asset
index 64ef4004e5..56ba2e8f69 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/weather/sarsat.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/weather/sarsat.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Search & Rescue (SARSAT)",
- Url = "http://www.celestrak.com/NORAD/elements/sarsat.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Search & Rescue (SARSAT)",
+ Url = "http://www.celestrak.com/NORAD/elements/sarsat.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/weather/snpp.asset b/data/assets/scene/solarsystem/planets/earth/satellites/weather/snpp.asset
index eeec482047..9564cd31d6 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/weather/snpp.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/weather/snpp.asset
@@ -29,9 +29,9 @@ asset.onInitialize(function ()
LineNumber = 1
},
Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "GALACTIC",
- DestinationFrame = "J2000",
+ Type = "SpiceRotation",
+ SourceFrame = "GALACTIC",
+ DestinationFrame = "J2000",
}
},
Tag = { "earth_satellite", "SNPP" },
@@ -45,20 +45,20 @@ asset.onInitialize(function ()
Identifier = identifier .. "_trail",
Parent = transforms.EarthInertial.Identifier,
Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "TLETranslation",
- Body = identifier,
- Observer = transforms.EarthInertial.Identifier,
- File = path,
- LineNumber = 1,
- RenderBinMode = "PostDeferredTransparent"
- },
- Color = { 0.9, 0.6715, 0.0 },
- Fade = 1.5,
- Period = period,
- Resolution = 320
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "TLETranslation",
+ Body = identifier,
+ Observer = transforms.EarthInertial.Identifier,
+ File = path,
+ LineNumber = 1,
+ RenderBinMode = "PostDeferredTransparent"
},
+ Color = { 0.9, 0.6715, 0.0 },
+ Fade = 1.5,
+ Period = period,
+ Resolution = 320
+ },
Tag = { "earth_satellite", "SNPP" },
GUI = {
Name = "SNPP Trail",
@@ -71,27 +71,27 @@ asset.onInitialize(function ()
Parent = SNPP.Identifier,
Renderable = {
- Enabled = false,
- Type = "RenderableLabels",
- LabelText = "SNPP",
- FontSize = 100.0,
- LabelSize = 4.0,
- LabelMaxSize = 100.0,
- LabelMinSize = 1.0,
- LabelOrientationOption = "Camera View Direction",
- BlendMode = "Additive",
- EnableFading = true,
- FadeStartUnit = "au",
- FadeStartDistance = 0.15,
- FadeStartSpeed = 1.0,
- FadeEndUnit = "au",
- FadeEndDistance = 15.0,
- FadeEndSpeed = 25.0
+ Enabled = false,
+ Type = "RenderableLabels",
+ LabelText = "SNPP",
+ FontSize = 100.0,
+ LabelSize = 4.0,
+ LabelMaxSize = 100.0,
+ LabelMinSize = 1.0,
+ LabelOrientationOption = "Camera View Direction",
+ BlendMode = "Additive",
+ EnableFading = true,
+ FadeStartUnit = "au",
+ FadeStartDistance = 0.15,
+ FadeStartSpeed = 1.0,
+ FadeEndUnit = "au",
+ FadeEndDistance = 15.0,
+ FadeEndSpeed = 25.0
},
Tag = { "solarsystem_labels" },
GUI = {
- Name = "SNPP Label",
- Path = "/Solar System/Planets/Earth"
+ Name = "SNPP Label",
+ Path = "/Solar System/Planets/Earth"
}
}
@@ -113,11 +113,11 @@ end)
asset.meta = {
- Name = "SNPP",
- Version = "1.0",
- Description = [[ Trail for SNPP. trail from
- CELESTRAK. Can be used in conjunction with VIIRS SNPP (Temporal) layer for Earth.]],
- Author = "OpenSpace Team",
- URL = "https://celestrak.com/",
- License = "NASA"
+ Name = "SNPP",
+ Version = "1.0",
+ Description = [[ Trail for SNPP. trail from
+ CELESTRAK. Can be used in conjunction with VIIRS SNPP (Temporal) layer for Earth.]],
+ Author = "OpenSpace Team",
+ URL = "https://celestrak.com/",
+ License = "NASA"
}
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/weather/spire.asset b/data/assets/scene/solarsystem/planets/earth/satellites/weather/spire.asset
index 92c25df702..a237421533 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/weather/spire.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/weather/spire.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Spire",
- Url = "http://www.celestrak.com/NORAD/elements/spire.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Spire",
+ Url = "http://www.celestrak.com/NORAD/elements/spire.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/weather/tdrss.asset b/data/assets/scene/solarsystem/planets/earth/satellites/weather/tdrss.asset
index 0ec30cab29..ec271ecb19 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/weather/tdrss.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/weather/tdrss.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Tracking and Data Relay Satellite System (TDRSS)",
- Url = "http://www.celestrak.com/NORAD/elements/tdrss.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Tracking and Data Relay Satellite System (TDRSS)",
+ Url = "http://www.celestrak.com/NORAD/elements/tdrss.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/weather/terra.asset b/data/assets/scene/solarsystem/planets/earth/satellites/weather/terra.asset
index 8b130ebf9b..9065e44536 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/weather/terra.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/weather/terra.asset
@@ -29,9 +29,9 @@ asset.onInitialize(function ()
LineNumber = 1
},
Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "GALACTIC",
- DestinationFrame = "J2000",
+ Type = "SpiceRotation",
+ SourceFrame = "GALACTIC",
+ DestinationFrame = "J2000",
}
},
Tag = { "earth_satellite", "Terra" },
@@ -45,20 +45,20 @@ asset.onInitialize(function ()
Identifier = identifier .. "_trail",
Parent = transforms.EarthInertial.Identifier,
Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "TLETranslation",
- Body = identifier,
- Observer = transforms.EarthInertial.Identifier,
- File = path,
- LineNumber = 1,
- RenderBinMode = "PostDeferredTransparent"
- },
- Color = { 0.9, 0.6715, 0.0 },
- Fade = 1.5,
- Period = period,
- Resolution = 320
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "TLETranslation",
+ Body = identifier,
+ Observer = transforms.EarthInertial.Identifier,
+ File = path,
+ LineNumber = 1,
+ RenderBinMode = "PostDeferredTransparent"
},
+ Color = { 0.9, 0.6715, 0.0 },
+ Fade = 1.5,
+ Period = period,
+ Resolution = 320
+ },
Tag = { "earth_satellite", "Terra" },
GUI = {
Name = "Terra Trail",
@@ -71,27 +71,27 @@ asset.onInitialize(function ()
Parent = Terra.Identifier,
Renderable = {
- Enabled = false,
- Type = "RenderableLabels",
- LabelText = "SNPP",
- FontSize = 100.0,
- LabelSize = 4.0,
- LabelMaxSize = 100.0,
- LabelMinSize = 1.0,
- LabelOrientationOption = "Camera View Direction",
- BlendMode = "Additive",
- EnableFading = true,
- FadeStartUnit = "au",
- FadeStartDistance = 0.15,
- FadeStartSpeed = 1.0,
- FadeEndUnit = "au",
- FadeEndDistance = 15.0,
- FadeEndSpeed = 25.0
+ Enabled = false,
+ Type = "RenderableLabels",
+ LabelText = "SNPP",
+ FontSize = 100.0,
+ LabelSize = 4.0,
+ LabelMaxSize = 100.0,
+ LabelMinSize = 1.0,
+ LabelOrientationOption = "Camera View Direction",
+ BlendMode = "Additive",
+ EnableFading = true,
+ FadeStartUnit = "au",
+ FadeStartDistance = 0.15,
+ FadeStartSpeed = 1.0,
+ FadeEndUnit = "au",
+ FadeEndDistance = 15.0,
+ FadeEndSpeed = 25.0
},
Tag = { "solarsystem_labels" },
GUI = {
- Name = "Terra Label",
- Path = "/Solar System/Planets/Earth"
+ Name = "Terra Label",
+ Path = "/Solar System/Planets/Earth"
}
}
@@ -112,11 +112,11 @@ end)
asset.meta = {
- Name = "Terra",
- Version = "1.0",
- Description = [[ Trail for Terra. trail from
+ Name = "Terra",
+ Version = "1.0",
+ Description = [[ Trail for Terra. trail from
CELESTRAK. Can be used in conjuntion with Terra Modis (Temporal) layer for Earth]],
- Author = "OpenSpace Team",
- URL = "https://celestrak.com/",
- License = "NASA"
+ Author = "OpenSpace Team",
+ URL = "https://celestrak.com/",
+ License = "NASA"
}
diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/weather/weather.asset b/data/assets/scene/solarsystem/planets/earth/satellites/weather/weather.asset
index c23e0910b6..e1448013e5 100644
--- a/data/assets/scene/solarsystem/planets/earth/satellites/weather/weather.asset
+++ b/data/assets/scene/solarsystem/planets/earth/satellites/weather/weather.asset
@@ -2,9 +2,9 @@ local assetHelper = asset.require('util/asset_helper')
local shared = asset.require('util/tle_helper')
local group = {
- Title = "Weather",
- Url = "http://www.celestrak.com/NORAD/elements/weather.txt",
- TrailColor = { 0.75, 0.75, 0.35 }
+ Title = "Weather",
+ Url = "http://www.celestrak.com/NORAD/elements/weather.txt",
+ TrailColor = { 0.75, 0.75, 0.35 }
}
local tle = shared.downloadTLEFile(asset, group.Url, group.Title)
diff --git a/data/assets/scene/solarsystem/planets/earth/trail.asset b/data/assets/scene/solarsystem/planets/earth/trail.asset
index 87dc7806fa..39870cc5af 100644
--- a/data/assets/scene/solarsystem/planets/earth/trail.asset
+++ b/data/assets/scene/solarsystem/planets/earth/trail.asset
@@ -5,36 +5,36 @@ asset.require("spice/base")
local EarthTrail = {
- Identifier = "EarthTrail",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "EARTH",
- Observer = "SUN"
- },
- Color = { 0.5, 0.8, 1.0 },
- Period = 365.242,
- Resolution = 1000,
- Tag = { "planetTrail_solarSystem", "planetTrail_terrestrial" }
+ Identifier = "EarthTrail",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "EARTH",
+ Observer = "SUN"
},
- GUI = {
- Name = "Earth Trail",
- Path = "/Solar System/Planets/Earth"
- }
+ Color = { 0.5, 0.8, 1.0 },
+ Period = 365.242,
+ Resolution = 1000,
+ Tag = { "planetTrail_solarSystem", "planetTrail_terrestrial" }
+ },
+ GUI = {
+ Name = "Earth Trail",
+ Path = "/Solar System/Planets/Earth"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { EarthTrail })
asset.meta = {
- Name = "Earth Trail",
- Version = "1.0",
- Description = [[ Trail of Earth as observed by the Sun. Data from NASA Spice (see
- base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"EarthTrail"}
+ Name = "Earth Trail",
+ Version = "1.0",
+ Description = [[ Trail of Earth as observed by the Sun. Data from NASA Spice (see
+ base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"EarthTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/earth/transforms.asset b/data/assets/scene/solarsystem/planets/earth/transforms.asset
index a5b066b7fc..7717c89707 100644
--- a/data/assets/scene/solarsystem/planets/earth/transforms.asset
+++ b/data/assets/scene/solarsystem/planets/earth/transforms.asset
@@ -5,89 +5,89 @@ asset.require("spice/base")
local EarthBarycenter = {
- Identifier = "EarthBarycenter",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "EARTH BARYCENTER",
- Observer = "SUN"
- }
- },
- GUI = {
- Name = "Earth Barycenter",
- Path = "/Solar System/Planets/Earth",
- Hidden = true
+ Identifier = "EarthBarycenter",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "EARTH BARYCENTER",
+ Observer = "SUN"
}
+ },
+ GUI = {
+ Name = "Earth Barycenter",
+ Path = "/Solar System/Planets/Earth",
+ Hidden = true
+ }
}
local EarthCenter = {
- Identifier = "EarthCenter",
- Parent = EarthBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "EARTH",
- Observer = "EARTH BARYCENTER"
- }
- },
- GUI = {
- Name = "Earth Center",
- Path = "/Solar System/Planets/Earth",
- Hidden = true
+ Identifier = "EarthCenter",
+ Parent = EarthBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "EARTH",
+ Observer = "EARTH BARYCENTER"
}
+ },
+ GUI = {
+ Name = "Earth Center",
+ Path = "/Solar System/Planets/Earth",
+ Hidden = true
+ }
}
local EarthInertial = {
- -- The default reference frame for Earth-orbiting satellites
- Identifier = "EarthInertial",
- Parent = EarthCenter.Identifier,
- Transform = {
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "J2000",
- DestinationFrame = "GALACTIC",
- }
- },
- GUI = {
- Name = "Earth Inertial",
- Path = "/Solar System/Planets/Earth",
- Hidden = true
+ -- The default reference frame for Earth-orbiting satellites
+ Identifier = "EarthInertial",
+ Parent = EarthCenter.Identifier,
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "J2000",
+ DestinationFrame = "GALACTIC",
}
+ },
+ GUI = {
+ Name = "Earth Inertial",
+ Path = "/Solar System/Planets/Earth",
+ Hidden = true
+ }
}
local EarthIAU = {
- Identifier = "EarthIAU",
- Parent = EarthCenter.Identifier,
- Transform = {
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_EARTH",
- DestinationFrame = "GALACTIC",
- }
- },
- GUI = {
- Name = "Earth IAU",
- Path = "/Solar System/Planets/Earth",
- Hidden = true
+ Identifier = "EarthIAU",
+ Parent = EarthCenter.Identifier,
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_EARTH",
+ DestinationFrame = "GALACTIC",
}
+ },
+ GUI = {
+ Name = "Earth IAU",
+ Path = "/Solar System/Planets/Earth",
+ Hidden = true
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, {
- EarthBarycenter,
- EarthCenter,
- EarthInertial,
- EarthIAU
+ EarthBarycenter,
+ EarthCenter,
+ EarthInertial,
+ EarthIAU
})
asset.meta = {
- Name = "Earth Transforms",
- Version = "1.0",
- Description = [[ Earth transforms: Earth Barycenter, Earth Center, Earth Inertial,
- Earth IAU. A scene graph node is created for each transform.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"EarthBarycenter", "EarthCenter", "EarthInertial", "EarthIAU"}
+ Name = "Earth Transforms",
+ Version = "1.0",
+ Description = [[ Earth transforms: Earth Barycenter, Earth Center, Earth Inertial,
+ Earth IAU. A scene graph node is created for each transform.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"EarthBarycenter", "EarthCenter", "EarthInertial", "EarthIAU"}
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/callisto/callisto.asset b/data/assets/scene/solarsystem/planets/jupiter/callisto/callisto.asset
index 580e6c72ca..f62b20513d 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/callisto/callisto.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/callisto/callisto.asset
@@ -6,60 +6,60 @@ local kernel = asset.require('../kernels').jup310
local labelsPath = asset.require('../jupiter_globelabels').LabelsPath
local Callisto = {
- Identifier = "Callisto",
- Parent = transforms.JupiterBarycenter.Identifier,
- Transform = {
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_CALLISTO",
- DestinationFrame = "GALACTIC",
- Kernels = kernel
- },
- Translation = {
- Type = "SpiceTranslation",
- Target = "CALLISTO",
- Observer = "JUPITER BARYCENTER",
- Kernels = kernel
- }
+ Identifier = "Callisto",
+ Parent = transforms.JupiterBarycenter.Identifier,
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_CALLISTO",
+ DestinationFrame = "GALACTIC",
+ Kernels = kernel
},
- Renderable = {
- Type = "RenderableGlobe",
- Radii = 2410000,
- SegmentsPerPatch = 64,
- Layers = {},
- Labels = {
- Enable = false,
- FileName = labelsPath .. "/callisto.labels",
- LabelAlignmentOption = "Horizontally", -- or Circularly
- LabelsFontSize = 40.0,
- LabelsSize = 10.5,
- LabelsMinSize = 1.0,
- LabelsMaxSize = 1500.0,
- ProximityEnabled = false,
- LabelsFadeInEnabled = true,
- LabelsFadeOutEnabled = true,
- FadeInStartingDistance = 15000000.0,
- FadeOutStartingDistance = 5000000.0,
- LabelsForceDomeRendering = true,
- LabelsDistanceEPS = 1350000.0,
- LabelsColor = { 1.0, 1.0, 0.0 }
- }
- },
- Tag = { "moon_solarSystem", "moon_giants", "moon_jupiter" },
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons"
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "CALLISTO",
+ Observer = "JUPITER BARYCENTER",
+ Kernels = kernel
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = 2410000,
+ SegmentsPerPatch = 64,
+ Layers = {},
+ Labels = {
+ Enable = false,
+ FileName = labelsPath .. "/callisto.labels",
+ LabelAlignmentOption = "Horizontally", -- or Circularly
+ LabelsFontSize = 40.0,
+ LabelsSize = 10.5,
+ LabelsMinSize = 1.0,
+ LabelsMaxSize = 1500.0,
+ ProximityEnabled = false,
+ LabelsFadeInEnabled = true,
+ LabelsFadeOutEnabled = true,
+ FadeInStartingDistance = 15000000.0,
+ FadeOutStartingDistance = 5000000.0,
+ LabelsForceDomeRendering = true,
+ LabelsDistanceEPS = 1350000.0,
+ LabelsColor = { 1.0, 1.0, 0.0 }
+ }
+ },
+ Tag = { "moon_solarSystem", "moon_giants", "moon_jupiter" },
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Callisto })
asset.meta = {
- Name = "Callisto",
- Version = "1.0",
- Description = [[ Callisto globe with labels.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Callisto"}
+ Name = "Callisto",
+ Version = "1.0",
+ Description = [[ Callisto globe with labels.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Callisto"}
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/callisto/callisto_textures.asset b/data/assets/scene/solarsystem/planets/jupiter/callisto/callisto_textures.asset
index c1d6a77a78..80621e6bee 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/callisto/callisto_textures.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/callisto/callisto_textures.asset
@@ -1,7 +1,7 @@
local TexturesPath = asset.syncedResource({
- Name = "Callisto Textures",
- Type = "HttpSynchronization",
- Identifier = "callisto_textures",
- Version = 1
+ Name = "Callisto Textures",
+ Type = "HttpSynchronization",
+ Identifier = "callisto_textures",
+ Version = 1
})
asset.export("TexturesPath", TexturesPath)
diff --git a/data/assets/scene/solarsystem/planets/jupiter/callisto/default_layers.asset b/data/assets/scene/solarsystem/planets/jupiter/callisto/default_layers.asset
index 3a25007312..2aa008311f 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/callisto/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/callisto/default_layers.asset
@@ -5,16 +5,16 @@ local colorLayer = asset.require(colorLayersPath .. "/callisto_texture")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Callisto.Renderable.Layers.ColorLayers." ..
- colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Callisto.Renderable.Layers.ColorLayers." ..
+ colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Callisto Layers",
- Version = "1.0",
- Description = [[ Default Callisto layers are: Callisto Texture]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Callisto Layers",
+ Version = "1.0",
+ Description = [[ Default Callisto layers are: Callisto Texture]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/callisto/layers/colorlayers/callisto_texture.asset b/data/assets/scene/solarsystem/planets/jupiter/callisto/layers/colorlayers/callisto_texture.asset
index e65a91c782..9cd2d1cf52 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/callisto/layers/colorlayers/callisto_texture.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/callisto/layers/colorlayers/callisto_texture.asset
@@ -2,22 +2,22 @@ local texturesPath = asset.require("./../../callisto_textures").TexturesPath
local globeIdentifier = asset.require("./../../callisto").Callisto.Identifier
local layer = {
- Identifier = "Texture",
- FilePath = texturesPath .. "/callisto.jpg",
+ Identifier = "Texture",
+ FilePath = texturesPath .. "/callisto.jpg",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Callisto Texutre",
- Version = "1.0",
- Description = [[ Default jpg texture for Callisto]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
+ Name = "Callisto Texutre",
+ Version = "1.0",
+ Description = [[ Default jpg texture for Callisto]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/callisto/trail.asset b/data/assets/scene/solarsystem/planets/jupiter/callisto/trail.asset
index 847ae5e43e..898bb93374 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/callisto/trail.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/callisto/trail.asset
@@ -6,37 +6,37 @@ local kernel = asset.require('../kernels').jup310
local CallistoTrail = {
- Identifier = "CallistoTrail",
- Parent = transforms.JupiterBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "CALLISTO",
- Observer = "JUPITER BARYCENTER",
- Kernels = kernel
- },
- Color = { 0.4, 0.3, 0.01 },
- Period = 17.0,
- Resolution = 1000
+ Identifier = "CallistoTrail",
+ Parent = transforms.JupiterBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "CALLISTO",
+ Observer = "JUPITER BARYCENTER",
+ Kernels = kernel
},
- Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_jupiter" },
- GUI = {
- Name = "Callisto Trail",
- Path = "/Solar System/Planets/Jupiter/Moons"
- }
+ Color = { 0.4, 0.3, 0.01 },
+ Period = 17.0,
+ Resolution = 1000
+ },
+ Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_jupiter" },
+ GUI = {
+ Name = "Callisto Trail",
+ Path = "/Solar System/Planets/Jupiter/Moons"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { CallistoTrail })
asset.meta = {
- Name = "Callisto Trail",
- Version = "1.0",
- Description = [[ Trail of Callisto as observed by the Jupiter. Data from NASA Spice
- (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"CallistoTrail"}
+ Name = "Callisto Trail",
+ Version = "1.0",
+ Description = [[ Trail of Callisto as observed by the Jupiter. Data from NASA Spice
+ (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"CallistoTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/default_layers.asset b/data/assets/scene/solarsystem/planets/jupiter/default_layers.asset
index 90e28e7615..7c1ae73f88 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/default_layers.asset
@@ -5,16 +5,16 @@ local colorLayer = asset.require(colorLayersPath .. "/jupiter_texture")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Jupiter.Renderable.Layers.ColorLayers." ..
- colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Jupiter.Renderable.Layers.ColorLayers." ..
+ colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Jupiter Layers",
- Version = "1.0",
- Description = [[ Default Jupiter layers are: Jupiter Texture]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Jupiter Layers",
+ Version = "1.0",
+ Description = [[ Default Jupiter layers are: Jupiter Texture]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/europa/default_layers.asset b/data/assets/scene/solarsystem/planets/jupiter/europa/default_layers.asset
index fb98ba0847..926c4cc1fa 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/europa/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/europa/default_layers.asset
@@ -6,16 +6,16 @@ local colorLayer = asset.require(colorLayersPath .. "/voyager_global_mosaic")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Europa.Renderable.Layers.ColorLayers." ..
- colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Europa.Renderable.Layers.ColorLayers." ..
+ colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Europa Layers",
- Version = "1.0",
- Description = [[ Default Europa layers are: Europa Texture]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Europa Layers",
+ Version = "1.0",
+ Description = [[ Default Europa layers are: Europa Texture]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/europa/europa.asset b/data/assets/scene/solarsystem/planets/jupiter/europa/europa.asset
index d3e29eba08..670ee9c7c8 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/europa/europa.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/europa/europa.asset
@@ -6,60 +6,60 @@ local kernel = asset.require('../kernels').jup310
local labelsPath = asset.require('../jupiter_globelabels').LabelsPath
local Europa = {
- Identifier = "Europa",
- Parent = transforms.JupiterBarycenter.Identifier,
- Transform = {
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_EUROPA",
- DestinationFrame = "GALACTIC",
- Kernels = kernel
- },
- Translation = {
- Type = "SpiceTranslation",
- Target = "EUROPA",
- Observer = "JUPITER BARYCENTER",
- Kernels = kernel
- }
+ Identifier = "Europa",
+ Parent = transforms.JupiterBarycenter.Identifier,
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_EUROPA",
+ DestinationFrame = "GALACTIC",
+ Kernels = kernel
},
- Renderable = {
- Type = "RenderableGlobe",
- Radii = 1560800,
- SegmentsPerPatch = 64,
- Layers = {},
- Labels = {
- Enable = false,
- FileName = labelsPath .. "/europa.labels",
- LabelAlignmentOption = "Horizontally", -- or Circularly
- LabelsFontSize = 40.0,
- LabelsSize = 10.0,
- LabelsMinSize = 1.0,
- LabelsMaxSize = 1500.0,
- ProximityEnabled = false,
- LabelsFadeInEnabled = true,
- LabelsFadeOutEnabled = true,
- FadeInStartingDistance = 8000000.0,
- FadeOutStartingDistance = 5000000.0,
- LabelsForceDomeRendering = true,
- LabelsDistanceEPS = 700000.0,
- LabelsColor = { 1.0, 1.0, 0.0 }
- }
- },
- Tag = { "moon_solarSystem", "moon_giants", "moon_jupiter" },
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons"
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "EUROPA",
+ Observer = "JUPITER BARYCENTER",
+ Kernels = kernel
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = 1560800,
+ SegmentsPerPatch = 64,
+ Layers = {},
+ Labels = {
+ Enable = false,
+ FileName = labelsPath .. "/europa.labels",
+ LabelAlignmentOption = "Horizontally", -- or Circularly
+ LabelsFontSize = 40.0,
+ LabelsSize = 10.0,
+ LabelsMinSize = 1.0,
+ LabelsMaxSize = 1500.0,
+ ProximityEnabled = false,
+ LabelsFadeInEnabled = true,
+ LabelsFadeOutEnabled = true,
+ FadeInStartingDistance = 8000000.0,
+ FadeOutStartingDistance = 5000000.0,
+ LabelsForceDomeRendering = true,
+ LabelsDistanceEPS = 700000.0,
+ LabelsColor = { 1.0, 1.0, 0.0 }
+ }
+ },
+ Tag = { "moon_solarSystem", "moon_giants", "moon_jupiter" },
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Europa })
asset.meta = {
- Name = "Mimas",
- Version = "1.0",
- Description = [[ Europa globe with labels.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Europa"}
+ Name = "Mimas",
+ Version = "1.0",
+ Description = [[ Europa globe with labels.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Europa"}
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/europa/europa_textures.asset b/data/assets/scene/solarsystem/planets/jupiter/europa/europa_textures.asset
index ebd8095845..a1eb48b59e 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/europa/europa_textures.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/europa/europa_textures.asset
@@ -1,7 +1,7 @@
local TexturesPath = asset.syncedResource({
- Name = "Europa Textures",
- Type = "HttpSynchronization",
- Identifier = "europa_textures",
- Version = 1
+ Name = "Europa Textures",
+ Type = "HttpSynchronization",
+ Identifier = "europa_textures",
+ Version = 1
})
asset.export("TexturesPath", TexturesPath)
diff --git a/data/assets/scene/solarsystem/planets/jupiter/europa/layers/colorlayers/europa_texture.asset b/data/assets/scene/solarsystem/planets/jupiter/europa/layers/colorlayers/europa_texture.asset
index 45c9eedce5..ed5e691509 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/europa/layers/colorlayers/europa_texture.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/europa/layers/colorlayers/europa_texture.asset
@@ -2,22 +2,22 @@ local texturesPath = asset.require("./../../europa_textures").TexturesPath
local globeIdentifier = asset.require("./../../europa").Europa.Identifier
local layer = {
- Identifier = "Texture",
- FilePath = texturesPath .. "/europa.jpg",
+ Identifier = "Texture",
+ FilePath = texturesPath .. "/europa.jpg",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Europa Texutre",
- Version = "1.0",
- Description = [[ Default jpg texture for Europa]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Europa Texutre",
+ Version = "1.0",
+ Description = [[ Default jpg texture for Europa]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/europa/layers/colorlayers/voyager_global_mosaic.asset b/data/assets/scene/solarsystem/planets/jupiter/europa/layers/colorlayers/voyager_global_mosaic.asset
index 6438fe1b5b..2fc9a355b5 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/europa/layers/colorlayers/voyager_global_mosaic.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/europa/layers/colorlayers/voyager_global_mosaic.asset
@@ -2,34 +2,34 @@ local map_service_configs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../europa").Europa.Identifier
local layer = {
- Identifier = "Voyager_Global_Mosaic",
- Name = "Voyager Global Mosaic [Sweden]",
- FilePath = map_service_configs .. "/LiU/Voyager_GalileoSSI_global_mosaic_500m.wms",
- BlendMode = "Color",
+ Identifier = "Voyager_Global_Mosaic",
+ Name = "Voyager Global Mosaic [Sweden]",
+ FilePath = map_service_configs .. "/LiU/Voyager_GalileoSSI_global_mosaic_500m.wms",
+ BlendMode = "Color",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Voyager Global Mosaic",
- Version = "1.0",
- Description = [[ Europa Voyager - Galileo SSI Global Mosaic 500m v2. This global map
- base of Europa utilizes the best image quality and moderate resolution coverage
- supplied by the Galileo SSI (Solid-State Imaging) instrument and Voyager 1 and 2.
- The image data was selected on the basis of overall image quality, reasonable
- input resolution (from 20 km/pixel for gap fill to as high as 200 meters per
- pixel[m]), and availability of moderate viewing and sun angles for topography.
- The map projections are based on a sphere having a radius of 1,562.09 kilometers.
- A Simple Cylindrical projection was used at a resolution of 500 m. (Description
- from URL)]],
- Author = "USGS",
- URL = "https://astrogeology.usgs.gov/search/map/Europa/Voyager-Galileo/" ..
- "Europa_Voyager_GalileoSSI_global_mosaic_500m",
- License = "NASA/PDS",
- Identifiers = {"Voyager_Global_Mosaic"}
+ Name = "Voyager Global Mosaic",
+ Version = "1.0",
+ Description = [[ Europa Voyager - Galileo SSI Global Mosaic 500m v2. This global map
+ base of Europa utilizes the best image quality and moderate resolution coverage
+ supplied by the Galileo SSI (Solid-State Imaging) instrument and Voyager 1 and 2.
+ The image data was selected on the basis of overall image quality, reasonable
+ input resolution (from 20 km/pixel for gap fill to as high as 200 meters per
+ pixel[m]), and availability of moderate viewing and sun angles for topography.
+ The map projections are based on a sphere having a radius of 1,562.09 kilometers.
+ A Simple Cylindrical projection was used at a resolution of 500 m. (Description
+ from URL)]],
+ Author = "USGS",
+ URL = "https://astrogeology.usgs.gov/search/map/Europa/Voyager-Galileo/" ..
+ "Europa_Voyager_GalileoSSI_global_mosaic_500m",
+ License = "NASA/PDS",
+ Identifiers = {"Voyager_Global_Mosaic"}
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/europa/trail.asset b/data/assets/scene/solarsystem/planets/jupiter/europa/trail.asset
index 7ed601c78a..3ceac18c53 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/europa/trail.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/europa/trail.asset
@@ -6,37 +6,37 @@ local kernel = asset.require('../kernels').jup310
local EuropaTrail = {
- Identifier = "EuropaTrail",
- Parent = transforms.JupiterBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "EUROPA",
- Observer = "JUPITER BARYCENTER",
- Kernels = kernel
- },
- Color = { 0.5, 0.3, 0.3 },
- Period = 85.0 / 24.0,
- Resolution = 1000
+ Identifier = "EuropaTrail",
+ Parent = transforms.JupiterBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "EUROPA",
+ Observer = "JUPITER BARYCENTER",
+ Kernels = kernel
},
- Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_jupiter" },
- GUI = {
- Name = "Europa Trail",
- Path = "/Solar System/Planets/Jupiter/Moons"
- }
+ Color = { 0.5, 0.3, 0.3 },
+ Period = 85.0 / 24.0,
+ Resolution = 1000
+ },
+ Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_jupiter" },
+ GUI = {
+ Name = "Europa Trail",
+ Path = "/Solar System/Planets/Jupiter/Moons"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { EuropaTrail })
asset.meta = {
- Name = "Europa Trail",
- Version = "1.0",
- Description = [[ Trail of Europa as observed by the Jupiter. Data from NASA Spice (see
- base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"EuropaTrail"}
+ Name = "Europa Trail",
+ Version = "1.0",
+ Description = [[ Trail of Europa as observed by the Jupiter. Data from NASA Spice (see
+ base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"EuropaTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/ganymede/default_layers.asset b/data/assets/scene/solarsystem/planets/jupiter/ganymede/default_layers.asset
index 28575c7e7c..b44fbbb498 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/ganymede/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/ganymede/default_layers.asset
@@ -5,16 +5,16 @@ local colorLayer = asset.require(colorLayersPath .. "/ganymede_texture")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Ganymede.Renderable.Layers.ColorLayers." ..
- colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Ganymede.Renderable.Layers.ColorLayers." ..
+ colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Ganymede Layers",
- Version = "1.0",
- Description = [[ Default Ganymede layers are: Ganymede Texture]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Ganymede Layers",
+ Version = "1.0",
+ Description = [[ Default Ganymede layers are: Ganymede Texture]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/ganymede/ganymede.asset b/data/assets/scene/solarsystem/planets/jupiter/ganymede/ganymede.asset
index 0e53d189d1..182b8751e9 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/ganymede/ganymede.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/ganymede/ganymede.asset
@@ -6,60 +6,60 @@ local kernel = asset.require('../kernels').jup310
local labelsPath = asset.require('../jupiter_globelabels').LabelsPath
local Ganymede = {
- Identifier = "Ganymede",
- Parent = transforms.JupiterBarycenter.Identifier,
- Transform = {
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_GANYMEDE",
- DestinationFrame = "GALACTIC",
- Kernels = kernel
- },
- Translation = {
- Type = "SpiceTranslation",
- Target = "GANYMEDE",
- Observer = "JUPITER BARYCENTER",
- Kernels = kernel
- }
+ Identifier = "Ganymede",
+ Parent = transforms.JupiterBarycenter.Identifier,
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_GANYMEDE",
+ DestinationFrame = "GALACTIC",
+ Kernels = kernel
},
- Renderable = {
- Type = "RenderableGlobe",
- Radii = 2631000,
- SegmentsPerPatch = 64,
- Layers = {},
- Labels = {
- Enable = false,
- FileName = labelsPath .. "/ganymede.labels",
- LabelAlignmentOption = "Horizontally", -- or Circularly
- LabelsFontSize = 40.0,
- LabelsSize = 10.5,
- LabelsMinSize = 1.0,
- LabelsMaxSize = 1500.0,
- ProximityEnabled = false,
- LabelsFadeInEnabled = true,
- LabelsFadeOutEnabled = true,
- FadeInStartingDistance = 8000000.0,
- FadeOutStartingDistance = 2250000.0,
- LabelsForceDomeRendering = true,
- LabelsDistanceEPS = 1750000.0,
- LabelsColor = {1.0, 1.0, 0.0}
- }
- },
- Tag = { "moon_solarSystem", "moon_giants", "moon_jupiter" },
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons"
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "GANYMEDE",
+ Observer = "JUPITER BARYCENTER",
+ Kernels = kernel
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = 2631000,
+ SegmentsPerPatch = 64,
+ Layers = {},
+ Labels = {
+ Enable = false,
+ FileName = labelsPath .. "/ganymede.labels",
+ LabelAlignmentOption = "Horizontally", -- or Circularly
+ LabelsFontSize = 40.0,
+ LabelsSize = 10.5,
+ LabelsMinSize = 1.0,
+ LabelsMaxSize = 1500.0,
+ ProximityEnabled = false,
+ LabelsFadeInEnabled = true,
+ LabelsFadeOutEnabled = true,
+ FadeInStartingDistance = 8000000.0,
+ FadeOutStartingDistance = 2250000.0,
+ LabelsForceDomeRendering = true,
+ LabelsDistanceEPS = 1750000.0,
+ LabelsColor = {1.0, 1.0, 0.0}
+ }
+ },
+ Tag = { "moon_solarSystem", "moon_giants", "moon_jupiter" },
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Ganymede })
asset.meta = {
- Name = "Ganymede",
- Version = "1.0",
- Description = [[ Ganymede globe with labels.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Ganymede"}
+ Name = "Ganymede",
+ Version = "1.0",
+ Description = [[ Ganymede globe with labels.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Ganymede"}
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/ganymede/ganymede_textures.asset b/data/assets/scene/solarsystem/planets/jupiter/ganymede/ganymede_textures.asset
index e96a231214..e27f858103 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/ganymede/ganymede_textures.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/ganymede/ganymede_textures.asset
@@ -1,7 +1,7 @@
local TexturesPath = asset.syncedResource({
- Name = "Ganymede Textures",
- Type = "HttpSynchronization",
- Identifier = "ganymede_textures",
- Version = 1
+ Name = "Ganymede Textures",
+ Type = "HttpSynchronization",
+ Identifier = "ganymede_textures",
+ Version = 1
})
asset.export("TexturesPath", TexturesPath)
diff --git a/data/assets/scene/solarsystem/planets/jupiter/ganymede/layers/colorlayers/ganymede_texture.asset b/data/assets/scene/solarsystem/planets/jupiter/ganymede/layers/colorlayers/ganymede_texture.asset
index dbd3d147ec..6cddc4d319 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/ganymede/layers/colorlayers/ganymede_texture.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/ganymede/layers/colorlayers/ganymede_texture.asset
@@ -2,22 +2,22 @@ local texturesPath = asset.require("./../../ganymede_textures").TexturesPath
local globeIdentifier = asset.require("./../../ganymede").Ganymede.Identifier
local layer = {
- Identifier = "Texture",
- FilePath = texturesPath .. "/ganymede.jpg",
+ Identifier = "Texture",
+ FilePath = texturesPath .. "/ganymede.jpg",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Ganymede Texutre",
- Version = "1.0",
- Description = [[ Default jpg texture for Ganymede]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Ganymede Texutre",
+ Version = "1.0",
+ Description = [[ Default jpg texture for Ganymede]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/ganymede/trail.asset b/data/assets/scene/solarsystem/planets/jupiter/ganymede/trail.asset
index e0b7a0eefd..c8b3a37e20 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/ganymede/trail.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/ganymede/trail.asset
@@ -6,37 +6,37 @@ local kernel = asset.require('../kernels').jup310
local GanymedeTrail = {
- Identifier = "GanymedeTrail",
- Parent = transforms.JupiterBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "GANYMEDE",
- Observer = "JUPITER BARYCENTER",
- Kernels = kernel
- },
- Color = { 0.4, 0.3, 0.3 },
- Period = 172.0 / 24.0,
- Resolution = 1000
+ Identifier = "GanymedeTrail",
+ Parent = transforms.JupiterBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "GANYMEDE",
+ Observer = "JUPITER BARYCENTER",
+ Kernels = kernel
},
- Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_jupiter" },
- GUI = {
- Name = "Ganymede Trail",
- Path = "/Solar System/Planets/Jupiter/Moons"
- }
+ Color = { 0.4, 0.3, 0.3 },
+ Period = 172.0 / 24.0,
+ Resolution = 1000
+ },
+ Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_jupiter" },
+ GUI = {
+ Name = "Ganymede Trail",
+ Path = "/Solar System/Planets/Jupiter/Moons"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { GanymedeTrail })
asset.meta = {
- Name = "Ganymede Trail",
- Version = "1.0",
- Description = [[ Trail of Ganymede as observed by the Jupiter. Data from NASA Spice
- (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"GanymedeTrail"}
+ Name = "Ganymede Trail",
+ Version = "1.0",
+ Description = [[ Trail of Ganymede as observed by the Jupiter. Data from NASA Spice
+ (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"GanymedeTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/io/default_layers.asset b/data/assets/scene/solarsystem/planets/jupiter/io/default_layers.asset
index 88ea13de9c..e1d9a5cc67 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/io/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/io/default_layers.asset
@@ -5,16 +5,16 @@ local colorLayer = asset.require(colorLayersPath .. "/io_texture")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Io.Renderable.Layers.ColorLayers." ..
- colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Io.Renderable.Layers.ColorLayers." ..
+ colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Io Layers",
- Version = "1.0",
- Description = [[ Default Io layers are: Io Texture]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Io Layers",
+ Version = "1.0",
+ Description = [[ Default Io layers are: Io Texture]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/io/io.asset b/data/assets/scene/solarsystem/planets/jupiter/io/io.asset
index 20f2d5a2b6..50e84eaa6a 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/io/io.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/io/io.asset
@@ -6,60 +6,60 @@ local kernel = asset.require('../kernels').jup310
local labelsPath = asset.require('../jupiter_globelabels').LabelsPath
local Io = {
- Identifier = "Io",
- Parent = transforms.JupiterBarycenter.Identifier,
- Transform = {
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_IO",
- DestinationFrame = "GALACTIC",
- Kernels = kernel
- },
- Translation = {
- Type = "SpiceTranslation",
- Target = "IO",
- Observer = "JUPITER BARYCENTER",
- Kernels = kernel
- }
+ Identifier = "Io",
+ Parent = transforms.JupiterBarycenter.Identifier,
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_IO",
+ DestinationFrame = "GALACTIC",
+ Kernels = kernel
},
- Renderable = {
- Type = "RenderableGlobe",
- Radii = 1821600,
- SegmentsPerPatch = 64,
- Layers = {},
- Labels = {
- Enable = false,
- FileName = labelsPath .. "/io.labels",
- LabelAlignmentOption = "Horizontally", -- or Circularly
- LabelsFontSize = 40.0,
- LabelsSize = 10.0,
- LabelsMinSize = 1.0,
- LabelsMaxSize = 1500.0,
- ProximityEnabled = false,
- LabelsFadeInEnabled = true,
- LabelsFadeOutEnabled = true,
- FadeInStartingDistance = 8500000.0,
- FadeOutStartingDistance = 4000000.0,
- LabelsForceDomeRendering = true,
- LabelsDistanceEPS = 1000000.0,
- LabelsColor = { 1.0, 1.0, 0.0 }
- }
- },
- Tag = { "moon_solarSystem", "moon_giants", "moon_jupiter" },
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons"
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "IO",
+ Observer = "JUPITER BARYCENTER",
+ Kernels = kernel
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = 1821600,
+ SegmentsPerPatch = 64,
+ Layers = {},
+ Labels = {
+ Enable = false,
+ FileName = labelsPath .. "/io.labels",
+ LabelAlignmentOption = "Horizontally", -- or Circularly
+ LabelsFontSize = 40.0,
+ LabelsSize = 10.0,
+ LabelsMinSize = 1.0,
+ LabelsMaxSize = 1500.0,
+ ProximityEnabled = false,
+ LabelsFadeInEnabled = true,
+ LabelsFadeOutEnabled = true,
+ FadeInStartingDistance = 8500000.0,
+ FadeOutStartingDistance = 4000000.0,
+ LabelsForceDomeRendering = true,
+ LabelsDistanceEPS = 1000000.0,
+ LabelsColor = { 1.0, 1.0, 0.0 }
+ }
+ },
+ Tag = { "moon_solarSystem", "moon_giants", "moon_jupiter" },
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Io })
asset.meta = {
- Name = "Io",
- Version = "1.0",
- Description = [[ Io globe with labels.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Io"}
+ Name = "Io",
+ Version = "1.0",
+ Description = [[ Io globe with labels.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Io"}
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/io/io_textures.asset b/data/assets/scene/solarsystem/planets/jupiter/io/io_textures.asset
index e6d7b81991..36b55fdc1e 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/io/io_textures.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/io/io_textures.asset
@@ -1,7 +1,7 @@
local TexturesPath = asset.syncedResource({
- Name = "Io Textures",
- Type = "HttpSynchronization",
- Identifier = "io_textures",
- Version = 1
+ Name = "Io Textures",
+ Type = "HttpSynchronization",
+ Identifier = "io_textures",
+ Version = 1
})
asset.export("TexturesPath", TexturesPath)
diff --git a/data/assets/scene/solarsystem/planets/jupiter/io/layers/colorlayers/io_texture.asset b/data/assets/scene/solarsystem/planets/jupiter/io/layers/colorlayers/io_texture.asset
index efa39f0b3d..1e7eb5517e 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/io/layers/colorlayers/io_texture.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/io/layers/colorlayers/io_texture.asset
@@ -2,22 +2,22 @@ local texturesPath = asset.require("./../../io_textures").TexturesPath
local globeIdentifier = asset.require("./../../io").Io.Identifier
local layer = {
- Identifier = "Texture",
- FilePath = texturesPath .. "/io.jpg",
+ Identifier = "Texture",
+ FilePath = texturesPath .. "/io.jpg",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Io Texutre",
- Version = "1.0",
- Description = [[ Default jpg texture for Io]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Io Texutre",
+ Version = "1.0",
+ Description = [[ Default jpg texture for Io]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/io/trail.asset b/data/assets/scene/solarsystem/planets/jupiter/io/trail.asset
index b05d0b488e..63dcfd15d5 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/io/trail.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/io/trail.asset
@@ -6,37 +6,37 @@ local kernel = asset.require('../kernels').jup310
local IoTrail = {
- Identifier = "IoTrail",
- Parent = transforms.JupiterBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "IO",
- Observer = "JUPITER BARYCENTER",
- Kernels = kernel
- },
- Color = { 0.4, 0.4, 0.2 },
- Period = 42.0 / 24.0,
- Resolution = 1000
+ Identifier = "IoTrail",
+ Parent = transforms.JupiterBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "IO",
+ Observer = "JUPITER BARYCENTER",
+ Kernels = kernel
},
- Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_jupiter" },
- GUI = {
- Name = "Io Trail",
- Path = "/Solar System/Planets/Jupiter/Moons"
- }
+ Color = { 0.4, 0.4, 0.2 },
+ Period = 42.0 / 24.0,
+ Resolution = 1000
+ },
+ Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_jupiter" },
+ GUI = {
+ Name = "Io Trail",
+ Path = "/Solar System/Planets/Jupiter/Moons"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { IoTrail })
asset.meta = {
- Name = "Io Trail",
- Version = "1.0",
- Description = [[ Trail of Io as observed by the Jupiter. Data from NASA Spice (see
- base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"IoTrail"}
+ Name = "Io Trail",
+ Version = "1.0",
+ Description = [[ Trail of Io as observed by the Jupiter. Data from NASA Spice (see
+ base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"IoTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/jupiter.asset b/data/assets/scene/solarsystem/planets/jupiter/jupiter.asset
index 80f4bbd695..c24a8d9789 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/jupiter.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/jupiter.asset
@@ -4,68 +4,68 @@ asset.require("spice/base")
asset.require('./trail')
local Jupiter = {
- Identifier = "Jupiter",
- Parent = transforms.JupiterBarycenter.Identifier,
- Transform = {
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_JUPITER",
- DestinationFrame = "GALACTIC"
- }
- },
- Renderable = {
- Type = "RenderableGlobe",
- Radii = { 71492000.0, 71492000.0, 66854000.0 },
- SegmentsPerPatch = 64,
- Layers = {},
- ShadowGroup = {
- Sources = {
- { Name = "Sun", Radius = 696.3E6 },
- },
- Casters = {
- { Name = "Ganymede", Radius = 2631000 },
- { Name = "Io", Radius = 1821600 },
- { Name = "Europa", Radius = 1560800 },
- { Name = "Callisto", Radius = 2410000 }
- }
- }
- },
- Tag = { "planet_solarSystem", "planet_giants" },
- GUI = {
- Path = "/Solar System/Planets/Jupiter"
+ Identifier = "Jupiter",
+ Parent = transforms.JupiterBarycenter.Identifier,
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_JUPITER",
+ DestinationFrame = "GALACTIC"
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = { 71492000.0, 71492000.0, 66854000.0 },
+ SegmentsPerPatch = 64,
+ Layers = {},
+ ShadowGroup = {
+ Sources = {
+ { Name = "Sun", Radius = 696.3E6 },
+ },
+ Casters = {
+ { Name = "Ganymede", Radius = 2631000 },
+ { Name = "Io", Radius = 1821600 },
+ { Name = "Europa", Radius = 1560800 },
+ { Name = "Callisto", Radius = 2410000 }
+ }
+ }
+ },
+ Tag = { "planet_solarSystem", "planet_giants" },
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter"
+ }
}
local JupiterLabel = {
- Identifier = "JupiterLabel",
- Parent = Jupiter.Identifier,
- Renderable = {
- Enabled = false,
- Type = "RenderableLabels",
- LabelText = "Jupiter",
- FontSize = 100.0,
- LabelSize = 8.6,
- LabelMaxSize = 100.0,
- LabelMinSize = 1.0,
- LabelOrientationOption = "Camera View Direction",
- BlendMode = "Additive"
- },
- Tag = { "solarsystem_labels" },
- GUI = {
- Name = "Jupiter Label",
- Path = "/Solar System/Planets/Jupiter"
- }
+ Identifier = "JupiterLabel",
+ Parent = Jupiter.Identifier,
+ Renderable = {
+ Enabled = false,
+ Type = "RenderableLabels",
+ LabelText = "Jupiter",
+ FontSize = 100.0,
+ LabelSize = 8.6,
+ LabelMaxSize = 100.0,
+ LabelMinSize = 1.0,
+ LabelOrientationOption = "Camera View Direction",
+ BlendMode = "Additive"
+ },
+ Tag = { "solarsystem_labels" },
+ GUI = {
+ Name = "Jupiter Label",
+ Path = "/Solar System/Planets/Jupiter"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Jupiter, JupiterLabel })
asset.meta = {
- Name = "Jupiter",
- Version = "1.0",
- Description = [[ Jupiter globe, and main planet label.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Jupiter", "JupiterLabel"}
+ Name = "Jupiter",
+ Version = "1.0",
+ Description = [[ Jupiter globe, and main planet label.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Jupiter", "JupiterLabel"}
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/jupiter_globelabels.asset b/data/assets/scene/solarsystem/planets/jupiter/jupiter_globelabels.asset
index 92fbf9efea..c13b0b0f4b 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/jupiter_globelabels.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/jupiter_globelabels.asset
@@ -1,7 +1,7 @@
local LabelsPath = asset.syncedResource({
- Name = "Callisto Labels",
- Type = "HttpSynchronization",
- Identifier = "jupiter_labels",
- Version = 1
+ Name = "Callisto Labels",
+ Type = "HttpSynchronization",
+ Identifier = "jupiter_labels",
+ Version = 1
})
asset.export("LabelsPath", LabelsPath)
diff --git a/data/assets/scene/solarsystem/planets/jupiter/jupiter_textures.asset b/data/assets/scene/solarsystem/planets/jupiter/jupiter_textures.asset
index 421670579f..c82f34e5a6 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/jupiter_textures.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/jupiter_textures.asset
@@ -1,7 +1,7 @@
local TexturesPath = asset.syncedResource({
- Name = "Jupiter Textures",
- Type = "HttpSynchronization",
- Identifier = "jupiter_textures",
- Version = 1
+ Name = "Jupiter Textures",
+ Type = "HttpSynchronization",
+ Identifier = "jupiter_textures",
+ Version = 1
})
asset.export("TexturesPath", TexturesPath)
diff --git a/data/assets/scene/solarsystem/planets/jupiter/kernels.asset b/data/assets/scene/solarsystem/planets/jupiter/kernels.asset
index d6346db64d..0a015021b8 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/kernels.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/kernels.asset
@@ -1,8 +1,8 @@
local Kernels = asset.syncedResource({
- Name = "Jupiter Spice Kernels",
- Type = "HttpSynchronization",
- Identifier = "jupiter_kernels",
- Version = 1
+ Name = "Jupiter Spice Kernels",
+ Type = "HttpSynchronization",
+ Identifier = "jupiter_kernels",
+ Version = 1
})
asset.export("jup310", Kernels .. '/jup310.bsp')
@@ -10,10 +10,10 @@ asset.export("jup341", Kernels .. '/jup341.bsp')
asset.meta = {
- Name = "Jupiter Spice Kernels",
- Version = "1.0",
- Description = [[ Generic SPICE kernels for Jupiter.]],
- Author = "OpenSpace Team",
- URL = "https://naif.jpl.nasa.gov/pub/naif/pds/wgc/kernels/spk/",
- License = "NASA"
+ Name = "Jupiter Spice Kernels",
+ Version = "1.0",
+ Description = [[ Generic SPICE kernels for Jupiter.]],
+ Author = "OpenSpace Team",
+ URL = "https://naif.jpl.nasa.gov/pub/naif/pds/wgc/kernels/spk/",
+ License = "NASA"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/layers/colorlayers/jupiter_texture.asset b/data/assets/scene/solarsystem/planets/jupiter/layers/colorlayers/jupiter_texture.asset
index 395196807a..0a9de27073 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/layers/colorlayers/jupiter_texture.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/layers/colorlayers/jupiter_texture.asset
@@ -2,22 +2,22 @@ local texturesPath = asset.require("./../../jupiter_textures").TexturesPath
local globeIdentifier = asset.require("./../../jupiter").Jupiter.Identifier
local layer = {
- Identifier = "Texture",
- FilePath = texturesPath .. "/jupiter.jpg",
+ Identifier = "Texture",
+ FilePath = texturesPath .. "/jupiter.jpg",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Jupiter Texutre",
- Version = "1.0",
- Description = [[ Default jpg texture for Jupiter]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Jupiter Texutre",
+ Version = "1.0",
+ Description = [[ Default jpg texture for Jupiter]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/major_moons.asset b/data/assets/scene/solarsystem/planets/jupiter/major_moons.asset
index 693a481429..196e4d4209 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/major_moons.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/major_moons.asset
@@ -5,11 +5,11 @@ asset.require('./io/io')
asset.meta = {
- Name = "Jupiter Major Moons",
- Version = "1.0",
- Description = [[ Meta asset containing Jupiters major moons: Callisto, Europa,
- Ganymede, and Io]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Jupiter Major Moons",
+ Version = "1.0",
+ Description = [[ Meta asset containing Jupiters major moons: Callisto, Europa,
+ Ganymede, and Io]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/minor/ananke_group.asset b/data/assets/scene/solarsystem/planets/jupiter/minor/ananke_group.asset
index 46078d22eb..b9cfabaede 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/minor/ananke_group.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/minor/ananke_group.asset
@@ -10,218 +10,218 @@ local parentSpice = "JUPITER BARYCENTER"
local tags = { "moon_solarSystem", "moon_giants", "moon_jupiter", "moon_ananke"}
local trailColor = { 0.4, 0.3, 0.01 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_jupiter",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_jupiter",
+ "moonTrail_minor"
}
local anankeGroup = {
- {
- Identifier = "S2010J2",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "552",
- Radii = { 1000, 1000, 1000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2010 J 2",
- Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 588.36,
- Kernels = kernel
+ {
+ Identifier = "S2010J2",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Thelxinoe",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "THELXINOE",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 597.61,
- Kernels = kernel
+ Spice = "552",
+ Radii = { 1000, 1000, 1000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2010 J 2",
+ Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
},
- {
- Identifier = "Euanthe",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "EUANTHE",
- Radii = { 3000, 3000, 3000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 598.09,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 588.36,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Thelxinoe",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Iocaste",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "IOCASTE",
- Radii = { 5000, 5000, 5000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 609.43,
- Kernels = kernel
+ Spice = "THELXINOE",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
},
- {
- Identifier = "S2003J16",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "55068",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2003 J 16",
- Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 610.36,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 597.61,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Euanthe",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Praxidike",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "PRAXIDIKE",
- Radii = { 7000, 7000, 7000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 613.90,
- Kernels = kernel
+ Spice = "EUANTHE",
+ Radii = { 3000, 3000, 3000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
},
- {
- Identifier = "Harpalyke",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "HARPALYKE",
- Radii = { 4000, 4000, 4000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 624.54,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 598.09,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Iocaste",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Mneme",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "MNEME",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 627.48,
- Kernels = kernel
+ Spice = "IOCASTE",
+ Radii = { 5000, 5000, 5000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
},
- {
- Identifier = "Hermippe",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "HERMIPPE",
- Radii = { 4000, 4000, 4000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 629.81,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 609.43,
+ Kernels = kernel
+ },
+ {
+ Identifier = "S2003J16",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Thyone",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "THYONE",
- Radii = { 4000, 4000, 4000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 639.80,
- Kernels = kernel
+ Spice = "55068",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2003 J 16",
+ Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
},
- {
- Identifier = "Ananke",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "ANANKE",
- Radii = { 28000, 28000, 28000 },
- TrailTags = trailTags,
- Tags = tags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 640.38,
- Kernels = kernel
- }
+ TrailColor = trailColor,
+ OrbitPeriod = 610.36,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Praxidike",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "PRAXIDIKE",
+ Radii = { 7000, 7000, 7000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 613.90,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Harpalyke",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "HARPALYKE",
+ Radii = { 4000, 4000, 4000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 624.54,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Mneme",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "MNEME",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 627.48,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Hermippe",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "HERMIPPE",
+ Radii = { 4000, 4000, 4000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 629.81,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Thyone",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "THYONE",
+ Radii = { 4000, 4000, 4000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 639.80,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Ananke",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "ANANKE",
+ Radii = { 28000, 28000, 28000 },
+ TrailTags = trailTags,
+ Tags = tags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Ananke Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 640.38,
+ Kernels = kernel
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
- asset,
- proceduralGlobes.createGlobes(anankeGroup)
+ asset,
+ proceduralGlobes.createGlobes(anankeGroup)
)
asset.meta = {
- Name = "Jupiter Ananke Group Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Jupiter's Ananke Group
- moons: S2010J2, Thelxinoe, Euanthe, Iocaste, S2003J16, Praxidike, Harpalyke,
- Mneme, Hermippe, Thyone, and Ananke. Blank globes
- and SPICE trails are generated for each moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Jupiter Ananke Group Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Jupiter's Ananke Group
+ moons: S2010J2, Thelxinoe, Euanthe, Iocaste, S2003J16, Praxidike, Harpalyke,
+ Mneme, Hermippe, Thyone, and Ananke. Blank globes
+ and SPICE trails are generated for each moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/minor/carme_group.asset b/data/assets/scene/solarsystem/planets/jupiter/minor/carme_group.asset
index bc4338cd11..e6b56d1db4 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/minor/carme_group.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/minor/carme_group.asset
@@ -10,286 +10,286 @@ local parentSpice = "JUPITER BARYCENTER"
local tags = { "moon_solarSystem", "moon_giants", "moon_jupiter", "moon_carme" }
local trailColor = { 0.4, 0.3, 0.01 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_jupiter",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_jupiter",
+ "moonTrail_minor"
}
local carmeGroup = {
- {
- Identifier = "Herse",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "HERSE",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 672.75,
- Kernels = kernel
+ {
+ Identifier = "Herse",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Aitne",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "AITNE",
- Radii = { 3000, 3000, 3000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 679.64,
- Kernels = kernel
+ Spice = "HERSE",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
},
- {
- Identifier = "Kale",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "KALE",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 685.32,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 672.75,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Aitne",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Taygete",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "TAYGETE",
- Radii = { 5000, 5000, 5000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 686.67,
- Kernels = kernel
+ Spice = "AITNE",
+ Radii = { 3000, 3000, 3000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
},
- {
- Identifier = "Chaldene",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "CHALDENE",
- Radii = { 4000, 4000, 4000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 699.33,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 679.64,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Kale",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Erinome",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "ERINOME",
- Radii = { 3000, 3000, 3000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 711.96,
- Kernels = kernel
+ Spice = "KALE",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
},
- {
- Identifier = "Kallichore",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "KALLICHORE",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 717.81,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 685.32,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Taygete",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Kalyke",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "KALYKE",
- Radii = { 5000, 5000, 5000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 721.02,
- Kernels = kernel
+ Spice = "TAYGETE",
+ Radii = { 5000, 5000, 5000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
},
- {
- Identifier = "Pasithee",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "PASITHEE",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 726.93,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 686.67,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Chaldene",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "S2010J1",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "551",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2010 J 1",
- Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 722.83,
- Kernels = kernel
+ Spice = "CHALDENE",
+ Radii = { 4000, 4000, 4000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
},
- {
- Identifier = "Eukelade",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "EUKELADE",
- Radii = { 4000, 4000, 4000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 735.20,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 699.33,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Erinome",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Arche",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "ARCHE",
- Radii = { 3000, 3000, 3000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 746.19,
- Kernels = kernel
+ Spice = "ERINOME",
+ Radii = { 3000, 3000, 3000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
},
- {
- Identifier = "Isonoe",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "ISONOE",
- Radii = { 4000, 4000, 4000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 750.13,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 711.96,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Kallichore",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Carme",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "CARME",
- Radii = { 46000, 46000, 46000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 763.95,
- Kernels = kernel
+ Spice = "KALLICHORE",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
},
- {
- Identifier = "S2003J5",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "557",
- Radii = { 4000, 4000, 4000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2003 J 5",
- Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 758.34,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 717.81,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Kalyke",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
+ Spice = "KALYKE",
+ Radii = { 5000, 5000, 5000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 721.02,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Pasithee",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "PASITHEE",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 726.93,
+ Kernels = kernel
+ },
+ {
+ Identifier = "S2010J1",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "551",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2010 J 1",
+ Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 722.83,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Eukelade",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "EUKELADE",
+ Radii = { 4000, 4000, 4000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 735.20,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Arche",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "ARCHE",
+ Radii = { 3000, 3000, 3000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 746.19,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Isonoe",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "ISONOE",
+ Radii = { 4000, 4000, 4000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 750.13,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Carme",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "CARME",
+ Radii = { 46000, 46000, 46000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 763.95,
+ Kernels = kernel
+ },
+ {
+ Identifier = "S2003J5",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "557",
+ Radii = { 4000, 4000, 4000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2003 J 5",
+ Path = "/Solar System/Planets/Jupiter/Moons/Carme Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 758.34,
+ Kernels = kernel
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
- asset,
- proceduralGlobes.createGlobes(carmeGroup)
+ asset,
+ proceduralGlobes.createGlobes(carmeGroup)
)
asset.meta = {
- Name = "Jupiter Carme Group Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Jupiter's Carme Group
- moons: Herse, Aitne, Kale, Taygete, Chaldene, Erinome, Kallichore, Kalyke,
- Pasithee, S2010J1, Eukelade, Arche, Isonoe, Carme, and S2003J5. Blank globes
- and SPICE trails are generated for each moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Jupiter Carme Group Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Jupiter's Carme Group
+ moons: Herse, Aitne, Kale, Taygete, Chaldene, Erinome, Kallichore, Kalyke,
+ Pasithee, S2010J1, Eukelade, Arche, Isonoe, Carme, and S2003J5. Blank globes
+ and SPICE trails are generated for each moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/minor/carpo_group.asset b/data/assets/scene/solarsystem/planets/jupiter/minor/carpo_group.asset
index 134bc166c1..7fcb8e9cdc 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/minor/carpo_group.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/minor/carpo_group.asset
@@ -10,45 +10,45 @@ local parentSpice = "JUPITER BARYCENTER"
local tags = { "moon_solarSystem", "moon_giants", "moon_jupiter", "moon_carpo" }
local trailColor = { 0.4, 0.3, 0.01 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_jupiter",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_jupiter",
+ "moonTrail_minor"
}
local carpoGroup = {
- {
- Identifier = "Carpo",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "CARPO",
- Radii = { 3000, 3000, 3000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Carpo Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 458.62,
- Kernels = kernel
- }
+ {
+ Identifier = "Carpo",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "CARPO",
+ Radii = { 3000, 3000, 3000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Carpo Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 458.62,
+ Kernels = kernel
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
- asset,
- proceduralGlobes.createGlobes(carpoGroup)
+ asset,
+ proceduralGlobes.createGlobes(carpoGroup)
)
asset.meta = {
- Name = "Jupiter Carpo Group Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Jupiter's Carpo Group
- moons: Carpo. Blank globes and SPICE trails
- are generated for each moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Jupiter Carpo Group Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Jupiter's Carpo Group
+ moons: Carpo. Blank globes and SPICE trails
+ are generated for each moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/minor/himalia_group.asset b/data/assets/scene/solarsystem/planets/jupiter/minor/himalia_group.asset
index 6d95b0614a..fa9117c43c 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/minor/himalia_group.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/minor/himalia_group.asset
@@ -10,114 +10,114 @@ local parentSpice = "JUPITER BARYCENTER"
local tags = { "moon_solarSystem", "moon_giants", "moon_jupiter", "moon_himalia" }
local trailColor = { 0.4, 0.3, 0.01 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_jupiter",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_jupiter",
+ "moonTrail_minor"
}
local himaliaGroup = {
- {
- Identifier = "Leda",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "LEDA",
- Radii = { 16000, 16000, 16000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Himalia Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 240.82,
- Kernels = kernel
+ {
+ Identifier = "Leda",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Himalia",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "HIMALIA",
- Radii = { 170000, 170000, 170000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Himalia Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 250.23,
- Kernels = kernel
+ Spice = "LEDA",
+ Radii = { 16000, 16000, 16000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Himalia Group"
},
- {
- Identifier = "Lysithea",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "LYSITHEA",
- Radii = { 36000, 36000, 36000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Himalia Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 259.89,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 240.82,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Himalia",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Elara",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "ELARA",
- Radii = { 86000, 86000, 86000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Himalia Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 257.62,
- Kernels = kernel
+ Spice = "HIMALIA",
+ Radii = { 170000, 170000, 170000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Himalia Group"
},
- {
- Identifier = "Dia",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- -- Spice = "DIA", -- The Identifier is not correctly registered in the Spice kernel
- Spice = "553",
- Radii = { 4000, 4000, 4000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Himalia Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 287.93,
- Kernels = kernel
- }
+ TrailColor = trailColor,
+ OrbitPeriod = 250.23,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Lysithea",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "LYSITHEA",
+ Radii = { 36000, 36000, 36000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Himalia Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 259.89,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Elara",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "ELARA",
+ Radii = { 86000, 86000, 86000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Himalia Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 257.62,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Dia",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ -- Spice = "DIA", -- The Identifier is not correctly registered in the Spice kernel
+ Spice = "553",
+ Radii = { 4000, 4000, 4000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Himalia Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 287.93,
+ Kernels = kernel
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
- asset,
- proceduralGlobes.createGlobes(himaliaGroup)
+ asset,
+ proceduralGlobes.createGlobes(himaliaGroup)
)
asset.meta = {
- Name = "Jupiter Himalia Group Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Jupiter's Himalia Group
- moons: Leda, Himalia, Lysithea, Elara and Dia. Blank globes and SPICE trails
- are generated for each moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Jupiter Himalia Group Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Jupiter's Himalia Group
+ moons: Leda, Himalia, Lysithea, Elara and Dia. Blank globes and SPICE trails
+ are generated for each moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/minor/inner_group.asset b/data/assets/scene/solarsystem/planets/jupiter/minor/inner_group.asset
index 03a29d37a4..63a0ae8d98 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/minor/inner_group.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/minor/inner_group.asset
@@ -10,81 +10,81 @@ local parentSpice = "JUPITER BARYCENTER"
local tags = { "moon_solarSystem", "moon_giants", "moon_jupiter", "moon_inner" }
local trailColor = { 0.4, 0.3, 0.01 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_jupiter",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_jupiter",
+ "moonTrail_minor"
}
local innerMoons = {
- {
- Identifier = "Metis",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "METIS",
- Radii = { 60000, 40000, 34000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Inner Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.117912037,
- Kernels = kernel
+ {
+ Identifier = "Metis",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Adrastea",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "ADRASTEA",
- Radii = { 20000, 16000, 14000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Inner Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.2982638889,
- Kernels = kernel
+ Spice = "METIS",
+ Radii = { 60000, 40000, 34000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Inner Group"
},
- {
- Identifier = "Amalthea",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "AMALTHEA",
- Radii = { 250000, 146000, 128000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Inner Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.4981828704,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 0.117912037,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Adrastea",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Thebe",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "THEBE",
- Radii = { 116000, 98000, 84000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Inner Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.6745023148,
- Kernels = kernel
- }
+ Spice = "ADRASTEA",
+ Radii = { 20000, 16000, 14000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Inner Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 0.2982638889,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Amalthea",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "AMALTHEA",
+ Radii = { 250000, 146000, 128000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Inner Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 0.4981828704,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Thebe",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "THEBE",
+ Radii = { 116000, 98000, 84000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Inner Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 0.6745023148,
+ Kernels = kernel
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
@@ -94,12 +94,12 @@ assetHelper.registerSceneGraphNodesAndExport(
asset.meta = {
- Name = "Jupiter Inner Group Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Jupiter's Inner Group
- moons: Metis, Adrastea, Amalthea, and Thebe. Blank globes and SPICE trails
- are generated for each moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Jupiter Inner Group Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Jupiter's Inner Group
+ moons: Metis, Adrastea, Amalthea, and Thebe. Blank globes and SPICE trails
+ are generated for each moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/minor/other_groups.asset b/data/assets/scene/solarsystem/planets/jupiter/minor/other_groups.asset
index 172d67e99e..644d959083 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/minor/other_groups.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/minor/other_groups.asset
@@ -10,172 +10,172 @@ local parentSpice = "JUPITER BARYCENTER"
local tags = { "moon_solarSystem", "moon_giants", "moon_jupiter", "moon_other" }
local trailColor = { 0.4, 0.3, 0.01 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_jupiter",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_jupiter",
+ "moonTrail_minor"
}
local otherGroups = {
- {
- Identifier = "S2003J12",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "55066",
- Radii = { 1000, 1000, 1000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2003 J 12",
- Path = "/Solar System/Planets/Jupiter/Moons/Other Groups"
- },
- TrailColor = trailColor,
- OrbitPeriod = 482.69,
- Kernels = kernel
+ {
+ Identifier = "S2003J12",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "S/2003J3",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "55061",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2003 J 3",
- Path = "/Solar System/Planets/Jupiter/Moons/Other Groups"
- },
- TrailColor = trailColor,
- OrbitPeriod = 561.52,
- Kernels = kernel
+ Spice = "55066",
+ Radii = { 1000, 1000, 1000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2003 J 12",
+ Path = "/Solar System/Planets/Jupiter/Moons/Other Groups"
},
- {
- Identifier = "S2011J1",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "55074",
- Radii = { 1000, 1000, 1000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2011 J 1",
- Path = "/Solar System/Planets/Jupiter/Moons/Other Groups"
- },
- TrailColor = trailColor,
- OrbitPeriod = 582.22,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 482.69,
+ Kernels = kernel
+ },
+ {
+ Identifier = "S/2003J3",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "S2003J19",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "55070",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2003 J 19",
- Path = "/Solar System/Planets/Jupiter/Moons/Other Groups"
- },
- TrailColor = trailColor,
- OrbitPeriod = 699.12,
- Kernels = kernel
+ Spice = "55061",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2003 J 3",
+ Path = "/Solar System/Planets/Jupiter/Moons/Other Groups"
},
- {
- Identifier = "S2003J10",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "55065",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2003 J 10",
- Path = "/Solar System/Planets/Jupiter/Moons/Other Groups"
- },
- TrailColor = trailColor,
- OrbitPeriod = 700.13,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 561.52,
+ Kernels = kernel
+ },
+ {
+ Identifier = "S2011J1",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "S2003J23",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "55071",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2003 J 23",
- Path = "/Solar System/Planets/Jupiter/Moons/Other Groups"
- },
- TrailColor = trailColor,
- OrbitPeriod = 700.54,
- Kernels = kernel
+ Spice = "55074",
+ Radii = { 1000, 1000, 1000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2011 J 1",
+ Path = "/Solar System/Planets/Jupiter/Moons/Other Groups"
},
- {
- Identifier = "S2003J9",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "55064",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2003 J 9",
- Path = "/Solar System/Planets/Jupiter/Moons/Other Groups"
- },
- TrailColor = trailColor,
- OrbitPeriod = 752.84,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 582.22,
+ Kernels = kernel
+ },
+ {
+ Identifier = "S2003J19",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "S2003J2",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "55060",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2003 J 2",
- Path = "/Solar System/Planets/Jupiter/Moons/Other Groups"
- },
- TrailColor = trailColor,
- OrbitPeriod = 981.55,
- Kernels = kernel
- }
+ Spice = "55070",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2003 J 19",
+ Path = "/Solar System/Planets/Jupiter/Moons/Other Groups"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 699.12,
+ Kernels = kernel
+ },
+ {
+ Identifier = "S2003J10",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "55065",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2003 J 10",
+ Path = "/Solar System/Planets/Jupiter/Moons/Other Groups"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 700.13,
+ Kernels = kernel
+ },
+ {
+ Identifier = "S2003J23",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "55071",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2003 J 23",
+ Path = "/Solar System/Planets/Jupiter/Moons/Other Groups"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 700.54,
+ Kernels = kernel
+ },
+ {
+ Identifier = "S2003J9",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "55064",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2003 J 9",
+ Path = "/Solar System/Planets/Jupiter/Moons/Other Groups"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 752.84,
+ Kernels = kernel
+ },
+ {
+ Identifier = "S2003J2",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "55060",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2003 J 2",
+ Path = "/Solar System/Planets/Jupiter/Moons/Other Groups"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 981.55,
+ Kernels = kernel
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
- asset,
- proceduralGlobes.createGlobes(otherGroups)
+ asset,
+ proceduralGlobes.createGlobes(otherGroups)
)
asset.meta = {
- Name = "Jupiter Pasiphae Other Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Jupiter's Other Group
- moons: S2003J12, S/2003J3, S2011J1, S2003J19, S2003J10, S2003J23, S2003J9,
- and S2003J2. Blank globes and SPICE trails are generated for each moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Jupiter Pasiphae Other Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Jupiter's Other Group
+ moons: S2003J12, S/2003J3, S2011J1, S2003J19, S2003J10, S2003J23, S2003J9,
+ and S2003J2. Blank globes and SPICE trails are generated for each moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/minor/pasiphae_group.asset b/data/assets/scene/solarsystem/planets/jupiter/minor/pasiphae_group.asset
index 83d827e04c..4576f4e782 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/minor/pasiphae_group.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/minor/pasiphae_group.asset
@@ -10,359 +10,359 @@ local parentSpice = "JUPITER BARYCENTER"
local tags = { "moon_solarSystem", "moon_giants", "moon_jupiter", "moon_pasiphae" }
local trailColor = { 0.4, 0.3, 0.01 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_jupiter",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_jupiter",
+ "moonTrail_minor"
}
local pasiphaeGroup = {
- {
- Identifier = "Euporie",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "EUPORIE",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 538.78,
- Kernels = kernel
+ {
+ Identifier = "Euporie",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "S2003J18",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "555",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2003 J 18",
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 587.38,
- Kernels = kernel
+ Spice = "EUPORIE",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
},
- {
- Identifier = "Helike",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "HELIKE",
- Radii = { 4000, 4000, 4000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 601.40,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 538.78,
+ Kernels = kernel
+ },
+ {
+ Identifier = "S2003J18",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Orthosie",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "ORTHOSIE",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 602.62,
- Kernels = kernel
+ Spice = "555",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2003 J 18",
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
},
- {
- Identifier = "S2016J1",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "554",
- Radii = { 3000, 3000, 3000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2016 J 1",
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 603.83,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 587.38,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Helike",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "S2003J15",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "558",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2003 J 15",
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 699.68,
- Kernels = kernel
+ Spice = "HELIKE",
+ Radii = { 4000, 4000, 4000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
},
- {
- Identifier = "Aoede",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "AOEDE",
- Radii = { 4000, 4000, 4000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 714.66,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 601.40,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Orthosie",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Callirrhoe",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "CALLIRRHOE",
- Radii = { 9000, 9000, 9000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 727.11,
- Kernels = kernel
+ Spice = "ORTHOSIE",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
},
- {
- Identifier = "Eurydome",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "EURYDOME",
- Radii = { 3000, 3000, 3000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 723.36,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 602.62,
+ Kernels = kernel
+ },
+ {
+ Identifier = "S2016J1",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Kore",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "KORE",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 776.02,
- Kernels = kernel
+ Spice = "554",
+ Radii = { 3000, 3000, 3000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2016 J 1",
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
},
- {
- Identifier = "Cyllene",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "CYLLENE",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 731.10,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 603.83,
+ Kernels = kernel
+ },
+ {
+ Identifier = "S2003J15",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "S2011J2",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "556",
- Radii = { 1000, 1000, 1000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2011 J 2",
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 731.32,
- Kernels = kernel
+ Spice = "558",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2003 J 15",
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
},
- {
- Identifier = "S2017J1",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "559",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2017 J 1",
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 734.15,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 699.68,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Aoede",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "S2003J4",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "55062",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2003 J 4",
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 739.29,
- Kernels = kernel
+ Spice = "AOEDE",
+ Radii = { 4000, 4000, 4000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
},
- {
- Identifier = "Pasiphae",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "PASIPHAE",
- Radii = { 60000, 60000, 60000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 739.80,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 714.66,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Callirrhoe",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Hegemone",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "HEGEMONE",
- Radii = { 3000, 3000, 3000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 745.50,
- Kernels = kernel
+ Spice = "CALLIRRHOE",
+ Radii = { 9000, 9000, 9000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
},
- {
- Identifier = "Sinope",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "SINOPE",
- Radii = { 38000, 38000, 38000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 739.33,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 727.11,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Eurydome",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Sponde",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "SPONDE",
- Radii = { 2000, 2000, 2000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 771.60,
- Kernels = kernel
+ Spice = "EURYDOME",
+ Radii = { 3000, 3000, 3000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
},
- {
- Identifier = "Autonoe",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "AUTONOE",
- Radii = { 4000, 4000, 4000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 772.17,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 723.36,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Kore",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Megaclite",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- -- sic: The Identifier in the SPICE kernel is wrong
- Spice = "MAGACLITE",
- Radii = { 5000, 5000, 5000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 792.44,
- Kernels = kernel
- }
+ Spice = "KORE",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 776.02,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Cyllene",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "CYLLENE",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 731.10,
+ Kernels = kernel
+ },
+ {
+ Identifier = "S2011J2",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "556",
+ Radii = { 1000, 1000, 1000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2011 J 2",
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 731.32,
+ Kernels = kernel
+ },
+ {
+ Identifier = "S2017J1",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "559",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2017 J 1",
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 734.15,
+ Kernels = kernel
+ },
+ {
+ Identifier = "S2003J4",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "55062",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2003 J 4",
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 739.29,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Pasiphae",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "PASIPHAE",
+ Radii = { 60000, 60000, 60000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 739.80,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Hegemone",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "HEGEMONE",
+ Radii = { 3000, 3000, 3000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 745.50,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Sinope",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "SINOPE",
+ Radii = { 38000, 38000, 38000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 739.33,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Sponde",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "SPONDE",
+ Radii = { 2000, 2000, 2000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 771.60,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Autonoe",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "AUTONOE",
+ Radii = { 4000, 4000, 4000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 772.17,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Megaclite",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ -- sic: The Identifier in the SPICE kernel is wrong
+ Spice = "MAGACLITE",
+ Radii = { 5000, 5000, 5000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Pasiphae Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 792.44,
+ Kernels = kernel
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
diff --git a/data/assets/scene/solarsystem/planets/jupiter/minor/themisto_group.asset b/data/assets/scene/solarsystem/planets/jupiter/minor/themisto_group.asset
index c493ec9359..0a2299e611 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/minor/themisto_group.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/minor/themisto_group.asset
@@ -10,43 +10,43 @@ local parentSpice = "JUPITER BARYCENTER"
local tags = { "moon_solarSystem", "moon_giants", "moon_jupiter", "moon_themisto" }
local trailColor = { 0.4, 0.3, 0.01 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_jupiter",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_jupiter",
+ "moonTrail_minor"
}
local themistoGroup = {
- {
- Identifier = "Themisto",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "THEMISTO",
- Radii = { 8000, 8000, 8000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Jupiter/Moons/Themisto Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 129.87,
- Kernels = kernel
- }
+ {
+ Identifier = "Themisto",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "THEMISTO",
+ Radii = { 8000, 8000, 8000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Jupiter/Moons/Themisto Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 129.87,
+ Kernels = kernel
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
- asset,
- proceduralGlobes.createGlobes(themistoGroup)
+ asset,
+ proceduralGlobes.createGlobes(themistoGroup)
)
asset.meta = {
- Name = "Jupiter Themisto Group Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Jupiter's Themisto Group
- moons: Themisto. Blank globes and SPICE trails are generated for each moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Jupiter Themisto Group Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Jupiter's Themisto Group
+ moons: Themisto. Blank globes and SPICE trails are generated for each moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/minor_moons.asset b/data/assets/scene/solarsystem/planets/jupiter/minor_moons.asset
index 8c48b6f6ac..f935b5d485 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/minor_moons.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/minor_moons.asset
@@ -9,11 +9,11 @@ asset.require('./minor/themisto_group')
asset.meta = {
- Name = "Jupiter Minor Moons",
- Version = "1.0",
- Description = [[ Meta asset containing eight moon groups: Ananke, Carme, Carpo,
- Himalia, Pasiphae, Themisto, Inner, and Other]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Jupiter Minor Moons",
+ Version = "1.0",
+ Description = [[ Meta asset containing eight moon groups: Ananke, Carme, Carpo,
+ Himalia, Pasiphae, Themisto, Inner, and Other]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/trail.asset b/data/assets/scene/solarsystem/planets/jupiter/trail.asset
index 5e8830cbc7..7f5c7347b1 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/trail.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/trail.asset
@@ -5,36 +5,36 @@ asset.require("spice/base")
local JupiterTrail = {
- Identifier = "JupiterTrail",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "JUPITER BARYCENTER",
- Observer = "SUN"
- },
- Color = { 0.8, 0.7, 0.7 },
- Period = 4330.595,
- Resolution = 1000
+ Identifier = "JupiterTrail",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "JUPITER BARYCENTER",
+ Observer = "SUN"
},
- Tag = { "planetTrail_solarSystem", "planetTrail_giants" },
- GUI = {
- Name = "Jupiter Trail",
- Path = "/Solar System/Planets/Jupiter"
- }
+ Color = { 0.8, 0.7, 0.7 },
+ Period = 4330.595,
+ Resolution = 1000
+ },
+ Tag = { "planetTrail_solarSystem", "planetTrail_giants" },
+ GUI = {
+ Name = "Jupiter Trail",
+ Path = "/Solar System/Planets/Jupiter"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { JupiterTrail })
asset.meta = {
- Name = "Jupiter Trail",
- Version = "1.0",
- Description = [[ Trail of Jupiter as observed by the Sun. Data from NASA Spice (see
- base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"JupiterTrail"}
+ Name = "Jupiter Trail",
+ Version = "1.0",
+ Description = [[ Trail of Jupiter as observed by the Sun. Data from NASA Spice (see
+ base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"JupiterTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/jupiter/trail_earth.asset b/data/assets/scene/solarsystem/planets/jupiter/trail_earth.asset
index 64c2d7798f..50dd1cf706 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/trail_earth.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/trail_earth.asset
@@ -6,37 +6,37 @@ asset.require("spice/base")
local JupiterTrailEarth = {
- Identifier = "JupiterTrailEarth",
- Parent = earthTransforms.EarthBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "JUPITER BARYCENTER",
- Observer = "EARTH"
- },
- Color = { 1.0, 0.5, 0.2 },
- Period = 224.695,
- Resolution = 1000,
- Enabled = false
+ Identifier = "JupiterTrailEarth",
+ Parent = earthTransforms.EarthBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "JUPITER BARYCENTER",
+ Observer = "EARTH"
},
- Tag = { "planetTrail_solarSystem_alt", "planetTrail_terrestrial_alt" },
- GUI = {
- Name = "Jupiter trail from Earth",
- Path = "/Solar System/Planets/Jupiter",
- Hidden = false
- }
+ Color = { 1.0, 0.5, 0.2 },
+ Period = 224.695,
+ Resolution = 1000,
+ Enabled = false
+ },
+ Tag = { "planetTrail_solarSystem_alt", "planetTrail_terrestrial_alt" },
+ GUI = {
+ Name = "Jupiter trail from Earth",
+ Path = "/Solar System/Planets/Jupiter",
+ Hidden = false
+ }
}
asset.meta = {
- Name = "Jupiter Trail from Earth",
- Version = "1.0",
- Description = [[ Trail of Jupiter as observed by the Earth. Data from NASA
- SPICE (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"VenusTrailEarth"}
+ Name = "Jupiter Trail from Earth",
+ Version = "1.0",
+ Description = [[ Trail of Jupiter as observed by the Earth. Data from NASA
+ SPICE (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"VenusTrailEarth"}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { JupiterTrailEarth })
diff --git a/data/assets/scene/solarsystem/planets/jupiter/transforms.asset b/data/assets/scene/solarsystem/planets/jupiter/transforms.asset
index e4795f3afc..28db943e93 100644
--- a/data/assets/scene/solarsystem/planets/jupiter/transforms.asset
+++ b/data/assets/scene/solarsystem/planets/jupiter/transforms.asset
@@ -5,31 +5,31 @@ asset.require("spice/base")
local JupiterBarycenter = {
- Identifier = "JupiterBarycenter",
- Parent = sun_transforms_asset.SolarSystemBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "JUPITER BARYCENTER",
- Observer = "SUN"
- }
- },
- GUI = {
- Name = "Jupiter Barycenter",
- Path = "/Solar System/Planets/Jupiter",
- Hidden = true
+ Identifier = "JupiterBarycenter",
+ Parent = sun_transforms_asset.SolarSystemBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "JUPITER BARYCENTER",
+ Observer = "SUN"
}
+ },
+ GUI = {
+ Name = "Jupiter Barycenter",
+ Path = "/Solar System/Planets/Jupiter",
+ Hidden = true
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { JupiterBarycenter })
asset.meta = {
- Name = "Jupiter Transforms",
- Version = "1.0",
- Description = [[ Jupiter Barycenter transform]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"JupiterBarycenter"}
+ Name = "Jupiter Transforms",
+ Version = "1.0",
+ Description = [[ Jupiter Barycenter transform]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"JupiterBarycenter"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/atmosphere.asset b/data/assets/scene/solarsystem/planets/mars/atmosphere.asset
index ff627cb98a..53d218bf08 100644
--- a/data/assets/scene/solarsystem/planets/mars/atmosphere.asset
+++ b/data/assets/scene/solarsystem/planets/mars/atmosphere.asset
@@ -7,50 +7,50 @@ local Atmosphere = {
Identifier = "MarsAtmosphere",
Parent = transforms.Mars.Identifier,
Renderable = {
- Type = "RenderableAtmosphere",
- -- Atmosphere radius in Km
- AtmosphereHeight = 3463.17495 - 3386.190,
- PlanetRadius = 3386.190,
- PlanetAverageGroundReflectance = 0.1,
- GroundRadianceEmission = 0.37,
- SunIntensity = 13.1,
- MieScatteringExtinctionPropCoefficient = 0.23862,
- Rayleigh = {
- Coefficients = {
- -- Wavelengths are given in 10^-9m
- Wavelengths = { 680, 550, 440 },
- -- Reflection coefficients are given in km^-1
- Scattering = { 19.918E-3, 13.57E-3, 5.75E-3 }
- -- In Rayleigh scattering, the coefficients of
- -- absorption and scattering are the same.
- },
- -- Thichkness of atmosphere if its density were uniform, in Km
- H_R = 10.43979
+ Type = "RenderableAtmosphere",
+ -- Atmosphere radius in Km
+ AtmosphereHeight = 3463.17495 - 3386.190,
+ PlanetRadius = 3386.190,
+ PlanetAverageGroundReflectance = 0.1,
+ GroundRadianceEmission = 0.37,
+ SunIntensity = 13.1,
+ MieScatteringExtinctionPropCoefficient = 0.23862,
+ Rayleigh = {
+ Coefficients = {
+ -- Wavelengths are given in 10^-9m
+ Wavelengths = { 680, 550, 440 },
+ -- Reflection coefficients are given in km^-1
+ Scattering = { 19.918E-3, 13.57E-3, 5.75E-3 }
+ -- In Rayleigh scattering, the coefficients of
+ -- absorption and scattering are the same.
},
- -- Default
- Mie = {
- Coefficients = {
- -- Reflection coefficients are given in km^-1
- Scattering = { 53.61771e-3, 53.61771e-3, 53.61771e-3 },
- -- Extinction coefficients are a fraction of the Scattering coefficients
- Extinction = { 53.61771e-3/0.98979, 53.61771e-3/0.98979, 53.61771e-3/0.98979 }
- },
- -- Mie Height scale (atmosphere thickness for constant density) in Km
- H_M = 3.09526,
- -- Mie Phase Function Value (G e [-1.0, 1.0].
- -- If G = 1.0, Mie phase function = Rayleigh Phase Function)
- G = 0.85
+ -- Thichkness of atmosphere if its density were uniform, in Km
+ H_R = 10.43979
+ },
+ -- Default
+ Mie = {
+ Coefficients = {
+ -- Reflection coefficients are given in km^-1
+ Scattering = { 53.61771e-3, 53.61771e-3, 53.61771e-3 },
+ -- Extinction coefficients are a fraction of the Scattering coefficients
+ Extinction = { 53.61771e-3/0.98979, 53.61771e-3/0.98979, 53.61771e-3/0.98979 }
},
- Debug = {
- -- PreCalculatedTextureScale is a float from 1.0 to N, with N > 0.0 and N in Naturals (i.e., 1, 2, 3, 4, 5....)
- PreCalculatedTextureScale = 1.0,
- SaveCalculatedTextures = false
- }
+ -- Mie Height scale (atmosphere thickness for constant density) in Km
+ H_M = 3.09526,
+ -- Mie Phase Function Value (G e [-1.0, 1.0].
+ -- If G = 1.0, Mie phase function = Rayleigh Phase Function)
+ G = 0.85
+ },
+ Debug = {
+ -- PreCalculatedTextureScale is a float from 1.0 to N, with N > 0.0 and N in Naturals (i.e., 1, 2, 3, 4, 5....)
+ PreCalculatedTextureScale = 1.0,
+ SaveCalculatedTextures = false
+ }
},
GUI = {
- Name = "Mars Atmosphere",
- Path = "/Solar System/Planets/Mars",
- Description = [[ Atmosphere of Mars.]]
+ Name = "Mars Atmosphere",
+ Path = "/Solar System/Planets/Mars",
+ Description = [[ Atmosphere of Mars.]]
}
}
@@ -58,11 +58,11 @@ assetHelper.registerSceneGraphNodesAndExport(asset, { Atmosphere })
asset.meta = {
- Name = "Mars Atmosphere",
- Version = "1.0",
- Description = [[ RenderableAtmosphere for Mars.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"MarsAtmosphere"}
+ Name = "Mars Atmosphere",
+ Version = "1.0",
+ Description = [[ RenderableAtmosphere for Mars.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"MarsAtmosphere"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/default_layers.asset b/data/assets/scene/solarsystem/planets/mars/default_layers.asset
index bfdb18a019..db06a922b2 100644
--- a/data/assets/scene/solarsystem/planets/mars/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/mars/default_layers.asset
@@ -33,20 +33,20 @@ asset.require(overlaysPath .. "/size_reference")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Mars.Renderable.Layers.ColorLayers." ..
- colorLayer.layer.Identifier .. ".Enabled", true)
- openspace.setPropertyValueSingle("Scene.Mars.Renderable.Layers.HeightLayers." ..
- heightLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Mars.Renderable.Layers.ColorLayers." ..
+ colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Mars.Renderable.Layers.HeightLayers." ..
+ heightLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Mars Layers",
- Version = "1.1",
- Description = [[ Default Mars layers are: MOC WA Color, Viking MDIM, MOLA Pseudo
- Color, MOLA HRSC, Themis IR Day, Themis IR Night, CTX Mosaic, CTX Blended
- beta01, HiRISE, and HiRISE Local Set]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Mars Layers",
+ Version = "1.1",
+ Description = [[ Default Mars layers are: MOC WA Color, Viking MDIM, MOLA Pseudo
+ Color, MOLA HRSC, Themis IR Day, Themis IR Night, CTX Mosaic, CTX Blended
+ beta01, HiRISE, and HiRISE Local Set]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/ctx_blended_01.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/ctx_blended_01.asset
index 2ced7b9bcb..bf644867fd 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/ctx_blended_01.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/ctx_blended_01.asset
@@ -2,45 +2,45 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "CTX_blended_01",
- Name = "CTX Blended beta01",
- FilePath = mapServiceConfigs .. "/ESRI/CTX/CTXblended.vrt",
- BlendMode = "Color",
- Settings = {
- Gamma = 2.14,
- Multiplier = 1.54
- },
- Description = [[This product contains CTX data through MRO release 45, CTX mission
- phase J21 (December 1, 2017). The mosaic is comprised of 74,196 separate CTX
- images out of 95,106 available (78.0%). Orbits not included were either (1) low
- signal/noise (increased atmospheric opacity), or (2) redundant coverage (stereo
- targets, change detection, etc.). With low-quality images removed, the mosaic
- covers 97.3% of Mars. The mosaic covers 88°S to 88°N. All data are resampled to
- 5.0 m/px, including 2,334 orbits (3.14%) that are natively higher resolution than
- 5.0 m/px, though no images are higher resolution than 4.93 m/px. The planet was
- divided into 3,960 4°x4° tiles, which are not blended with each other in this
- version. As we describe below, every pixel can be traced to its host orbit through
- vectorized seam-maps that are provided with every tile. These seam-maps provide
- pixel-for-pixel spatial documentation of image seams, to prevent misinterpretation
- of seams as possible landforms and to provide instant access to original data. A
- completely seamless CTX mosaic is currently infeasible, so seam-maps are required
- to prevent misinterpretation. (Description from URL)]],
+ Identifier = "CTX_blended_01",
+ Name = "CTX Blended beta01",
+ FilePath = mapServiceConfigs .. "/ESRI/CTX/CTXblended.vrt",
+ BlendMode = "Color",
+ Settings = {
+ Gamma = 2.14,
+ Multiplier = 1.54
+ },
+ Description = [[This product contains CTX data through MRO release 45, CTX mission
+ phase J21 (December 1, 2017). The mosaic is comprised of 74,196 separate CTX
+ images out of 95,106 available (78.0%). Orbits not included were either (1) low
+ signal/noise (increased atmospheric opacity), or (2) redundant coverage (stereo
+ targets, change detection, etc.). With low-quality images removed, the mosaic
+ covers 97.3% of Mars. The mosaic covers 88°S to 88°N. All data are resampled to
+ 5.0 m/px, including 2,334 orbits (3.14%) that are natively higher resolution than
+ 5.0 m/px, though no images are higher resolution than 4.93 m/px. The planet was
+ divided into 3,960 4°x4° tiles, which are not blended with each other in this
+ version. As we describe below, every pixel can be traced to its host orbit through
+ vectorized seam-maps that are provided with every tile. These seam-maps provide
+ pixel-for-pixel spatial documentation of image seams, to prevent misinterpretation
+ of seams as possible landforms and to provide instant access to original data. A
+ completely seamless CTX mosaic is currently infeasible, so seam-maps are required
+ to prevent misinterpretation. (Description from URL)]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "CTX Blended beta01",
- Version = "1.0",
- Description = [[New blended CTX map for Mars from CalTech Murray lab. This map is
- hosted by ESRI.]],
- Author = "Caltech Murray Lab",
- URL = "http://murray-lab.caltech.edu/CTX/",
- License = "Esri Master License Agreement",
- Identifiers = {"CTX_blended_01"}
+ Name = "CTX Blended beta01",
+ Version = "1.0",
+ Description = [[New blended CTX map for Mars from CalTech Murray lab. This map is
+ hosted by ESRI.]],
+ Author = "Caltech Murray Lab",
+ URL = "http://murray-lab.caltech.edu/CTX/",
+ License = "Esri Master License Agreement",
+ Identifiers = {"CTX_blended_01"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/ctx_mosaic_sweden.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/ctx_mosaic_sweden.asset
index f5113c579d..9b414b1fc3 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/ctx_mosaic_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/ctx_mosaic_sweden.asset
@@ -2,14 +2,14 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "CTX_Mosaic_Sweden",
- Name = "CTX Mosaic [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/CTX.wms",
- BlendMode = "Color"
+ Identifier = "CTX_Mosaic_Sweden",
+ Name = "CTX Mosaic [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/CTX.wms",
+ BlendMode = "Color"
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/ctx_mosaic_utah.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/ctx_mosaic_utah.asset
index 136eb1107a..1b7342a8d1 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/ctx_mosaic_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/ctx_mosaic_utah.asset
@@ -2,14 +2,14 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "CTX_Mosaic_Utah",
- Name = "CTX Mosaic [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/CTX.wms",
- BlendMode = "Color"
+ Identifier = "CTX_Mosaic_Utah",
+ Name = "CTX Mosaic [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/CTX.wms",
+ BlendMode = "Color"
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/fallbacks/mars_texture.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/fallbacks/mars_texture.asset
index d0cdd92783..beb227466d 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/fallbacks/mars_texture.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/fallbacks/mars_texture.asset
@@ -1,19 +1,19 @@
local texturesPath = asset.require("./../../../mars_textures").TexturesPath
local layer = {
- Identifier = "Mars_Texture",
- Name = "Mars Texture",
- FilePath = texturesPath .. "/mars.jpg",
+ Identifier = "Mars_Texture",
+ Name = "Mars Texture",
+ FilePath = texturesPath .. "/mars.jpg",
}
asset.export("layer", layer)
asset.meta = {
- Name = "Mars Texutre",
- Version = "1.0",
- Description = [[ Default jpg texture for Mars]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Mars Texutre",
+ Version = "1.0",
+ Description = [[ Default jpg texture for Mars]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/hirise.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/hirise.asset
index 716e504cca..c3bedbb9a9 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/hirise.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/hirise.asset
@@ -2,41 +2,41 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "HiRISE-PSP",
- Name = "HiRISE",
- FilePath = mapServiceConfigs .. "/ESRI/HiRISE/HiRISE_PSP.vrt",
- BlendMode = "Color",
- Settings = {
- Gamma = 1.0,
- Multiplier = 1.0
- },
- Description = [[This layer is an equatorial uncontrolled composite mosaic of the
- HiRISE imagery, using all available red band images released through 2018. The
- HiRISE instrument, operated by the University of Arizona, is on board NASA's
- 2005 Mars Reconnaissance Orbiter (MRO). While the resolution of the imagery is
- very high, the imagery is somewhat limited in spatial extent, covering only about
- 3% of the plant's surface. The images in this layer are spatially located using
- only the initial spacecraft pointing information. All source images used in the
- construction of this layer were produced by the team at the University of Arizona.
- This tiled web service, as hosted by Esri, is made available using lossy Jpeg
- compression using an 8 bit data range, using a linear stretch from the original
- 10 bit range. (Description from URL)]],
+ Identifier = "HiRISE-PSP",
+ Name = "HiRISE",
+ FilePath = mapServiceConfigs .. "/ESRI/HiRISE/HiRISE_PSP.vrt",
+ BlendMode = "Color",
+ Settings = {
+ Gamma = 1.0,
+ Multiplier = 1.0
+ },
+ Description = [[This layer is an equatorial uncontrolled composite mosaic of the
+ HiRISE imagery, using all available red band images released through 2018. The
+ HiRISE instrument, operated by the University of Arizona, is on board NASA's
+ 2005 Mars Reconnaissance Orbiter (MRO). While the resolution of the imagery is
+ very high, the imagery is somewhat limited in spatial extent, covering only about
+ 3% of the plant's surface. The images in this layer are spatially located using
+ only the initial spacecraft pointing information. All source images used in the
+ construction of this layer were produced by the team at the University of Arizona.
+ This tiled web service, as hosted by Esri, is made available using lossy Jpeg
+ compression using an 8 bit data range, using a linear stretch from the original
+ 10 bit range. (Description from URL)]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "HiRISE",
- Version = "1.0",
- Description = [[Updated HiRISE layer for Mars with raw unselected imagery. This map is
- hosted by ESRI.]],
- Author = "esri_astro",
- URL = "https://www.arcgis.com/home/item.html?id=c1c4c750a2154842ae523c984cc14fa5",
- License = "Esri Master License Agreement",
- Identifiers = {"HiRISE-PSP"}
+ Name = "HiRISE",
+ Version = "1.0",
+ Description = [[Updated HiRISE layer for Mars with raw unselected imagery. This map is
+ hosted by ESRI.]],
+ Author = "esri_astro",
+ URL = "https://www.arcgis.com/home/item.html?id=c1c4c750a2154842ae523c984cc14fa5",
+ License = "Esri Master License Agreement",
+ Identifiers = {"HiRISE-PSP"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/hirisels.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/hirisels.asset
index 1ce80e2d49..5dd9e190c5 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/hirisels.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/hirisels.asset
@@ -2,40 +2,40 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "HiRISE-LS",
- Name = "HiRISE Local Set",
- FilePath = mapServiceConfigs .. "/ESRI/HiRISE/HiRISELS.vrt",
- BlendMode = "Color",
- Description = [[ HiRISE (High Resolution Imaging Science Experiment) is the most
- powerful camera ever sent to another planet, one of six instruments onboard the
- Mars Reconnaissance Orbiter. We launched in 2005, arrived at Mars in 2006 and have
- been imaging ever since. Our camera’s high resolution capability (imaging up to 30
- centimeters per pixel) remains unprecedented for any existing orbiter in the study
- of the Red Planet, as well as being an indispensable instrument for helping to
- select landing sites for robotic and future human exploration. In the past decade,
- we’ve also imaged avalanches in progress, and discovered dark flows that may or
- may not be briny seeps. Hundreds of science papers have been published with our
- data. (Description from URL). This map contains a subet set of the HiRISE
- imagaery, only containing locations where a corresponding HiRISE digital terrain
- model (DTM) was available as of 2018.]],
+ Identifier = "HiRISE-LS",
+ Name = "HiRISE Local Set",
+ FilePath = mapServiceConfigs .. "/ESRI/HiRISE/HiRISELS.vrt",
+ BlendMode = "Color",
+ Description = [[ HiRISE (High Resolution Imaging Science Experiment) is the most
+ powerful camera ever sent to another planet, one of six instruments onboard the
+ Mars Reconnaissance Orbiter. We launched in 2005, arrived at Mars in 2006 and have
+ been imaging ever since. Our camera’s high resolution capability (imaging up to 30
+ centimeters per pixel) remains unprecedented for any existing orbiter in the study
+ of the Red Planet, as well as being an indispensable instrument for helping to
+ select landing sites for robotic and future human exploration. In the past decade,
+ we’ve also imaged avalanches in progress, and discovered dark flows that may or
+ may not be briny seeps. Hundreds of science papers have been published with our
+ data. (Description from URL). This map contains a subet set of the HiRISE
+ imagaery, only containing locations where a corresponding HiRISE digital terrain
+ model (DTM) was available as of 2018.]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "HiRISE Local Set",
- Version = "1.0",
- Description = [[HiRISE layer for images with corresponding DEMs. This map is
- hosted by ESRI.]],
- Author = "USGS",
- URL = "https://www.uahirise.org",
- License = "Esri Master License Agreement",
- Identifiers = {"HiRISE-LS"}
+ Name = "HiRISE Local Set",
+ Version = "1.0",
+ Description = [[HiRISE layer for images with corresponding DEMs. This map is
+ hosted by ESRI.]],
+ Author = "USGS",
+ URL = "https://www.uahirise.org",
+ License = "Esri Master License Agreement",
+ Identifiers = {"HiRISE-LS"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mars_texture.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mars_texture.asset
index fdba12b9bb..125d653a4b 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mars_texture.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mars_texture.asset
@@ -2,24 +2,24 @@ local texturesPath = asset.require("./../../mars_textures").TexturesPath
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "Mars_Texture",
- Name = "Mars Texture",
- FilePath = texturesPath .. "/mars.jpg",
- Description = [[ Default jpg texture for Mars]]
+ Identifier = "Mars_Texture",
+ Name = "Mars Texture",
+ FilePath = texturesPath .. "/mars.jpg",
+ Description = [[ Default jpg texture for Mars]]
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Mars Texutre",
- Version = "1.0",
- Description = [[ Jpg texture for Mars, available for offline use.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Mars Texutre",
+ Version = "1.0",
+ Description = [[ Jpg texture for Mars, available for offline use.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/moc_wa_color_liu.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/moc_wa_color_liu.asset
index f55aa9264b..71cf10ad69 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/moc_wa_color_liu.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/moc_wa_color_liu.asset
@@ -4,34 +4,34 @@ local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local fallbackLayer = asset.require("./fallbacks/mars_texture").layer
local layer = {
- Identifier = "MOC_WA_Color_LiU",
- Name = "MOC WA Color [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Color.wms",
- Settings = {
- Gamma = 1.6,
- Multiplier = 1.07
- },
- Fallback = fallbackLayer,
- Description = [[This map is an AMNH version of the global mossaic produced by the
- Mars Global Surveyor Wide Angle Camera. This version has color added and the
- shadows subdued based on the MOLA DTM. Data Reference:
- https://www.jpl.nasa.gov/spaceimages/details.php?id=PIA03467.]],
+ Identifier = "MOC_WA_Color_LiU",
+ Name = "MOC WA Color [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Color.wms",
+ Settings = {
+ Gamma = 1.6,
+ Multiplier = 1.07
+ },
+ Fallback = fallbackLayer,
+ Description = [[This map is an AMNH version of the global mossaic produced by the
+ Mars Global Surveyor Wide Angle Camera. This version has color added and the
+ shadows subdued based on the MOLA DTM. Data Reference:
+ https://www.jpl.nasa.gov/spaceimages/details.php?id=PIA03467.]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "MOC WA Color [Sweden]",
- Version = "1.0",
- Description = [[Main color map layer for Mars. This map is hosted
- on the OpenSpace server in Sweden.]],
- Author = "OpenSpace Team",
- URL = "http://www.openspaceproject.com",
- License = "NASA/PDS",
- Identifiers = {"MOLA_HRSC_Sweden"}
+ Name = "MOC WA Color [Sweden]",
+ Version = "1.0",
+ Description = [[Main color map layer for Mars. This map is hosted
+ on the OpenSpace server in Sweden.]],
+ Author = "OpenSpace Team",
+ URL = "http://www.openspaceproject.com",
+ License = "NASA/PDS",
+ Identifiers = {"MOLA_HRSC_Sweden"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/moc_wa_color_utah.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/moc_wa_color_utah.asset
index 36f5f9778e..d62edc34ed 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/moc_wa_color_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/moc_wa_color_utah.asset
@@ -4,34 +4,34 @@ local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local fallbackLayer = asset.require("./fallbacks/mars_texture").layer
local layer = {
- Identifier = "MOC_WA_Color_Utah",
- Name = "MOC WA Color [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/Mars_Color.wms",
- Settings = {
- Gamma = 1.6,
- Multiplier = 1.07
- },
- Fallback = fallbackLayer,
- Description = [[This map is an AMNH version of the global mossaic produced by the
- Mars Global Surveyor Wide Angle Camera. This version has color added and the
- shadows subdued based on the MOLA DTM. Data Reference:
- https://www.jpl.nasa.gov/spaceimages/details.php?id=PIA03467]],
+ Identifier = "MOC_WA_Color_Utah",
+ Name = "MOC WA Color [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/Mars_Color.wms",
+ Settings = {
+ Gamma = 1.6,
+ Multiplier = 1.07
+ },
+ Fallback = fallbackLayer,
+ Description = [[This map is an AMNH version of the global mossaic produced by the
+ Mars Global Surveyor Wide Angle Camera. This version has color added and the
+ shadows subdued based on the MOLA DTM. Data Reference:
+ https://www.jpl.nasa.gov/spaceimages/details.php?id=PIA03467]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "MOC WA Color [Utah]",
- Version = "1.0",
- Description = [[Main color map layer for Mars. This map is hosted
- on the OpenSpace server in Utah.]],
- Author = "OpenSpace Team",
- URL = "http://www.openspaceproject.com",
- License = "NASA/PDS",
- Identifiers = {"MOC_WA_Color_Utah"}
+ Name = "MOC WA Color [Utah]",
+ Version = "1.0",
+ Description = [[Main color map layer for Mars. This map is hosted
+ on the OpenSpace server in Utah.]],
+ Author = "OpenSpace Team",
+ URL = "http://www.openspaceproject.com",
+ License = "NASA/PDS",
+ Identifiers = {"MOC_WA_Color_Utah"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mola_hrsc_sweden.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mola_hrsc_sweden.asset
index 07bd5a83f4..d532c11131 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mola_hrsc_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mola_hrsc_sweden.asset
@@ -2,29 +2,29 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "MOLA_HRSC_Sweden",
- Name = "MOLA HRSC [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Mola_HRSC.wms",
- Description = [[ This map layer is colorzied based elevation data from MOLA and HRSC.
- Compared to MOLA Psuedo Color, this layer has no terrain shading, which is
- suitable for use when combing with other layers. Data Reference:
- https://astrogeology.usgs.gov/search/map/Mars/Topography/HRSC_MOLA_Blend/Mars_HRSC_MOLA_BlendDEM_Global_200mp_v2]],
+ Identifier = "MOLA_HRSC_Sweden",
+ Name = "MOLA HRSC [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Mola_HRSC.wms",
+ Description = [[ This map layer is colorzied based elevation data from MOLA and HRSC.
+ Compared to MOLA Psuedo Color, this layer has no terrain shading, which is
+ suitable for use when combing with other layers. Data Reference:
+ https://astrogeology.usgs.gov/search/map/Mars/Topography/HRSC_MOLA_Blend/Mars_HRSC_MOLA_BlendDEM_Global_200mp_v2]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "MOLA HRSC [Sweden]",
- Version = "1.0",
- Description = [[ Colorzied elevation data for Mars. This map is hosted on the
- OpenSpace server in Sweden.]],
- Author = "OpenSpace Team",
- URL = "http://www.openspaceproject.com",
- License = "NASA/PDS",
- Identifiers = {"MOLA_HRSC_Sweden"}
+ Name = "MOLA HRSC [Sweden]",
+ Version = "1.0",
+ Description = [[ Colorzied elevation data for Mars. This map is hosted on the
+ OpenSpace server in Sweden.]],
+ Author = "OpenSpace Team",
+ URL = "http://www.openspaceproject.com",
+ License = "NASA/PDS",
+ Identifiers = {"MOLA_HRSC_Sweden"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mola_hrsc_utah.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mola_hrsc_utah.asset
index 8a65c5510f..faf06c205d 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mola_hrsc_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mola_hrsc_utah.asset
@@ -2,29 +2,29 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "MOLA_HRSC_Utah",
- Name = "MOLA HRSC [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/Mola_HRSC.wms",
- Description = [[ This map layer is colorzied based elevation data from MOLA and HRSC.
- Compared to MOLA Psuedo Color, this layer has no terrain shading, which is
- suitable for use when combing with other layers. Data Reference:
- https://astrogeology.usgs.gov/search/map/Mars/Topography/HRSC_MOLA_Blend/Mars_HRSC_MOLA_BlendDEM_Global_200mp_v2]],
+ Identifier = "MOLA_HRSC_Utah",
+ Name = "MOLA HRSC [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/Mola_HRSC.wms",
+ Description = [[ This map layer is colorzied based elevation data from MOLA and HRSC.
+ Compared to MOLA Psuedo Color, this layer has no terrain shading, which is
+ suitable for use when combing with other layers. Data Reference:
+ https://astrogeology.usgs.gov/search/map/Mars/Topography/HRSC_MOLA_Blend/Mars_HRSC_MOLA_BlendDEM_Global_200mp_v2]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "MOLA HRSC [Utah]",
- Version = "1.0",
- Description = [[ Colorzied elevation data for Mars. This map is hosted on the
- OpenSpace server in Sweden.]],
- Author = "OpenSpace Team",
- URL = "http://www.openspaceproject.com",
- License = "NASA/PDS",
- Identifiers = {"MOLA_HRSC_Sweden"}
+ Name = "MOLA HRSC [Utah]",
+ Version = "1.0",
+ Description = [[ Colorzied elevation data for Mars. This map is hosted on the
+ OpenSpace server in Sweden.]],
+ Author = "OpenSpace Team",
+ URL = "http://www.openspaceproject.com",
+ License = "NASA/PDS",
+ Identifiers = {"MOLA_HRSC_Sweden"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mola_pseudo_color_sweden.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mola_pseudo_color_sweden.asset
index 5420bbcad2..f2595009a5 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mola_pseudo_color_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mola_pseudo_color_sweden.asset
@@ -2,40 +2,40 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "MOLA_Pseudo_Color_Sweden",
- Name = "MOLA Pseudo Color [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Mola_PseudoColor.wms",
- Description = [[This map is based on data from the Mars Orbiter Laser Altimeter (MOLA)
- (Smith, et al., 2001), an instrument on NASA’s Mars Global Surveyor (MGS)
- spacecraft (Albee, et al., 2001). The image used for the base of this map
- represents more than 600 million measurements gathered between 1999 and 2001,
- adjusted for consistency (Neumann, et al., 2001; Neumann, et al., 2003) and
- converted to planetary radii. These have been converted to elevations above the
- areoid as determined from a Martian gravity field solution GMM-2B (Lemoine, et
- al., 2001), truncated to degree and order 50, and oriented according to current
- standards (see below). The average accuracy of each point is originally ~100
- meters in horizontal position and ~1 meter in radius (Neumann, et al., 2001;
- Neumann, et al., 2003). However, the total elevation uncertainty is at least ±3 m
- due to the global error in the areoid (±1.8 meters; Lemoine, et al., 2001) and
- regional uncertainties in its shape (Neumann, 2002). Pixel resolution of this map
- is 463 meters per pixel (m). (Description from URL). Data Reference: (See URL).]],
+ Identifier = "MOLA_Pseudo_Color_Sweden",
+ Name = "MOLA Pseudo Color [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Mola_PseudoColor.wms",
+ Description = [[This map is based on data from the Mars Orbiter Laser Altimeter (MOLA)
+ (Smith, et al., 2001), an instrument on NASA’s Mars Global Surveyor (MGS)
+ spacecraft (Albee, et al., 2001). The image used for the base of this map
+ represents more than 600 million measurements gathered between 1999 and 2001,
+ adjusted for consistency (Neumann, et al., 2001; Neumann, et al., 2003) and
+ converted to planetary radii. These have been converted to elevations above the
+ areoid as determined from a Martian gravity field solution GMM-2B (Lemoine, et
+ al., 2001), truncated to degree and order 50, and oriented according to current
+ standards (see below). The average accuracy of each point is originally ~100
+ meters in horizontal position and ~1 meter in radius (Neumann, et al., 2001;
+ Neumann, et al., 2003). However, the total elevation uncertainty is at least ±3 m
+ due to the global error in the areoid (±1.8 meters; Lemoine, et al., 2001) and
+ regional uncertainties in its shape (Neumann, 2002). Pixel resolution of this map
+ is 463 meters per pixel (m). (Description from URL). Data Reference: (See URL).]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "MOLA Pseudo Color [Sweden]",
- Version = "1.0",
- Description = [[ Colorzied elevation data for Mars (with shading). This map is hosted
- on the OpenSpace server in Sweden.]],
- Author = "USGS",
- URL = "https://astrogeology.usgs.gov/search/map/Mars/GlobalSurveyor/MOLA/" ..
- "Mars_MGS_MOLA_ClrShade_merge_global_463m",
- License = "NASA/PDS",
- Identifiers = {"MOLA_Pseudo_Color_Sweden"}
+ Name = "MOLA Pseudo Color [Sweden]",
+ Version = "1.0",
+ Description = [[ Colorzied elevation data for Mars (with shading). This map is hosted
+ on the OpenSpace server in Sweden.]],
+ Author = "USGS",
+ URL = "https://astrogeology.usgs.gov/search/map/Mars/GlobalSurveyor/MOLA/" ..
+ "Mars_MGS_MOLA_ClrShade_merge_global_463m",
+ License = "NASA/PDS",
+ Identifiers = {"MOLA_Pseudo_Color_Sweden"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mola_pseudo_color_utah.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mola_pseudo_color_utah.asset
index 4057051c9b..06ab2bdca2 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mola_pseudo_color_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/mola_pseudo_color_utah.asset
@@ -2,23 +2,23 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "MOLA_Pseudo_Color_Utah",
- Name = "MOLA Pseudo Color [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/Mola_PseudoColor.wms",
- Description = [[This map is based on data from the Mars Orbiter Laser Altimeter (MOLA)
- (Smith, et al., 2001), an instrument on NASA’s Mars Global Surveyor (MGS)
- spacecraft (Albee, et al., 2001). The image used for the base of this map
- represents more than 600 million measurements gathered between 1999 and 2001,
- adjusted for consistency (Neumann, et al., 2001; Neumann, et al., 2003) and
- converted to planetary radii. These have been converted to elevations above the
- areoid as determined from a Martian gravity field solution GMM-2B (Lemoine, et
- al., 2001), truncated to degree and order 50, and oriented according to current
- standards (see below). The average accuracy of each point is originally ~100
- meters in horizontal position and ~1 meter in radius (Neumann, et al., 2001;
- Neumann, et al., 2003). However, the total elevation uncertainty is at least ±3 m
- due to the global error in the areoid (±1.8 meters; Lemoine, et al., 2001) and
- regional uncertainties in its shape (Neumann, 2002). Pixel resolution of this map
- is 463 meters per pixel (m). (Description from URL). Data Reference: (See URL)]],
+ Identifier = "MOLA_Pseudo_Color_Utah",
+ Name = "MOLA Pseudo Color [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/Mola_PseudoColor.wms",
+ Description = [[This map is based on data from the Mars Orbiter Laser Altimeter (MOLA)
+ (Smith, et al., 2001), an instrument on NASA’s Mars Global Surveyor (MGS)
+ spacecraft (Albee, et al., 2001). The image used for the base of this map
+ represents more than 600 million measurements gathered between 1999 and 2001,
+ adjusted for consistency (Neumann, et al., 2001; Neumann, et al., 2003) and
+ converted to planetary radii. These have been converted to elevations above the
+ areoid as determined from a Martian gravity field solution GMM-2B (Lemoine, et
+ al., 2001), truncated to degree and order 50, and oriented according to current
+ standards (see below). The average accuracy of each point is originally ~100
+ meters in horizontal position and ~1 meter in radius (Neumann, et al., 2001;
+ Neumann, et al., 2003). However, the total elevation uncertainty is at least ±3 m
+ due to the global error in the areoid (±1.8 meters; Lemoine, et al., 2001) and
+ regional uncertainties in its shape (Neumann, 2002). Pixel resolution of this map
+ is 463 meters per pixel (m). (Description from URL). Data Reference: (See URL)]],
}
asset.onInitialize(function ()
@@ -29,13 +29,13 @@ asset.export("layer", layer)
asset.meta = {
- Name = "MOLA Pseudo Color [Utah]",
- Version = "1.0",
- Description = [[ Colorzied elevation data for Mars (with shading). This map is hosted
- on the OpenSpace server in Utah.]],
- Author = "USGS",
- URL = "https://astrogeology.usgs.gov/search/map/Mars/GlobalSurveyor/MOLA/" ..
- "Mars_MGS_MOLA_ClrShade_merge_global_463m",
- License = "NASA/PDS",
- Identifiers = {"MOLA_Pseudo_Color_Utah"}
+ Name = "MOLA Pseudo Color [Utah]",
+ Version = "1.0",
+ Description = [[ Colorzied elevation data for Mars (with shading). This map is hosted
+ on the OpenSpace server in Utah.]],
+ Author = "USGS",
+ URL = "https://astrogeology.usgs.gov/search/map/Mars/GlobalSurveyor/MOLA/" ..
+ "Mars_MGS_MOLA_ClrShade_merge_global_463m",
+ License = "NASA/PDS",
+ Identifiers = {"MOLA_Pseudo_Color_Utah"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/themis_ir_day_sweden.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/themis_ir_day_sweden.asset
index cb18e6a17f..8f31b54ba7 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/themis_ir_day_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/themis_ir_day_sweden.asset
@@ -2,37 +2,37 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "Themis_IR_Day_Sweden",
- Name = "Themis IR Day [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Themis_IR_Day.wms",
- BlendMode = "Color",
- Description = [[This mosaic represents the Thermal Emission Imaging System (THEMIS)
- -daytime infrared (IR) 100 meter/pixel mosaic (version 12) released in the summer
- of 2014 by Arizona State University. Values represent only a visual representation
- of day-time temperatures. The original values have been stretched and blended to
- make a more seamless mosaic.
Reference: * Edwards, C. S., K. J. Nowicki,
- P. R. Christensen, J. Hill, N. Gorelick, and K. Murray (2011), Mosaicking of
- global planetary image datasets: 1. Techniques and data processing for Thermal
- Emission Imaging System (THEMIS) multi‐spectral data, J. Geophys. Res., 116,
- E10008, doi:10.1029/2010JE003755. http://dx.doi.org/10.1029/2010JE003755
- (Description from URL).]],
+ Identifier = "Themis_IR_Day_Sweden",
+ Name = "Themis IR Day [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Themis_IR_Day.wms",
+ BlendMode = "Color",
+ Description = [[This mosaic represents the Thermal Emission Imaging System (THEMIS)
+ -daytime infrared (IR) 100 meter/pixel mosaic (version 12) released in the summer
+ of 2014 by Arizona State University. Values represent only a visual representation
+ of day-time temperatures. The original values have been stretched and blended to
+ make a more seamless mosaic.
Reference: * Edwards, C. S., K. J. Nowicki,
+ P. R. Christensen, J. Hill, N. Gorelick, and K. Murray (2011), Mosaicking of
+ global planetary image datasets: 1. Techniques and data processing for Thermal
+ Emission Imaging System (THEMIS) multi‐spectral data, J. Geophys. Res., 116,
+ E10008, doi:10.1029/2010JE003755. http://dx.doi.org/10.1029/2010JE003755
+ (Description from URL).]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Themis IR Day [Sweden]",
- Version = "1.0",
- Description = [[Themis Day layer for Mars. This map is hosted on the OpenSpace server
- in Sweden.]],
- Author = "USGS",
- URL = "https://astrogeology.usgs.gov/search/map/Mars/Odyssey/THEMIS-IR-Mosaic-ASU/" ..
- "Mars_MO_THEMIS-IR-Day_mosaic_global_100m_v12",
- License = "NASA/PDS",
- Identifiers = {"Themis_IR_Day_Sweden"}
+ Name = "Themis IR Day [Sweden]",
+ Version = "1.0",
+ Description = [[Themis Day layer for Mars. This map is hosted on the OpenSpace server
+ in Sweden.]],
+ Author = "USGS",
+ URL = "https://astrogeology.usgs.gov/search/map/Mars/Odyssey/THEMIS-IR-Mosaic-ASU/" ..
+ "Mars_MO_THEMIS-IR-Day_mosaic_global_100m_v12",
+ License = "NASA/PDS",
+ Identifiers = {"Themis_IR_Day_Sweden"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/themis_ir_day_utah.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/themis_ir_day_utah.asset
index 1063556825..d01800cf9e 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/themis_ir_day_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/themis_ir_day_utah.asset
@@ -2,37 +2,37 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "Themis_IR_Day_Utah",
- Name = "Themis IR Day [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/Themis_IR_Day.wms",
- BlendMode = "Color",
- Description = [[This mosaic represents the Thermal Emission Imaging System (THEMIS)
- -daytime infrared (IR) 100 meter/pixel mosaic (version 12) released in the summer
- of 2014 by Arizona State University. Values represent only a visual representation
- of day-time temperatures. The original values have been stretched and blended to
- make a more seamless mosaic.
Reference: * Edwards, C. S., K. J. Nowicki,
- P. R. Christensen, J. Hill, N. Gorelick, and K. Murray (2011), Mosaicking of
- global planetary image datasets: 1. Techniques and data processing for Thermal
- Emission Imaging System (THEMIS) multi‐spectral data, J. Geophys. Res., 116,
- E10008, doi:10.1029/2010JE003755. http://dx.doi.org/10.1029/2010JE003755
- (Description from URL).]],
+ Identifier = "Themis_IR_Day_Utah",
+ Name = "Themis IR Day [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/Themis_IR_Day.wms",
+ BlendMode = "Color",
+ Description = [[This mosaic represents the Thermal Emission Imaging System (THEMIS)
+ -daytime infrared (IR) 100 meter/pixel mosaic (version 12) released in the summer
+ of 2014 by Arizona State University. Values represent only a visual representation
+ of day-time temperatures. The original values have been stretched and blended to
+ make a more seamless mosaic.
Reference: * Edwards, C. S., K. J. Nowicki,
+ P. R. Christensen, J. Hill, N. Gorelick, and K. Murray (2011), Mosaicking of
+ global planetary image datasets: 1. Techniques and data processing for Thermal
+ Emission Imaging System (THEMIS) multi‐spectral data, J. Geophys. Res., 116,
+ E10008, doi:10.1029/2010JE003755. http://dx.doi.org/10.1029/2010JE003755
+ (Description from URL).]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Themis IR Day [Utah]",
- Version = "1.0",
- Description = [[Themis Day layer for Mars. This map is hosted on the OpenSpace server
- in Utah.]],
- Author = "USGS",
- URL = "https://astrogeology.usgs.gov/search/map/Mars/Odyssey/THEMIS-IR-Mosaic-ASU/" ..
- "Mars_MO_THEMIS-IR-Day_mosaic_global_100m_v12",
- License = "NASA/PDS",
- Identifiers = {"Themis_IR_Day_Utah"}
+ Name = "Themis IR Day [Utah]",
+ Version = "1.0",
+ Description = [[Themis Day layer for Mars. This map is hosted on the OpenSpace server
+ in Utah.]],
+ Author = "USGS",
+ URL = "https://astrogeology.usgs.gov/search/map/Mars/Odyssey/THEMIS-IR-Mosaic-ASU/" ..
+ "Mars_MO_THEMIS-IR-Day_mosaic_global_100m_v12",
+ License = "NASA/PDS",
+ Identifiers = {"Themis_IR_Day_Utah"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/themis_ir_night_sweden.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/themis_ir_night_sweden.asset
index 04977ad8a2..d4bfd6a9ad 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/themis_ir_night_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/themis_ir_night_sweden.asset
@@ -2,38 +2,38 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "Themis_IR_Night_Sweden",
- Name = "Themis IR Night [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Themis_IR_Night.wms",
- BlendMode = "Color",
- Description = [[This mosaic represents the Thermal Emission Imaging System (THEMIS)
- -nighttime infrared (IR) 100 meter/pixel mosaic (version 12) released in the
- summer of 2014 by Arizona State University. Values represent only a visual
- representation of night-time temperatures. The original values have been stretched
- and blended to make a more seamless mosaic. Coverage is only from 60N to 60S
- latitude.
Reference: * Edwards, C.S., K. J. Nowicki, P. R. Christensen,
- J. Hill, N. Gorelick, and K. Murray (2011), Mosaicking of global planetary image
- datasets: 1. Techniques and data processing for Thermal Emission Imaging System
- (THEMIS) multi‐spectral data, J. Geophys. Res., 116, E10008,
- doi:10.1029/2010JE003755. http://dx.doi.org/10.1029/2010JE003755 (Description from
- URL).]],
+ Identifier = "Themis_IR_Night_Sweden",
+ Name = "Themis IR Night [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Themis_IR_Night.wms",
+ BlendMode = "Color",
+ Description = [[This mosaic represents the Thermal Emission Imaging System (THEMIS)
+ -nighttime infrared (IR) 100 meter/pixel mosaic (version 12) released in the
+ summer of 2014 by Arizona State University. Values represent only a visual
+ representation of night-time temperatures. The original values have been stretched
+ and blended to make a more seamless mosaic. Coverage is only from 60N to 60S
+ latitude.
Reference: * Edwards, C.S., K. J. Nowicki, P. R. Christensen,
+ J. Hill, N. Gorelick, and K. Murray (2011), Mosaicking of global planetary image
+ datasets: 1. Techniques and data processing for Thermal Emission Imaging System
+ (THEMIS) multi‐spectral data, J. Geophys. Res., 116, E10008,
+ doi:10.1029/2010JE003755. http://dx.doi.org/10.1029/2010JE003755 (Description from
+ URL).]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Themis IR Night [Sweden]",
- Version = "1.0",
- Description = [[Themis Night layer for Mars. This map is hosted on the OpenSpace
- server in Sweden.]],
- Author = "USGS",
- URL = "https://astrogeology.usgs.gov/search/map/Mars/Odyssey/THEMIS-IR-Mosaic-ASU/" ..
- "Mars_MO_THEMIS-IR-Night_mosaic_60N60S_100m_v14",
- License = "NASA/PDS",
- Identifiers = {"Themis_IR_Night_Sweden"}
+ Name = "Themis IR Night [Sweden]",
+ Version = "1.0",
+ Description = [[Themis Night layer for Mars. This map is hosted on the OpenSpace
+ server in Sweden.]],
+ Author = "USGS",
+ URL = "https://astrogeology.usgs.gov/search/map/Mars/Odyssey/THEMIS-IR-Mosaic-ASU/" ..
+ "Mars_MO_THEMIS-IR-Night_mosaic_60N60S_100m_v14",
+ License = "NASA/PDS",
+ Identifiers = {"Themis_IR_Night_Sweden"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/themis_ir_night_utah.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/themis_ir_night_utah.asset
index c6dd7fca7c..b2f1b72f38 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/themis_ir_night_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/themis_ir_night_utah.asset
@@ -2,38 +2,38 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "Themis_IR_Night_Utah",
- Name = "Themis IR Night [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/Themis_IR_Night.wms",
- BlendMode = "Color",
- Description = [[This mosaic represents the Thermal Emission Imaging System (THEMIS)
- -nighttime infrared (IR) 100 meter/pixel mosaic (version 12) released in the
- summer of 2014 by Arizona State University. Values represent only a visual
- representation of night-time temperatures. The original values have been stretched
- and blended to make a more seamless mosaic. Coverage is only from 60N to 60S
- latitude.
Reference: * Edwards, C.S., K. J. Nowicki, P. R. Christensen,
- J. Hill, N. Gorelick, and K. Murray (2011), Mosaicking of global planetary image
- datasets: 1. Techniques and data processing for Thermal Emission Imaging System
- (THEMIS) multi‐spectral data, J. Geophys. Res., 116, E10008,
- doi:10.1029/2010JE003755. http://dx.doi.org/10.1029/2010JE003755 (Description from
- URL).]],
+ Identifier = "Themis_IR_Night_Utah",
+ Name = "Themis IR Night [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/Themis_IR_Night.wms",
+ BlendMode = "Color",
+ Description = [[This mosaic represents the Thermal Emission Imaging System (THEMIS)
+ -nighttime infrared (IR) 100 meter/pixel mosaic (version 12) released in the
+ summer of 2014 by Arizona State University. Values represent only a visual
+ representation of night-time temperatures. The original values have been stretched
+ and blended to make a more seamless mosaic. Coverage is only from 60N to 60S
+ latitude.
Reference: * Edwards, C.S., K. J. Nowicki, P. R. Christensen,
+ J. Hill, N. Gorelick, and K. Murray (2011), Mosaicking of global planetary image
+ datasets: 1. Techniques and data processing for Thermal Emission Imaging System
+ (THEMIS) multi‐spectral data, J. Geophys. Res., 116, E10008,
+ doi:10.1029/2010JE003755. http://dx.doi.org/10.1029/2010JE003755 (Description from
+ URL).]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Themis IR Night [Utah]",
- Version = "1.0",
- Description = [[Themis Night layer for Mars. This map is hosted on the OpenSpace
- server in Utah.]],
- Author = "USGS",
- URL = "https://astrogeology.usgs.gov/search/map/Mars/Odyssey/THEMIS-IR-Mosaic-ASU/" ..
- "Mars_MO_THEMIS-IR-Night_mosaic_60N60S_100m_v14",
- License = "NASA/PDS",
- Identifiers = {"Themis_IR_Night_Utah"}
+ Name = "Themis IR Night [Utah]",
+ Version = "1.0",
+ Description = [[Themis Night layer for Mars. This map is hosted on the OpenSpace
+ server in Utah.]],
+ Author = "USGS",
+ URL = "https://astrogeology.usgs.gov/search/map/Mars/Odyssey/THEMIS-IR-Mosaic-ASU/" ..
+ "Mars_MO_THEMIS-IR-Night_mosaic_60N60S_100m_v14",
+ License = "NASA/PDS",
+ Identifiers = {"Themis_IR_Night_Utah"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/viking_mdim_sweden.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/viking_mdim_sweden.asset
index e0fd344b2f..dc2d73a5d6 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/viking_mdim_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/viking_mdim_sweden.asset
@@ -2,45 +2,45 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "Viking_MDIM_Sweden",
- Name = "Viking MDIM [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/MDIM.wms",
- Description = [[This global image map of Mars has a resolution of 256 pixels/degree
- (scale approximately 232 meters per pixel (m) at the equator). The colorized
- mosaic was completed by NASA AMES which warped the original Viking colorized
- mosaic and blended over the latest black/white Mars Digital Image Model
- (MDIM 2.1). The positional accuracy of features in MDIM 2.1 is estimated to be
- roughly one pixel (200 m), compared to 3 km for MDIM 2.0 released in 2001 and >6
- km for MDIM 1.0 released in 1991. In addition to relatively imprecise geodetic
- control, the previous mosaics were affected by changing definitions of
- cartographic parameters (such as the definition of zero longitude),
- resulting in an overall longitude shift of as much as 0.2° between the early MDIMs
- and other datasets. The new mosaic uses the most recent coordinate system
- definitions for Mars. These definitions have been widely adopted by NASA missions
- and other users of planetary data and are likely to remain in use for a decade or
- more. As a result, MDIM 2.1 not only registers precisely with data from current
- missions such as Mars Global Surveyor (MGS) and 2001 Mars Odyssey but will serve
- as an accurate basemap on which data from future missions can be plotted.
- (Description from URL).
References: Williams, D. R. (2018). Viking
- Mission to Mars. https://nssdc.gsfc.nasa.gov/planetary/viking.html Additional
- references available here: http://astrogeology.usgs.gov/maps/mdim-2-1 ]],
+ Identifier = "Viking_MDIM_Sweden",
+ Name = "Viking MDIM [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/MDIM.wms",
+ Description = [[This global image map of Mars has a resolution of 256 pixels/degree
+ (scale approximately 232 meters per pixel (m) at the equator). The colorized
+ mosaic was completed by NASA AMES which warped the original Viking colorized
+ mosaic and blended over the latest black/white Mars Digital Image Model
+ (MDIM 2.1). The positional accuracy of features in MDIM 2.1 is estimated to be
+ roughly one pixel (200 m), compared to 3 km for MDIM 2.0 released in 2001 and >6
+ km for MDIM 1.0 released in 1991. In addition to relatively imprecise geodetic
+ control, the previous mosaics were affected by changing definitions of
+ cartographic parameters (such as the definition of zero longitude),
+ resulting in an overall longitude shift of as much as 0.2° between the early MDIMs
+ and other datasets. The new mosaic uses the most recent coordinate system
+ definitions for Mars. These definitions have been widely adopted by NASA missions
+ and other users of planetary data and are likely to remain in use for a decade or
+ more. As a result, MDIM 2.1 not only registers precisely with data from current
+ missions such as Mars Global Surveyor (MGS) and 2001 Mars Odyssey but will serve
+ as an accurate basemap on which data from future missions can be plotted.
+ (Description from URL).
References: Williams, D. R. (2018). Viking
+ Mission to Mars. https://nssdc.gsfc.nasa.gov/planetary/viking.html Additional
+ references available here: http://astrogeology.usgs.gov/maps/mdim-2-1 ]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Viking MDIM [Sweden]",
- Version = "1.0",
- Description = [[ Alternate image layer for Mars. This map is hosted
- on the OpenSpace server in Sweden.]],
- Author = "USGS",
- URL = "https://astrogeology.usgs.gov/search/map/Mars/Viking/MDIM21/" ..
- "Mars_Viking_MDIM21_ClrMosaic_global_232m",
- License = "NASA/PDS",
- Identifiers = {"Viking_MDIM_Sweden"}
+ Name = "Viking MDIM [Sweden]",
+ Version = "1.0",
+ Description = [[ Alternate image layer for Mars. This map is hosted
+ on the OpenSpace server in Sweden.]],
+ Author = "USGS",
+ URL = "https://astrogeology.usgs.gov/search/map/Mars/Viking/MDIM21/" ..
+ "Mars_Viking_MDIM21_ClrMosaic_global_232m",
+ License = "NASA/PDS",
+ Identifiers = {"Viking_MDIM_Sweden"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/viking_mdim_utah.asset b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/viking_mdim_utah.asset
index 5cf52c5fc1..d5d9fe3faf 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/viking_mdim_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/colorlayers/viking_mdim_utah.asset
@@ -2,45 +2,45 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "Viking_MDIM_Utah",
- Name = "Viking MDIM [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/Mdim.wms",
- Description = [[This global image map of Mars has a resolution of 256 pixels/degree
- (scale approximately 232 meters per pixel (m) at the equator). The colorized
- mosaic was completed by NASA AMES which warped the original Viking colorized
- mosaic and blended over the latest black/white Mars Digital Image Model
- (MDIM 2.1). The positional accuracy of features in MDIM 2.1 is estimated to be
- roughly one pixel (200 m), compared to 3 km for MDIM 2.0 released in 2001 and >6
- km for MDIM 1.0 released in 1991. In addition to relatively imprecise geodetic
- control, the previous mosaics were affected by changing definitions of
- cartographic parameters (such as the definition of zero longitude),
- resulting in an overall longitude shift of as much as 0.2° between the early MDIMs
- and other datasets. The new mosaic uses the most recent coordinate system
- definitions for Mars. These definitions have been widely adopted by NASA missions
- and other users of planetary data and are likely to remain in use for a decade or
- more. As a result, MDIM 2.1 not only registers precisely with data from current
- missions such as Mars Global Surveyor (MGS) and 2001 Mars Odyssey but will serve
- as an accurate basemap on which data from future missions can be plotted.
- (Description from URL).
References: Williams, D. R. (2018). Viking
- Mission to Mars. https://nssdc.gsfc.nasa.gov/planetary/viking.html Additional
- references available here: http://astrogeology.usgs.gov/maps/mdim-2-1 ]],
+ Identifier = "Viking_MDIM_Utah",
+ Name = "Viking MDIM [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/Mdim.wms",
+ Description = [[This global image map of Mars has a resolution of 256 pixels/degree
+ (scale approximately 232 meters per pixel (m) at the equator). The colorized
+ mosaic was completed by NASA AMES which warped the original Viking colorized
+ mosaic and blended over the latest black/white Mars Digital Image Model
+ (MDIM 2.1). The positional accuracy of features in MDIM 2.1 is estimated to be
+ roughly one pixel (200 m), compared to 3 km for MDIM 2.0 released in 2001 and >6
+ km for MDIM 1.0 released in 1991. In addition to relatively imprecise geodetic
+ control, the previous mosaics were affected by changing definitions of
+ cartographic parameters (such as the definition of zero longitude),
+ resulting in an overall longitude shift of as much as 0.2° between the early MDIMs
+ and other datasets. The new mosaic uses the most recent coordinate system
+ definitions for Mars. These definitions have been widely adopted by NASA missions
+ and other users of planetary data and are likely to remain in use for a decade or
+ more. As a result, MDIM 2.1 not only registers precisely with data from current
+ missions such as Mars Global Surveyor (MGS) and 2001 Mars Odyssey but will serve
+ as an accurate basemap on which data from future missions can be plotted.
+ (Description from URL).
References: Williams, D. R. (2018). Viking
+ Mission to Mars. https://nssdc.gsfc.nasa.gov/planetary/viking.html Additional
+ references available here: http://astrogeology.usgs.gov/maps/mdim-2-1 ]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Viking MDIM [Utah]",
- Version = "1.0",
- Description = [[ Alternate image layer for Mars. This map is hosted
- on the OpenSpace server in Utah.]],
- Author = "USGS",
- URL = "https://astrogeology.usgs.gov/search/map/Mars/Viking/MDIM21/" ..
- "Mars_Viking_MDIM21_ClrMosaic_global_232m",
- License = "NASA/PDS",
- Identifiers = {"Viking_MDIM_Utah"}
+ Name = "Viking MDIM [Utah]",
+ Version = "1.0",
+ Description = [[ Alternate image layer for Mars. This map is hosted
+ on the OpenSpace server in Utah.]],
+ Author = "USGS",
+ URL = "https://astrogeology.usgs.gov/search/map/Mars/Viking/MDIM21/" ..
+ "Mars_Viking_MDIM21_ClrMosaic_global_232m",
+ License = "NASA/PDS",
+ Identifiers = {"Viking_MDIM_Utah"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/heightlayers/hirisels.asset b/data/assets/scene/solarsystem/planets/mars/layers/heightlayers/hirisels.asset
index 01adfc48b6..795213cff8 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/heightlayers/hirisels.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/heightlayers/hirisels.asset
@@ -2,38 +2,38 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "HiRISE-LS-DEM",
- Name = "HiRISE Local Set DEM",
- FilePath = mapServiceConfigs .. "/ESRI/HiRISE/HiRISE_DEM.dem",
- Description = [[ HiRISE (High Resolution Imaging Science Experiment) is the most
- powerful camera ever sent to another planet, one of six instruments onboard the
- Mars Reconnaissance Orbiter. We launched in 2005, arrived at Mars in 2006 and have
- been imaging ever since. Our camera’s high resolution capability (imaging up to 30
- centimeters per pixel) remains unprecedented for any existing orbiter in the study
- of the Red Planet, as well as being an indispensable instrument for helping to
- select landing sites for robotic and future human exploration. In the past decade,
- we’ve also imaged avalanches in progress, and discovered dark flows that may or
- may not be briny seeps. Hundreds of science papers have been published with our
- data. (Description from URL). This map contains a subet set of the HiRISE
- DEM where available as of 2018.]],
+ Identifier = "HiRISE-LS-DEM",
+ Name = "HiRISE Local Set DEM",
+ FilePath = mapServiceConfigs .. "/ESRI/HiRISE/HiRISE_DEM.dem",
+ Description = [[ HiRISE (High Resolution Imaging Science Experiment) is the most
+ powerful camera ever sent to another planet, one of six instruments onboard the
+ Mars Reconnaissance Orbiter. We launched in 2005, arrived at Mars in 2006 and have
+ been imaging ever since. Our camera’s high resolution capability (imaging up to 30
+ centimeters per pixel) remains unprecedented for any existing orbiter in the study
+ of the Red Planet, as well as being an indispensable instrument for helping to
+ select landing sites for robotic and future human exploration. In the past decade,
+ we’ve also imaged avalanches in progress, and discovered dark flows that may or
+ may not be briny seeps. Hundreds of science papers have been published with our
+ data. (Description from URL). This map contains a subet set of the HiRISE
+ DEM where available as of 2018.]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "HeightLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "HeightLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "HiRISE Local Set DEM",
- Version = "1.0",
- Description = [[HiRISE DEM layer for corresponding Local Set imager. This map is
- hosted by ESRI.]],
- Author = "USGS",
- URL = "https://www.uahirise.org",
- License = "Esri Master License Agreement",
- Identifiers = {"HiRISE-LS-DEM"}
+ Name = "HiRISE Local Set DEM",
+ Version = "1.0",
+ Description = [[HiRISE DEM layer for corresponding Local Set imager. This map is
+ hosted by ESRI.]],
+ Author = "USGS",
+ URL = "https://www.uahirise.org",
+ License = "Esri Master License Agreement",
+ Identifiers = {"HiRISE-LS-DEM"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/heightlayers/mola_europe.asset b/data/assets/scene/solarsystem/planets/mars/layers/heightlayers/mola_europe.asset
index 0be40ea886..7943fe4196 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/heightlayers/mola_europe.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/heightlayers/mola_europe.asset
@@ -2,41 +2,41 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "Mola_Europe",
- Name = "Mola Elevation [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Mola_Elevation.wms",
- TilePixelSize = 90,
- Description = [[ This digital elevation model (DEM) is based on data from the Mars
- Orbiter Laser Altimeter (MOLA; Smith et al., 2001), an instrument on NASA's Mars
- Global Surveyor (MGS) spacecraft (Albee et al., 2001). The MOLA DEM represents
- more than 600 million measurements gathered between 1999 and 2001, adjusted for
- consistency (Neumann et al., 2001; Neumann, Smith & Zuber, 2003) and converted to
- planetary radii. These have been converted to elevations above the areoid as
- determined from a Martian gravity field solution GMM-2B (Lemoine et al., 2001),
- truncated to degree and order 50, and oriented according to current standards.
- The average accuracy of each point is originally ~100 meters in horizontal
- position and ~1 meter in radius (Neumann et al., 2001). However, the total
- elevation uncertainty is at least ±3 m due to the global error in the areoid
- (±1.8 meters; Neumann et al., 2001) and regional uncertainties in its shape
- (Neumann, 2002). Pixel resolution is 463 meters per pixel (m). (Description from
- URL). Data Reference: (See URL).]],
+ Identifier = "Mola_Europe",
+ Name = "Mola Elevation [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Mola_Elevation.wms",
+ TilePixelSize = 90,
+ Description = [[ This digital elevation model (DEM) is based on data from the Mars
+ Orbiter Laser Altimeter (MOLA; Smith et al., 2001), an instrument on NASA's Mars
+ Global Surveyor (MGS) spacecraft (Albee et al., 2001). The MOLA DEM represents
+ more than 600 million measurements gathered between 1999 and 2001, adjusted for
+ consistency (Neumann et al., 2001; Neumann, Smith & Zuber, 2003) and converted to
+ planetary radii. These have been converted to elevations above the areoid as
+ determined from a Martian gravity field solution GMM-2B (Lemoine et al., 2001),
+ truncated to degree and order 50, and oriented according to current standards.
+ The average accuracy of each point is originally ~100 meters in horizontal
+ position and ~1 meter in radius (Neumann et al., 2001). However, the total
+ elevation uncertainty is at least ±3 m due to the global error in the areoid
+ (±1.8 meters; Neumann et al., 2001) and regional uncertainties in its shape
+ (Neumann, 2002). Pixel resolution is 463 meters per pixel (m). (Description from
+ URL). Data Reference: (See URL).]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "HeightLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "HeightLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Mola Elevation [Sweden]",
- Version = "1.0",
- Author = "USGS",
- Description = [[ Global elevation layer for Mars. This layer is hosted on the
- OpenSpace server in Sweden.]],
- URL = "https://astrogeology.usgs.gov/search/map/Mars/GlobalSurveyor/MOLA/" ..
- "Mars_MGS_MOLA_DEM_mosaic_global_463m",
- License = "NASA/PDS",
- Identifiers = {"Mola_Europe"}
+ Name = "Mola Elevation [Sweden]",
+ Version = "1.0",
+ Author = "USGS",
+ Description = [[ Global elevation layer for Mars. This layer is hosted on the
+ OpenSpace server in Sweden.]],
+ URL = "https://astrogeology.usgs.gov/search/map/Mars/GlobalSurveyor/MOLA/" ..
+ "Mars_MGS_MOLA_DEM_mosaic_global_463m",
+ License = "NASA/PDS",
+ Identifiers = {"Mola_Europe"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/heightlayers/mola_utah.asset b/data/assets/scene/solarsystem/planets/mars/layers/heightlayers/mola_utah.asset
index e934a7c26d..ed377660bc 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/heightlayers/mola_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/heightlayers/mola_utah.asset
@@ -2,41 +2,41 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "Mola_Utah",
- Name = "Mola Elevation [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/Mola_Elevation.wms",
- TilePixelSize = 90,
- Description = [[ This digital elevation model (DEM) is based on data from the Mars
- Orbiter Laser Altimeter (MOLA; Smith et al., 2001), an instrument on NASA's Mars
- Global Surveyor (MGS) spacecraft (Albee et al., 2001). The MOLA DEM represents
- more than 600 million measurements gathered between 1999 and 2001, adjusted for
- consistency (Neumann et al., 2001; Neumann, Smith & Zuber, 2003) and converted to
- planetary radii. These have been converted to elevations above the areoid as
- determined from a Martian gravity field solution GMM-2B (Lemoine et al., 2001),
- truncated to degree and order 50, and oriented according to current standards.
- The average accuracy of each point is originally ~100 meters in horizontal
- position and ~1 meter in radius (Neumann et al., 2001). However, the total
- elevation uncertainty is at least ±3 m due to the global error in the areoid
- (±1.8 meters; Neumann et al., 2001) and regional uncertainties in its shape
- (Neumann, 2002). Pixel resolution is 463 meters per pixel (m). (Description from
- URL). Data Reference: (See URL).]],
+ Identifier = "Mola_Utah",
+ Name = "Mola Elevation [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/Mola_Elevation.wms",
+ TilePixelSize = 90,
+ Description = [[ This digital elevation model (DEM) is based on data from the Mars
+ Orbiter Laser Altimeter (MOLA; Smith et al., 2001), an instrument on NASA's Mars
+ Global Surveyor (MGS) spacecraft (Albee et al., 2001). The MOLA DEM represents
+ more than 600 million measurements gathered between 1999 and 2001, adjusted for
+ consistency (Neumann et al., 2001; Neumann, Smith & Zuber, 2003) and converted to
+ planetary radii. These have been converted to elevations above the areoid as
+ determined from a Martian gravity field solution GMM-2B (Lemoine et al., 2001),
+ truncated to degree and order 50, and oriented according to current standards.
+ The average accuracy of each point is originally ~100 meters in horizontal
+ position and ~1 meter in radius (Neumann et al., 2001). However, the total
+ elevation uncertainty is at least ±3 m due to the global error in the areoid
+ (±1.8 meters; Neumann et al., 2001) and regional uncertainties in its shape
+ (Neumann, 2002). Pixel resolution is 463 meters per pixel (m). (Description from
+ URL). Data Reference: (See URL).]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "HeightLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "HeightLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Mola Elevation [Utah]",
- Version = "1.0",
- Description = [[ Global elevation layer for Mars. This layer is hosted on the
- OpenSpace server in Utah.]],
- Author = "USGS",
- URL = "https://astrogeology.usgs.gov/search/map/Mars/GlobalSurveyor/MOLA/" ..
- "Mars_MGS_MOLA_DEM_mosaic_global_463m",
- License = "NASA/PDS",
- Identifiers = {"Mola_Utah"}
+ Name = "Mola Elevation [Utah]",
+ Version = "1.0",
+ Description = [[ Global elevation layer for Mars. This layer is hosted on the
+ OpenSpace server in Utah.]],
+ Author = "USGS",
+ URL = "https://astrogeology.usgs.gov/search/map/Mars/GlobalSurveyor/MOLA/" ..
+ "Mars_MGS_MOLA_DEM_mosaic_global_463m",
+ License = "NASA/PDS",
+ Identifiers = {"Mola_Utah"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/overlays/indices.asset b/data/assets/scene/solarsystem/planets/mars/layers/overlays/indices.asset
index b74a9c5d2f..84a291e4a8 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/overlays/indices.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/overlays/indices.asset
@@ -1,12 +1,12 @@
local globeIdentifier = asset.require("./../../mars").Mars.Identifier
local layer = {
- Identifier = "Indices",
- Type = "TileIndexTileLayer"
+ Identifier = "Indices",
+ Type = "TileIndexTileLayer"
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mars/layers/overlays/size_reference.asset b/data/assets/scene/solarsystem/planets/mars/layers/overlays/size_reference.asset
index 27dd05460f..0fa6e5d926 100644
--- a/data/assets/scene/solarsystem/planets/mars/layers/overlays/size_reference.asset
+++ b/data/assets/scene/solarsystem/planets/mars/layers/overlays/size_reference.asset
@@ -2,14 +2,14 @@ local marsAsset = asset.require("./../../mars").Mars
local globeIdentifier = marsAsset.Identifier
local layer ={
- Identifier = "Size_Reference",
- Name = "Size Reference",
- Type = "SizeReferenceTileLayer",
- Radii = marsAsset.Renderable.Radii
+ Identifier = "Size_Reference",
+ Name = "Size Reference",
+ Type = "SizeReferenceTileLayer",
+ Radii = marsAsset.Renderable.Radii
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "Overlays", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mars/mar097.asset b/data/assets/scene/solarsystem/planets/mars/mar097.asset
index 42513084d3..70af8b1c5f 100644
--- a/data/assets/scene/solarsystem/planets/mars/mar097.asset
+++ b/data/assets/scene/solarsystem/planets/mars/mar097.asset
@@ -1,8 +1,8 @@
local Kernels = asset.syncedResource({
- Name = "Mars Spice Kernels",
- Type = "HttpSynchronization",
- Identifier = "mars_kernels",
- Version = 1
+ Name = "Mars Spice Kernels",
+ Type = "HttpSynchronization",
+ Identifier = "mars_kernels",
+ Version = 1
})
asset.export("Kernels", Kernels .. '/mar097.bsp')
diff --git a/data/assets/scene/solarsystem/planets/mars/mars.asset b/data/assets/scene/solarsystem/planets/mars/mars.asset
index e96320563a..c169c8a568 100644
--- a/data/assets/scene/solarsystem/planets/mars/mars.asset
+++ b/data/assets/scene/solarsystem/planets/mars/mars.asset
@@ -8,83 +8,83 @@ local labelsPath = asset.require('./mars_globelabels').LabelsPath
local marsRadii = { 3396190.0, 3396190.0, 3396190.0 }
local Mars = {
- Identifier = "Mars",
- Parent = transforms.MarsBarycenter.Identifier,
- Transform = {
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_MARS",
- DestinationFrame = "GALACTIC"
- }
- },
- Renderable = {
- Type = "RenderableGlobe",
- Radii = marsRadii,
- SegmentsPerPatch = 90,
- Layers = {},
- Labels = {
- Enable = false,
- FileName = labelsPath .. "/mars.labels",
- LabelAlignmentOption = "Horizontally", -- or Circularly
- LabelsFontSize = 14.0,
- LabelsSize = 9.0,
- LabelsMinSize = 1.0,
- LabelsMaxSize = 1500.0,
- ProximityEnabled = false,
- LabelsFadeInEnabled = true,
- LabelsFadeOutEnabled = true,
- FadeInStartingDistance = 2000000.0,
- FadeOutStartingDistance = 750000.0,
- LabelsForceDomeRendering = true,
- LabelsDistanceEPS = 2500000.0,
- LabelsColor = { 1.0, 1.0, 0.0 }
- }
- },
- Tag = { "planet_solarSystem", "planet_terrestrial" },
- GUI = {
- Name = "Mars",
- Path = "/Solar System/Planets/Mars",
- Description = [[ Main globe for Mars with labels and map layers.]]
+ Identifier = "Mars",
+ Parent = transforms.MarsBarycenter.Identifier,
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_MARS",
+ DestinationFrame = "GALACTIC"
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = marsRadii,
+ SegmentsPerPatch = 90,
+ Layers = {},
+ Labels = {
+ Enable = false,
+ FileName = labelsPath .. "/mars.labels",
+ LabelAlignmentOption = "Horizontally", -- or Circularly
+ LabelsFontSize = 14.0,
+ LabelsSize = 9.0,
+ LabelsMinSize = 1.0,
+ LabelsMaxSize = 1500.0,
+ ProximityEnabled = false,
+ LabelsFadeInEnabled = true,
+ LabelsFadeOutEnabled = true,
+ FadeInStartingDistance = 2000000.0,
+ FadeOutStartingDistance = 750000.0,
+ LabelsForceDomeRendering = true,
+ LabelsDistanceEPS = 2500000.0,
+ LabelsColor = { 1.0, 1.0, 0.0 }
+ }
+ },
+ Tag = { "planet_solarSystem", "planet_terrestrial" },
+ GUI = {
+ Name = "Mars",
+ Path = "/Solar System/Planets/Mars",
+ Description = [[ Main globe for Mars with labels and map layers.]]
+ }
}
local MarsLabel = {
- Identifier = "MarsLabel",
- Parent = Mars.Identifier,
- Renderable = {
- Enabled = false,
- Type = "RenderableLabels",
- LabelText = "Mars",
- FontSize = 100.0,
- LabelSize = 8.5,
- LabelMaxSize = 100.0,
- LabelMinSize = 1.0,
- LabelOrientationOption = "Camera View Direction",
- BlendMode = "Additive",
- TransformationMatrix = {
- 1.0, 0.0, 0.0, -8.0E6,
- 0.0, 1.0, 0.0, 0.0,
- 0.0, 0.0, 1.0, 1.0E7,
- 0.0, 0.0, 0.0, 1.0
- },
+ Identifier = "MarsLabel",
+ Parent = Mars.Identifier,
+ Renderable = {
+ Enabled = false,
+ Type = "RenderableLabels",
+ LabelText = "Mars",
+ FontSize = 100.0,
+ LabelSize = 8.5,
+ LabelMaxSize = 100.0,
+ LabelMinSize = 1.0,
+ LabelOrientationOption = "Camera View Direction",
+ BlendMode = "Additive",
+ TransformationMatrix = {
+ 1.0, 0.0, 0.0, -8.0E6,
+ 0.0, 1.0, 0.0, 0.0,
+ 0.0, 0.0, 1.0, 1.0E7,
+ 0.0, 0.0, 0.0, 1.0
},
- Tag = { "solarsystem_labels" },
- GUI = {
- Name = "Mars Label",
- Path = "/Solar System/Planets/Mars",
- Description = [[ Main label for Mars]]
- }
+ },
+ Tag = { "solarsystem_labels" },
+ GUI = {
+ Name = "Mars Label",
+ Path = "/Solar System/Planets/Mars",
+ Description = [[ Main label for Mars]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Mars, MarsLabel })
asset.meta = {
- Name = "Mars",
- Version = "1.0",
- Description = [[ Mars globe, and main globe label.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Mars", "MarsLabel"}
+ Name = "Mars",
+ Version = "1.0",
+ Description = [[ Mars globe, and main globe label.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Mars", "MarsLabel"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/mars_globelabels.asset b/data/assets/scene/solarsystem/planets/mars/mars_globelabels.asset
index 9ac0a372d7..ca47fef12e 100644
--- a/data/assets/scene/solarsystem/planets/mars/mars_globelabels.asset
+++ b/data/assets/scene/solarsystem/planets/mars/mars_globelabels.asset
@@ -1,7 +1,7 @@
local LabelsPath = asset.syncedResource({
- Name = "Mars Labels",
- Type = "HttpSynchronization",
- Identifier = "mars_labels",
- Version = 1
+ Name = "Mars Labels",
+ Type = "HttpSynchronization",
+ Identifier = "mars_labels",
+ Version = 1
})
asset.export("LabelsPath", LabelsPath)
diff --git a/data/assets/scene/solarsystem/planets/mars/mars_textures.asset b/data/assets/scene/solarsystem/planets/mars/mars_textures.asset
index 946d20314a..757bad1d08 100644
--- a/data/assets/scene/solarsystem/planets/mars/mars_textures.asset
+++ b/data/assets/scene/solarsystem/planets/mars/mars_textures.asset
@@ -1,7 +1,7 @@
local TexturesPath = asset.syncedResource({
- Name = "Mars Textures",
- Type = "HttpSynchronization",
- Identifier = "mars_textures",
- Version = 1
+ Name = "Mars Textures",
+ Type = "HttpSynchronization",
+ Identifier = "mars_textures",
+ Version = 1
})
asset.export("TexturesPath", TexturesPath)
diff --git a/data/assets/scene/solarsystem/planets/mars/moons/deimos.asset b/data/assets/scene/solarsystem/planets/mars/moons/deimos.asset
index b200cef599..a7b3d5e7aa 100644
--- a/data/assets/scene/solarsystem/planets/mars/moons/deimos.asset
+++ b/data/assets/scene/solarsystem/planets/mars/moons/deimos.asset
@@ -4,68 +4,67 @@ local kernels = asset.require('../mar097').Kernels
local Deimos = {
- Identifier = "Deimos",
- Parent = transforms.MarsBarycenter.Identifier,
- Transform = {
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_DEIMOS",
- DestinationFrame = "GALACTIC",
- Kernels = kernels
- },
- Translation = {
- Type = "SpiceTranslation",
- Target = "DEIMOS",
- Observer = "MARS BARYCENTER",
- Kernels = kernels
- }
+ Identifier = "Deimos",
+ Parent = transforms.MarsBarycenter.Identifier,
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_DEIMOS",
+ DestinationFrame = "GALACTIC",
+ Kernels = kernels
},
- Renderable = {
- Type = "RenderableGlobe",
- Radii = { 15000, 12200, 11000 },
- SegmentsPerPatch = 90,
- Layers = {
- }
- },
- Tag = { "moon_solarSystem", "moon_terrestrial", "moon_mars" },
- GUI = {
- Name = "Deimos",
- Path = "/Solar System/Planets/Mars",
- Description = [[One of two moons of Mars.]]
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "DEIMOS",
+ Observer = "MARS BARYCENTER",
+ Kernels = kernels
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = { 15000, 12200, 11000 },
+ SegmentsPerPatch = 90,
+ Layers = {}
+ },
+ Tag = { "moon_solarSystem", "moon_terrestrial", "moon_mars" },
+ GUI = {
+ Name = "Deimos",
+ Path = "/Solar System/Planets/Mars",
+ Description = [[One of two moons of Mars.]]
+ }
}
local DeimosTrail = {
- Identifier = "DeimosTrail",
- Parent = transforms.MarsBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "DEIMOS",
- Observer = "MARS BARYCENTER"
- },
- Color = { 1.0, 0.605, 0.420 },
- Period = 1.263,
- Resolution = 1000
+ Identifier = "DeimosTrail",
+ Parent = transforms.MarsBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "DEIMOS",
+ Observer = "MARS BARYCENTER"
},
- Tag = { "moonTrail_solarSystem", "moonTrail_terrestrial", "moonTrail_mars" },
- GUI = {
- Name = "Deimos Trail",
- Path = "/Solar System/Planets/Mars",
- Description = [[Trail for Deimos]]
- }
+ Color = { 1.0, 0.605, 0.420 },
+ Period = 1.263,
+ Resolution = 1000
+ },
+ Tag = { "moonTrail_solarSystem", "moonTrail_terrestrial", "moonTrail_mars" },
+ GUI = {
+ Name = "Deimos Trail",
+ Path = "/Solar System/Planets/Mars",
+ Description = [[Trail for Deimos]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Deimos, DeimosTrail })
asset.meta = {
- Name = "Deimos",
- Version = "1.0",
- Description = [[ RenderableGlobe and Trail for Deimos.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Deimos", "DeimosTrail"}
+ Name = "Deimos",
+ Version = "1.0",
+ Description = [[ RenderableGlobe and Trail for Deimos.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Deimos", "DeimosTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/moons/layers/colorlayers/deimos_viking.asset b/data/assets/scene/solarsystem/planets/mars/moons/layers/colorlayers/deimos_viking.asset
index a339e5b425..e2d8bcc965 100644
--- a/data/assets/scene/solarsystem/planets/mars/moons/layers/colorlayers/deimos_viking.asset
+++ b/data/assets/scene/solarsystem/planets/mars/moons/layers/colorlayers/deimos_viking.asset
@@ -1,29 +1,28 @@
local globeIdentifier = asset.require("./../../deimos").Deimos.Identifier
local layer = {
- Identifier = "Deimos_Global_Mosaic_USGS",
- Name = "Deimos Global Mosaic [USGS]",
- Enabled = true,
- FilePath = "WMS:https://wms.wr.usgs.gov/cgi-bin/mapserv?map=/maps/mars/deimos_simp_cyl.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=Deimos_Simple_Cylindrical_Rasters&SRS=EPSG:4326&BBOX=-180,-90,360,90",
- Description = [[ This Viking-based cylindrical map of Deimos was created by Philip
+ Identifier = "Deimos_Global_Mosaic_USGS",
+ Name = "Deimos Global Mosaic [USGS]",
+ Enabled = true,
+ FilePath = "WMS:https://wms.wr.usgs.gov/cgi-bin/mapserv?map=/maps/mars/deimos_simp_cyl.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=Deimos_Simple_Cylindrical_Rasters&SRS=EPSG:4326&BBOX=-180,-90,360,90",
+ Description = [[ This Viking-based cylindrical map of Deimos was created by Philip
Stooke with the assistance of Chris Jongkind and Megan Arntz. Control is based on a
shape model and mosaic by Peter Thomas and colleagues at Cornell University. Date
released 26 October 2001. (Description from URL)]]
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Deimos Global Mosaic [USGS]",
- Version = "1.0",
- Author = "Philip Stooke/NASA",
- URL = "https://astrowebmaps.wr.usgs.gov/webmapatlas/Layers/maps.html",
- License = "NASA/PDS",
- Identifiers = {'Deimos_Global_Mosaic_USGS'}
-
+ Name = "Deimos Global Mosaic [USGS]",
+ Version = "1.0",
+ Author = "Philip Stooke/NASA",
+ URL = "https://astrowebmaps.wr.usgs.gov/webmapatlas/Layers/maps.html",
+ License = "NASA/PDS",
+ Identifiers = {'Deimos_Global_Mosaic_USGS'}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/moons/layers/colorlayers/phobos_viking.asset b/data/assets/scene/solarsystem/planets/mars/moons/layers/colorlayers/phobos_viking.asset
index 6a0c5b8d9a..a753881a56 100644
--- a/data/assets/scene/solarsystem/planets/mars/moons/layers/colorlayers/phobos_viking.asset
+++ b/data/assets/scene/solarsystem/planets/mars/moons/layers/colorlayers/phobos_viking.asset
@@ -1,26 +1,25 @@
local globeIdentifier = asset.require("./../../phobos").Phobos.Identifier
local layer = {
- Identifier = "Phobos_Global_Shaded_Relief_USGS",
- Name = "Phobos Global Shaded Relief [USGS]",
- Enabled = true,
- FilePath = "WMS:https://wms.wr.usgs.gov/cgi-bin/mapserv?map=/maps/mars/phobos_simp_cyl.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=Phobos_Simple_Cylindrical_Rasters&SRS=EPSG:4326&BBOX=-180,-90,360,90",
- Description = [[ Viking-base Phobos shaded relief created by USGS.]]
+ Identifier = "Phobos_Global_Shaded_Relief_USGS",
+ Name = "Phobos Global Shaded Relief [USGS]",
+ Enabled = true,
+ FilePath = "WMS:https://wms.wr.usgs.gov/cgi-bin/mapserv?map=/maps/mars/phobos_simp_cyl.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=Phobos_Simple_Cylindrical_Rasters&SRS=EPSG:4326&BBOX=-180,-90,360,90",
+ Description = [[ Viking-base Phobos shaded relief created by USGS.]]
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Phobos Global Shaded Relief [USGS]",
- Version = "1.0",
- Author = "USGS/NASA",
- URL = "https://astrowebmaps.wr.usgs.gov/webmapatlas/Layers/maps.html",
- License = "NASA/PDS",
- Identifiers = {'Phobos_Global_Shaded_Relief_USGS'}
-
+ Name = "Phobos Global Shaded Relief [USGS]",
+ Version = "1.0",
+ Author = "USGS/NASA",
+ URL = "https://astrowebmaps.wr.usgs.gov/webmapatlas/Layers/maps.html",
+ License = "NASA/PDS",
+ Identifiers = {'Phobos_Global_Shaded_Relief_USGS'}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/moons/phobos.asset b/data/assets/scene/solarsystem/planets/mars/moons/phobos.asset
index 99bcf87cc6..353c73e320 100644
--- a/data/assets/scene/solarsystem/planets/mars/moons/phobos.asset
+++ b/data/assets/scene/solarsystem/planets/mars/moons/phobos.asset
@@ -4,68 +4,67 @@ local kernels = asset.require('../mar097').Kernels
local Phobos = {
- Identifier = "Phobos",
- Parent = transforms.MarsBarycenter.Identifier,
- Transform = {
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_PHOBOS",
- DestinationFrame = "GALACTIC",
- Kernels = kernels
- },
- Translation = {
- Type = "SpiceTranslation",
- Target = "PHOBOS",
- Observer = "MARS BARYCENTER",
- Kernels = kernels
- }
+ Identifier = "Phobos",
+ Parent = transforms.MarsBarycenter.Identifier,
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_PHOBOS",
+ DestinationFrame = "GALACTIC",
+ Kernels = kernels
},
- Renderable = {
- Type = "RenderableGlobe",
- Radii = { 27000, 22000, 18000 },
- SegmentsPerPatch = 90,
- Layers = {
- }
- },
- Tag = { "moon_solarSystem", "moon_terrestrial", "moon_mars" },
- GUI = {
- Name = "Phobos",
- Path = "/Solar System/Planets/Mars",
- Description = [[One of two moons of Mars.]]
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "PHOBOS",
+ Observer = "MARS BARYCENTER",
+ Kernels = kernels
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = { 27000, 22000, 18000 },
+ SegmentsPerPatch = 90,
+ Layers = {}
+ },
+ Tag = { "moon_solarSystem", "moon_terrestrial", "moon_mars" },
+ GUI = {
+ Name = "Phobos",
+ Path = "/Solar System/Planets/Mars",
+ Description = [[One of two moons of Mars.]]
+ }
}
local PhobosTrail = {
- Identifier = "PhobosTrail",
- Parent = transforms.MarsBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "PHOBOS",
- Observer = "MARS BARYCENTER"
- },
- Color = { 1.0, 0.605, 0.420 },
- Period = 0.31891023,
- Resolution = 1000
+ Identifier = "PhobosTrail",
+ Parent = transforms.MarsBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "PHOBOS",
+ Observer = "MARS BARYCENTER"
},
- Tag = { "moonTrail_solarSystem", "moonTrail_terrestrial", "moonTrail_mars" },
- GUI = {
- Name = "Phobos Trail",
- Path = "/Solar System/Planets/Mars",
- Description = [[Trail for Phobos.]]
- }
+ Color = { 1.0, 0.605, 0.420 },
+ Period = 0.31891023,
+ Resolution = 1000
+ },
+ Tag = { "moonTrail_solarSystem", "moonTrail_terrestrial", "moonTrail_mars" },
+ GUI = {
+ Name = "Phobos Trail",
+ Path = "/Solar System/Planets/Mars",
+ Description = [[Trail for Phobos.]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Phobos, PhobosTrail })
asset.meta = {
- Name = "Phobos",
- Version = "1.0",
- Description = [[ RenderableGlobe and Trail for Phobos.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Phobos", "PhobosTrail"}
+ Name = "Phobos",
+ Version = "1.0",
+ Description = [[ RenderableGlobe and Trail for Phobos.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Phobos", "PhobosTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/trail.asset b/data/assets/scene/solarsystem/planets/mars/trail.asset
index a92011e04e..1922c582ea 100644
--- a/data/assets/scene/solarsystem/planets/mars/trail.asset
+++ b/data/assets/scene/solarsystem/planets/mars/trail.asset
@@ -5,37 +5,37 @@ asset.require("spice/base")
local MarsTrail = {
- Identifier = "MarsTrail",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "MARS BARYCENTER",
- Observer = "SUN"
- },
- Color = { 0.814, 0.305, 0.220 },
- Period = 686.973,
- Resolution = 1000
+ Identifier = "MarsTrail",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "MARS BARYCENTER",
+ Observer = "SUN"
},
- Tag = { "planetTrail_solarSystem", "planetTrail_terrestrial" },
- GUI = {
- Name = "Mars Trail",
- Path = "/Solar System/Planets/Mars",
- Description = [[ Trail of Mars as observed by the Sun. Data from NASA Spice (see
- base spice asset)]],
- }
+ Color = { 0.814, 0.305, 0.220 },
+ Period = 686.973,
+ Resolution = 1000
+ },
+ Tag = { "planetTrail_solarSystem", "planetTrail_terrestrial" },
+ GUI = {
+ Name = "Mars Trail",
+ Path = "/Solar System/Planets/Mars",
+ Description = [[ Trail of Mars as observed by the Sun. Data from NASA Spice (see
+ base spice asset)]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { MarsTrail })
asset.meta = {
- Name = "Mars Trail",
- Version = "1.0",
- Description = [[ Main Mars trail from SPICE.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"MarsTrail"}
+ Name = "Mars Trail",
+ Version = "1.0",
+ Description = [[ Main Mars trail from SPICE.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"MarsTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/trail_earth.asset b/data/assets/scene/solarsystem/planets/mars/trail_earth.asset
index 4565a8d6a7..62286cbae2 100644
--- a/data/assets/scene/solarsystem/planets/mars/trail_earth.asset
+++ b/data/assets/scene/solarsystem/planets/mars/trail_earth.asset
@@ -6,39 +6,39 @@ asset.require("spice/base")
local MarsTrailEarth = {
- Identifier = "MarsTrailEarth",
- Parent = earthTransforms.EarthBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "MARS BARYCENTER",
- Observer = "EARTH"
- },
- Color = { 1.0, 0.5, 0.2 },
- Period = 224.695,
- Resolution = 1000,
- Enabled = false
+ Identifier = "MarsTrailEarth",
+ Parent = earthTransforms.EarthBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "MARS BARYCENTER",
+ Observer = "EARTH"
},
- Tag = { "planetTrail_solarSystem_alt", "planetTrail_terrestrial_alt" },
- GUI = {
- Name = "Mars trail from Earth",
- Path = "/Solar System/Planets/Mars",
- Hidden = false,
- Description = [[ Trail of Mars as observed by the Earth]],
- }
+ Color = { 1.0, 0.5, 0.2 },
+ Period = 224.695,
+ Resolution = 1000,
+ Enabled = false
+ },
+ Tag = { "planetTrail_solarSystem_alt", "planetTrail_terrestrial_alt" },
+ GUI = {
+ Name = "Mars trail from Earth",
+ Path = "/Solar System/Planets/Mars",
+ Hidden = false,
+ Description = [[ Trail of Mars as observed by the Earth]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { MarsTrailEarth })
asset.meta = {
- Name = "Mars Trail from Earth",
- Version = "1.0",
- Description = [[ Trail of Mars, parented to Earth with Earth as the SPICE observer.
- Data from NASA SPICE (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"MarsTrailEarth"}
+ Name = "Mars Trail from Earth",
+ Version = "1.0",
+ Description = [[ Trail of Mars, parented to Earth with Earth as the SPICE observer.
+ Data from NASA SPICE (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"MarsTrailEarth"}
}
diff --git a/data/assets/scene/solarsystem/planets/mars/transforms.asset b/data/assets/scene/solarsystem/planets/mars/transforms.asset
index a7d410d5c1..1ec160733b 100644
--- a/data/assets/scene/solarsystem/planets/mars/transforms.asset
+++ b/data/assets/scene/solarsystem/planets/mars/transforms.asset
@@ -3,32 +3,32 @@ local transforms = asset.require('scene/solarsystem/sun/transforms')
asset.require("spice/base")
local MarsBarycenter = {
- Identifier = "MarsBarycenter",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "MARS BARYCENTER",
- Observer = "SUN"
- }
- },
- GUI = {
- Name = "Mars Barycenter",
- Path = "/Solar System/Planets/Mars",
- Hidden = true,
- Description = [[ SPICE Translation for targeting Mars Barycenter]],
+ Identifier = "MarsBarycenter",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "MARS BARYCENTER",
+ Observer = "SUN"
}
+ },
+ GUI = {
+ Name = "Mars Barycenter",
+ Path = "/Solar System/Planets/Mars",
+ Hidden = true,
+ Description = [[ SPICE Translation for targeting Mars Barycenter]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { MarsBarycenter })
asset.meta = {
- Name = "Mars Transforms",
- Version = "1.0",
- Description = [[ Transform with position for Mars.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"MarsBarycenter"}
+ Name = "Mars Transforms",
+ Version = "1.0",
+ Description = [[ Transform with position for Mars.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"MarsBarycenter"}
}
diff --git a/data/assets/scene/solarsystem/planets/mercury/default_layers.asset b/data/assets/scene/solarsystem/planets/mercury/default_layers.asset
index d815269d83..1193812a21 100644
--- a/data/assets/scene/solarsystem/planets/mercury/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/default_layers.asset
@@ -38,19 +38,19 @@ asset.require(colorLayersPath .. "/ssimap_02122015")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Mercury.Renderable.Layers.ColorLayers." ..
- colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Mercury.Renderable.Layers.ColorLayers." ..
+ colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Mercury Layers",
- Version = "1.0",
- Description = [[ Default Mercury layers are: Messenger MDIS, Messenger Mosaic2,
- Messenger BDR, Messenger MDR, Messenger MP3, Messenger Hie, Messenger Hiw,
- Messenger LOI, Messenger SHADE, Aluminum Abundance, Calcium Abundance, Iron
- Abundance, Magnesium Abundance, and Silicon Abundance]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Mercury Layers",
+ Version = "1.0",
+ Description = [[ Default Mercury layers are: Messenger MDIS, Messenger Mosaic2,
+ Messenger BDR, Messenger MDR, Messenger MP3, Messenger Hie, Messenger Hiw,
+ Messenger LOI, Messenger SHADE, Aluminum Abundance, Calcium Abundance, Iron
+ Abundance, Magnesium Abundance, and Silicon Abundance]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/alsimap_02122015.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/alsimap_02122015.asset
index 5d6343e53f..7ded2c0167 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/alsimap_02122015.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/alsimap_02122015.asset
@@ -2,14 +2,14 @@ local texturesPath = asset.require("./../../mercury_textures").TexturesPath
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Name = "Aluminium Abundance",
- Identifier = "alsimap_02122015",
- FilePath = texturesPath .. "/alsimap_02122015.png",
- BlendMode = "Multiply",
+ Name = "Aluminium Abundance",
+ Identifier = "alsimap_02122015",
+ FilePath = texturesPath .. "/alsimap_02122015.png",
+ BlendMode = "Multiply",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/casimap_02122015.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/casimap_02122015.asset
index 65cce51790..32f3535fd6 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/casimap_02122015.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/casimap_02122015.asset
@@ -2,14 +2,14 @@ local texturesPath = asset.require("./../../mercury_textures").TexturesPath
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Name = "Calcium Abundance",
- Identifier = "casimap_02122015",
- FilePath = texturesPath .. "/casimap_02122015.png",
- BlendMode = "Multiply",
+ Name = "Calcium Abundance",
+ Identifier = "casimap_02122015",
+ FilePath = texturesPath .. "/casimap_02122015.png",
+ BlendMode = "Multiply",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/fesimap_02122015.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/fesimap_02122015.asset
index f8413736b9..dd3c272b19 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/fesimap_02122015.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/fesimap_02122015.asset
@@ -2,14 +2,14 @@ local texturesPath = asset.require("./../../mercury_textures").TexturesPath
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Name = "Iron Abundance",
- Identifier = "fesimap_02122015",
- FilePath = texturesPath .. "/fesimap_02122015.png",
- BlendMode = "Multiply",
+ Name = "Iron Abundance",
+ Identifier = "fesimap_02122015",
+ FilePath = texturesPath .. "/fesimap_02122015.png",
+ BlendMode = "Multiply",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_bdr_sweden.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_bdr_sweden.asset
index f2e2c76b17..5c1be9ae17 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_bdr_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_bdr_sweden.asset
@@ -2,14 +2,14 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_BDR_Sweden",
- Name = "Messenger BDR [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Messenger_BDR.wms",
- TilePixelSize = 360,
+ Identifier = "Messenger_BDR_Sweden",
+ Name = "Messenger BDR [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Messenger_BDR.wms",
+ TilePixelSize = 360,
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_bdr_utah.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_bdr_utah.asset
index 5a982326a3..739f312e00 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_bdr_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_bdr_utah.asset
@@ -2,14 +2,14 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_BDR_Utah",
- Name = "Messenger BDR [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/MessengerBDR.wms",
- TilePixelSize = 360,
+ Identifier = "Messenger_BDR_Utah",
+ Name = "Messenger BDR [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/MessengerBDR.wms",
+ TilePixelSize = 360,
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_hie_sweden.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_hie_sweden.asset
index 78c4936ba8..808b5726c9 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_hie_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_hie_sweden.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_HIE_Sweden",
- Name = "Messenger HIE [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Messenger_HIE.wms",
+ Identifier = "Messenger_HIE_Sweden",
+ Name = "Messenger HIE [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Messenger_HIE.wms",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_hie_utah.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_hie_utah.asset
index 7691c0ce8a..0e5c229df6 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_hie_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_hie_utah.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_HIE_Utah",
- Name = "Messenger HIE [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/MessengerHIE.wms",
+ Identifier = "Messenger_HIE_Utah",
+ Name = "Messenger HIE [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/MessengerHIE.wms",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_hiw_sweden.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_hiw_sweden.asset
index 280ac3eb9e..bb2fd1bf06 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_hiw_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_hiw_sweden.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_HIW_Sweden",
- Name = "Messenger HIW [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Messenger_HIW.wms",
+ Identifier = "Messenger_HIW_Sweden",
+ Name = "Messenger HIW [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Messenger_HIW.wms",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_hiw_utah.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_hiw_utah.asset
index 6f2bc6d5b2..4eccc97a04 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_hiw_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_hiw_utah.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_HIW_Utah",
- Name = "Messenger HIW [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/MessengerHIW.wms",
+ Identifier = "Messenger_HIW_Utah",
+ Name = "Messenger HIW [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/MessengerHIW.wms",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_loi_sweden.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_loi_sweden.asset
index 72bbc5b90e..a6f1749c87 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_loi_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_loi_sweden.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_LOI_Sweden",
- Name = "Messenger LOI [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Messenger_LOI.wms",
+ Identifier = "Messenger_LOI_Sweden",
+ Name = "Messenger LOI [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Messenger_LOI.wms",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_loi_utah.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_loi_utah.asset
index 1a6dbafe0c..c4bfe727b5 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_loi_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_loi_utah.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_LOI_Utah",
- Name = "Messenger LOI [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/MessengerLOI.wms",
+ Identifier = "Messenger_LOI_Utah",
+ Name = "Messenger LOI [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/MessengerLOI.wms",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mdis_sweden.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mdis_sweden.asset
index b9d4e7b2d4..541c360148 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mdis_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mdis_sweden.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_MDIS_Sweden",
- Name = "Messenger MDIS [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Messenger_MDIS.wms",
+ Identifier = "Messenger_MDIS_Sweden",
+ Name = "Messenger MDIS [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Messenger_MDIS.wms",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mdis_utah.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mdis_utah.asset
index b70a1a5ee2..231aa8bba8 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mdis_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mdis_utah.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_MDIS_Utah",
- Name = "Messenger MDIS [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/MessengerMDIS.wms",
+ Identifier = "Messenger_MDIS_Utah",
+ Name = "Messenger MDIS [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/MessengerMDIS.wms",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mdr_utah.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mdr_utah.asset
index 823f41c2e8..01a5d89f63 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mdr_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mdr_utah.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_MDR_Utah",
- Name = "Messenger MDR [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/MessengerMDR.wms",
+ Identifier = "Messenger_MDR_Utah",
+ Name = "Messenger MDR [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/MessengerMDR.wms",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mosaic2_sweden.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mosaic2_sweden.asset
index 19360c6b35..ea4103fb23 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mosaic2_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mosaic2_sweden.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_Mosaic2_Sweden",
- Name = "Messenger Mosaic2 [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Messenger_Mosaic_2.wms",
+ Identifier = "Messenger_Mosaic2_Sweden",
+ Name = "Messenger Mosaic2 [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Messenger_Mosaic_2.wms",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mosaic2_utah.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mosaic2_utah.asset
index ffc60b6d2d..b2779a0203 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mosaic2_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mosaic2_utah.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_Mosaic2_Utah",
- Name = "Messenger Mosaic2 [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/MessengerMosaic2.wms",
+ Identifier = "Messenger_Mosaic2_Utah",
+ Name = "Messenger Mosaic2 [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/MessengerMosaic2.wms",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mosaic_sweden.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mosaic_sweden.asset
index b076345663..8ba07d375f 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mosaic_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mosaic_sweden.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_Mosaic_Sweden",
- Name = "Messenger Mosaic [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Messenger_Mosaic.wms"
+ Identifier = "Messenger_Mosaic_Sweden",
+ Name = "Messenger Mosaic [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Messenger_Mosaic.wms"
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mosaic_utah.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mosaic_utah.asset
index eedb57aa13..9e6f140cb4 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mosaic_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mosaic_utah.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_Mosaic_Utah",
- Name = "Messenger Mosaic [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/MessengerMosaic.wms"
+ Identifier = "Messenger_Mosaic_Utah",
+ Name = "Messenger Mosaic [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/MessengerMosaic.wms"
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mp3_utah.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mp3_utah.asset
index 2ac4465b94..e9599d9bc6 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mp3_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_mp3_utah.asset
@@ -2,13 +2,13 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_MP3_Utah",
- Name = "Messenger MP3 [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/MessengerMP3.wms",
+ Identifier = "Messenger_MP3_Utah",
+ Name = "Messenger MP3 [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/MessengerMP3.wms",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_shade_sweden.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_shade_sweden.asset
index 5f6c56aa35..75e1311ce6 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_shade_sweden.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_shade_sweden.asset
@@ -2,18 +2,18 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_SHADE_Sweden",
- Name = "Messenger SHADE [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/Messenger_SHADE.wms",
- Settings = {
- Gamma = 1.33,
- Multiplier = 1.15
- },
- BlendMode = "Multiply",
+ Identifier = "Messenger_SHADE_Sweden",
+ Name = "Messenger SHADE [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/Messenger_SHADE.wms",
+ Settings = {
+ Gamma = 1.33,
+ Multiplier = 1.15
+ },
+ BlendMode = "Multiply",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_shade_utah.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_shade_utah.asset
index dba443c440..db21653329 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_shade_utah.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/messenger_shade_utah.asset
@@ -2,18 +2,18 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Identifier = "Messenger_SHADE_Utah",
- Name = "Messenger SHADE [Utah]",
- FilePath = mapServiceConfigs .. "/Utah/MessengerSHADE.wms",
- Settings = {
- Gamma = 1.33,
- Multiplier = 1.15
- },
- BlendMode = "Multiply",
+ Identifier = "Messenger_SHADE_Utah",
+ Name = "Messenger SHADE [Utah]",
+ FilePath = mapServiceConfigs .. "/Utah/MessengerSHADE.wms",
+ Settings = {
+ Gamma = 1.33,
+ Multiplier = 1.15
+ },
+ BlendMode = "Multiply",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/mgsimap_02122015.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/mgsimap_02122015.asset
index 5e1a9fb48b..8dbb6ce060 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/mgsimap_02122015.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/mgsimap_02122015.asset
@@ -2,18 +2,18 @@ local texturesPath = asset.require("./../../mercury_textures").TexturesPath
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Name = "Magnesium Abundance",
- Identifier = "mgsimap_02122015",
- FilePath = texturesPath .. "/mgsimap_02122015.png",
- Settings = {
- Gamma = 1.33,
- Multiplier = 1.15
- },
- BlendMode = "Multiply",
+ Name = "Magnesium Abundance",
+ Identifier = "mgsimap_02122015",
+ FilePath = texturesPath .. "/mgsimap_02122015.png",
+ Settings = {
+ Gamma = 1.33,
+ Multiplier = 1.15
+ },
+ BlendMode = "Multiply",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/ssimap_02122015.asset b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/ssimap_02122015.asset
index 7139cffd5f..8922f0cdfb 100644
--- a/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/ssimap_02122015.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/layers/colorlayers/ssimap_02122015.asset
@@ -2,14 +2,14 @@ local texturesPath = asset.require("./../../mercury_textures").TexturesPath
local globeIdentifier = asset.require("./../../mercury").Mercury.Identifier
local layer = {
- Name = "Silicon Abundance",
- Identifier = "ssimap_02122015",
- FilePath = texturesPath .. "/ssimap_02122015.png",
- BlendMode = "Multiply",
+ Name = "Silicon Abundance",
+ Identifier = "ssimap_02122015",
+ FilePath = texturesPath .. "/ssimap_02122015.png",
+ BlendMode = "Multiply",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/mercury/mercury.asset b/data/assets/scene/solarsystem/planets/mercury/mercury.asset
index 4ce1efa083..f1ea2d6c06 100644
--- a/data/assets/scene/solarsystem/planets/mercury/mercury.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/mercury.asset
@@ -6,77 +6,77 @@ asset.require("spice/base")
asset.require('./trail')
local Mercury = {
- Identifier = "Mercury",
- Parent = transforms.MercuryBarycenter.Identifier,
- Transform = {
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_MERCURY",
- DestinationFrame = "GALACTIC"
- }
- },
- Renderable = {
- Type = "RenderableGlobe",
- Radii = 2439700,
- Frame = "IAU_MERCURY",
- Body = "MERCURY",
- CameraMinHeight = 300,
- SegmentsPerPatch = 64,
- Layers = {},
- Labels = {
- Enable = false,
- FileName = labelsPath .. "/Mercury.labels",
- LabelAlignmentOption = "Horizontally", -- or Circularly
- LabelsFontSize = 22.0,
- LabelsSize = 10.0,
- LabelsMinSize = 1.0,
- LabelsMaxSize = 1500.0,
- ProximityEnabled = false,
- LabelsFadeInEnabled = true,
- LabelsFadeOutEnabled = true,
- FadeInStartingDistance = 5000000.0,
- FadeOutStartingDistance = 1800000.0,
- LabelsForceDomeRendering = true,
- LabelsDistanceEPS = 1500000.0,
- LabelsColor = { 1.0, 1.0, 0.0 }
- }
- },
- Tag = { "planet_solarSystem", "planet_terrestrial" },
- GUI = {
- Path = "/Solar System/Planets/Mercury"
+ Identifier = "Mercury",
+ Parent = transforms.MercuryBarycenter.Identifier,
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_MERCURY",
+ DestinationFrame = "GALACTIC"
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = 2439700,
+ Frame = "IAU_MERCURY",
+ Body = "MERCURY",
+ CameraMinHeight = 300,
+ SegmentsPerPatch = 64,
+ Layers = {},
+ Labels = {
+ Enable = false,
+ FileName = labelsPath .. "/Mercury.labels",
+ LabelAlignmentOption = "Horizontally", -- or Circularly
+ LabelsFontSize = 22.0,
+ LabelsSize = 10.0,
+ LabelsMinSize = 1.0,
+ LabelsMaxSize = 1500.0,
+ ProximityEnabled = false,
+ LabelsFadeInEnabled = true,
+ LabelsFadeOutEnabled = true,
+ FadeInStartingDistance = 5000000.0,
+ FadeOutStartingDistance = 1800000.0,
+ LabelsForceDomeRendering = true,
+ LabelsDistanceEPS = 1500000.0,
+ LabelsColor = { 1.0, 1.0, 0.0 }
+ }
+ },
+ Tag = { "planet_solarSystem", "planet_terrestrial" },
+ GUI = {
+ Path = "/Solar System/Planets/Mercury"
+ }
}
local MercuryLabel = {
- Identifier = "MercuryLabel",
- Parent = Mercury.Identifier,
- Renderable = {
- Enabled = false,
- Type = "RenderableLabels",
- LabelText = "Mercury",
- FontSize = 100.0,
- LabelSize = 8.3,
- LabelMaxSize = 100.0,
- LabelMinSize = 1.0,
- LabelOrientationOption = "Camera View Direction",
- BlendMode = "Additive"
- },
- Tag = { "solarsystem_labels" },
- GUI = {
- Name = "Mercury Label",
- Path = "/Solar System/Planets/Mercury",
- }
+ Identifier = "MercuryLabel",
+ Parent = Mercury.Identifier,
+ Renderable = {
+ Enabled = false,
+ Type = "RenderableLabels",
+ LabelText = "Mercury",
+ FontSize = 100.0,
+ LabelSize = 8.3,
+ LabelMaxSize = 100.0,
+ LabelMinSize = 1.0,
+ LabelOrientationOption = "Camera View Direction",
+ BlendMode = "Additive"
+ },
+ Tag = { "solarsystem_labels" },
+ GUI = {
+ Name = "Mercury Label",
+ Path = "/Solar System/Planets/Mercury",
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Mercury, MercuryLabel })
asset.meta = {
- Name = "Mercury",
- Version = "1.0",
- Description = [[ Mercury globe with labels, and main planet label.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Mercury" , "MercuryLabel"}
+ Name = "Mercury",
+ Version = "1.0",
+ Description = [[ Mercury globe with labels, and main planet label.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Mercury" , "MercuryLabel"}
}
diff --git a/data/assets/scene/solarsystem/planets/mercury/mercury_globelabels.asset b/data/assets/scene/solarsystem/planets/mercury/mercury_globelabels.asset
index 49b6148dfa..14cbb35a14 100644
--- a/data/assets/scene/solarsystem/planets/mercury/mercury_globelabels.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/mercury_globelabels.asset
@@ -1,7 +1,7 @@
local LabelsPath = asset.syncedResource({
- Name = "Mercury Labels",
- Type = "HttpSynchronization",
- Identifier = "mercury_labels",
- Version = 1
+ Name = "Mercury Labels",
+ Type = "HttpSynchronization",
+ Identifier = "mercury_labels",
+ Version = 1
})
asset.export("LabelsPath", LabelsPath)
\ No newline at end of file
diff --git a/data/assets/scene/solarsystem/planets/mercury/mercury_textures.asset b/data/assets/scene/solarsystem/planets/mercury/mercury_textures.asset
index cc275ee677..3ff8488a6d 100644
--- a/data/assets/scene/solarsystem/planets/mercury/mercury_textures.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/mercury_textures.asset
@@ -1,7 +1,7 @@
local TexturesPath = asset.syncedResource({
- Name = "Mercury Textures",
- Type = "HttpSynchronization",
- Identifier = "mercury_abundance_textures",
- Version = 1
+ Name = "Mercury Textures",
+ Type = "HttpSynchronization",
+ Identifier = "mercury_abundance_textures",
+ Version = 1
})
asset.export("TexturesPath", TexturesPath)
diff --git a/data/assets/scene/solarsystem/planets/mercury/trail.asset b/data/assets/scene/solarsystem/planets/mercury/trail.asset
index c13026c14b..40628994a2 100644
--- a/data/assets/scene/solarsystem/planets/mercury/trail.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/trail.asset
@@ -5,37 +5,37 @@ asset.require("spice/base")
local MercuryTrail = {
- Identifier = "MercuryTrail",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "MERCURY",
- Observer = "SUN"
- },
- Color = { 0.6, 0.5, 0.5 },
- Period = 87.968,
- Resolution = 1000
+ Identifier = "MercuryTrail",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "MERCURY",
+ Observer = "SUN"
},
- Tag = { "planetTrail_solarSystem", "planetTrail_terrestrial" },
- GUI = {
- Name = "Mercury Trail",
- Path = "/Solar System/Planets/Mercury",
- Description = [[ Trail of Mercury as observed by the Sun.]],
- }
+ Color = { 0.6, 0.5, 0.5 },
+ Period = 87.968,
+ Resolution = 1000
+ },
+ Tag = { "planetTrail_solarSystem", "planetTrail_terrestrial" },
+ GUI = {
+ Name = "Mercury Trail",
+ Path = "/Solar System/Planets/Mercury",
+ Description = [[ Trail of Mercury as observed by the Sun.]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { MercuryTrail })
asset.meta = {
- Name = "Mercury Trail",
- Version = "1.0",
- Description = [[ Main trail for Mercury. Data from NASA Spice (see
- base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"MercuryTrail"}
+ Name = "Mercury Trail",
+ Version = "1.0",
+ Description = [[ Main trail for Mercury. Data from NASA Spice (see
+ base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"MercuryTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/mercury/trail_earth.asset b/data/assets/scene/solarsystem/planets/mercury/trail_earth.asset
index 6f9c702a2a..1b0a35d935 100644
--- a/data/assets/scene/solarsystem/planets/mercury/trail_earth.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/trail_earth.asset
@@ -6,39 +6,39 @@ asset.require("spice/base")
local MercuryTrailEarth = {
- Identifier = "MercuryTrailEarth",
- Parent = earthTransforms.EarthBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "MERCURY BARYCENTER",
- Observer = "EARTH"
- },
- Color = { 1.0, 0.5, 0.2 },
- Period = 224.695,
- Resolution = 1000,
- Enabled = false
+ Identifier = "MercuryTrailEarth",
+ Parent = earthTransforms.EarthBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "MERCURY BARYCENTER",
+ Observer = "EARTH"
},
- Tag = { "planetTrail_solarSystem_alt", "planetTrail_terrestrial_alt" },
- GUI = {
- Name = "Mercury trail from Earth",
- Path = "/Solar System/Planets/Mercury",
- Hidden = false,
- Description = [[ Trail of Mercury as observed by the Earth.]],
- }
+ Color = { 1.0, 0.5, 0.2 },
+ Period = 224.695,
+ Resolution = 1000,
+ Enabled = false
+ },
+ Tag = { "planetTrail_solarSystem_alt", "planetTrail_terrestrial_alt" },
+ GUI = {
+ Name = "Mercury trail from Earth",
+ Path = "/Solar System/Planets/Mercury",
+ Hidden = false,
+ Description = [[ Trail of Mercury as observed by the Earth.]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { MercuryTrailEarth })
asset.meta = {
- Name = "Mercury Trail from Earth",
- Version = "1.0",
- Description = [[ Alternate trail of Mercury, as observed by the Earth rather then the
- Sun.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"MercuryTrailEarth"}
+ Name = "Mercury Trail from Earth",
+ Version = "1.0",
+ Description = [[ Alternate trail of Mercury, as observed by the Earth rather then the
+ Sun.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"MercuryTrailEarth"}
}
diff --git a/data/assets/scene/solarsystem/planets/mercury/transforms.asset b/data/assets/scene/solarsystem/planets/mercury/transforms.asset
index 8cb25558bf..21b85f696b 100644
--- a/data/assets/scene/solarsystem/planets/mercury/transforms.asset
+++ b/data/assets/scene/solarsystem/planets/mercury/transforms.asset
@@ -3,32 +3,32 @@ local transforms = asset.require('scene/solarsystem/sun/transforms')
asset.require("spice/base")
local MercuryBarycenter = {
- Identifier = "MercuryBarycenter",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "MERCURY",
- Observer = "SUN"
- }
- },
- GUI = {
- Name = "Mercury Barycenter",
- Path = "/Solar System/Planets/Mercury",
- Hidden = true,
- Description = [[ Mercury Barycenter position]],
+ Identifier = "MercuryBarycenter",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "MERCURY",
+ Observer = "SUN"
}
+ },
+ GUI = {
+ Name = "Mercury Barycenter",
+ Path = "/Solar System/Planets/Mercury",
+ Hidden = true,
+ Description = [[ Mercury Barycenter position]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { MercuryBarycenter })
asset.meta = {
- Name = "Mercury Transforms",
- Version = "1.0",
- Description = [[ Mercury Barycenter transform]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"MercuryBarycenter"}
+ Name = "Mercury Transforms",
+ Version = "1.0",
+ Description = [[ Mercury Barycenter transform]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"MercuryBarycenter"}
}
diff --git a/data/assets/scene/solarsystem/planets/neptune/default_layers.asset b/data/assets/scene/solarsystem/planets/neptune/default_layers.asset
index 4f16da0714..aa5c63aeb5 100644
--- a/data/assets/scene/solarsystem/planets/neptune/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/neptune/default_layers.asset
@@ -5,16 +5,16 @@ local colorLayer = asset.require(colorLayersPath .. "/neptune_texture")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Neptune.Renderable.Layers.ColorLayers." ..
- colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Neptune.Renderable.Layers.ColorLayers." ..
+ colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Neptune Layers",
- Version = "1.0",
- Description = [[ Default Neptune layers are: Neptune Texture]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Neptune Layers",
+ Version = "1.0",
+ Description = [[ Default Neptune layers are: Neptune Texture]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/neptune/inner_moons.asset b/data/assets/scene/solarsystem/planets/neptune/inner_moons.asset
index 582fd9f83b..3a6dddaba4 100644
--- a/data/assets/scene/solarsystem/planets/neptune/inner_moons.asset
+++ b/data/assets/scene/solarsystem/planets/neptune/inner_moons.asset
@@ -13,148 +13,148 @@ local parentSpice = "NEPTUNE BARYCENTER"
local tags = { "moon_solarSystem", "moon_giants", "moon_neptune", "moon_inner" }
local trailColor = { 0.2, 0.5, 0.75 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_neptune",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_neptune",
+ "moonTrail_minor"
}
local innerMoons = {
- {
- Identifier = "Naiad",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "NAIAD",
- Radii = { 96000, 60000, 52000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Neptune/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.294,
- Kernels = kernel088
+ {
+ Identifier = "Naiad",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Thalassa",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "THALASSA",
- Radii = { 108000, 100000, 52000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Neptune/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.311,
- Kernels = kernel088
+ Spice = "NAIAD",
+ Radii = { 96000, 60000, 52000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Neptune/Moons/Inner Moons"
},
- {
- Identifier = "Despina",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "DESPINA",
- Radii = { 180000, 148000, 128000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Neptune/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.335,
- Kernels = kernel088
+ TrailColor = trailColor,
+ OrbitPeriod = 0.294,
+ Kernels = kernel088
+ },
+ {
+ Identifier = "Thalassa",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Galatea",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "GALATEA",
- Radii = { 204000, 184000, 144000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Neptune/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.429,
- Kernels = kernel088
+ Spice = "THALASSA",
+ Radii = { 108000, 100000, 52000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Neptune/Moons/Inner Moons"
},
- {
- Identifier = "Larissa",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "LARISSA",
- Radii = { 216000, 204000, 168000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Neptune/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.555,
- Kernels = kernel088
+ TrailColor = trailColor,
+ OrbitPeriod = 0.311,
+ Kernels = kernel088
+ },
+ {
+ Identifier = "Despina",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "S2004N1",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "814",
- Radii = { 16000, 16000, 16000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2004 N 1",
- Path = "/Solar System/Planets/Neptune/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.936,
- Kernels = kernel088
+ Spice = "DESPINA",
+ Radii = { 180000, 148000, 128000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Neptune/Moons/Inner Moons"
},
- {
- Identifier = "Proteus",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "PROTEUS",
- Radii = { 436000, 416000, 402000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Neptune/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1.122,
- Kernels = kernel081
- }
+ TrailColor = trailColor,
+ OrbitPeriod = 0.335,
+ Kernels = kernel088
+ },
+ {
+ Identifier = "Galatea",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "GALATEA",
+ Radii = { 204000, 184000, 144000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Neptune/Moons/Inner Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 0.429,
+ Kernels = kernel088
+ },
+ {
+ Identifier = "Larissa",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "LARISSA",
+ Radii = { 216000, 204000, 168000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Neptune/Moons/Inner Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 0.555,
+ Kernels = kernel088
+ },
+ {
+ Identifier = "S2004N1",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "814",
+ Radii = { 16000, 16000, 16000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2004 N 1",
+ Path = "/Solar System/Planets/Neptune/Moons/Inner Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 0.936,
+ Kernels = kernel088
+ },
+ {
+ Identifier = "Proteus",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "PROTEUS",
+ Radii = { 436000, 416000, 402000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Neptune/Moons/Inner Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1.122,
+ Kernels = kernel081
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
- asset,
- proceduralGlobes.createGlobes(innerMoons)
+ asset,
+ proceduralGlobes.createGlobes(innerMoons)
)
asset.meta = {
- Name = "Neptune Inner Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Neptune' inner prograde moons:
- Naiad, Thalassa, Despina, Galatea, Larissa, S2004N1, and Proteus. Blank globes and
- SPICE trails are generated for each moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Neptune Inner Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Neptune' inner prograde moons:
+ Naiad, Thalassa, Despina, Galatea, Larissa, S2004N1, and Proteus. Blank globes and
+ SPICE trails are generated for each moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/neptune/irregular_prograde_moons.asset b/data/assets/scene/solarsystem/planets/neptune/irregular_prograde_moons.asset
index 826e6366c4..810434bbc0 100644
--- a/data/assets/scene/solarsystem/planets/neptune/irregular_prograde_moons.asset
+++ b/data/assets/scene/solarsystem/planets/neptune/irregular_prograde_moons.asset
@@ -13,79 +13,79 @@ local parentSpice = "NEPTUNE BARYCENTER"
local tags = { "moon_solarSystem", "moon_giants", "moon_neptune", "moon_irregular_prograde" }
local trailColor = { 0.2, 0.5, 0.75 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_neptune",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_neptune",
+ "moonTrail_minor"
}
local irregularProgradeMoons = {
- {
- Identifier = "Halimede",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "HALIMEDE",
- Radii = { 62000, 62000, 62000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Neptune/Moons/Irregular Prograde Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1879.08,
- Kernels = kernel086
+ {
+ Identifier = "Halimede",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Psamathe",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "PSAMATHE",
- Radii = { 40000, 40000, 40000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Neptune/Moons/Irregular Prograde Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 9074.3,
- Kernels = kernel086
+ Spice = "HALIMEDE",
+ Radii = { 62000, 62000, 62000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Neptune/Moons/Irregular Prograde Moons"
},
- {
- Identifier = "Neso",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "NESO",
- Radii = { 60000, 60000, 60000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Neptune/Moons/Irregular Prograde Moons"
+ TrailColor = trailColor,
+ OrbitPeriod = 1879.08,
+ Kernels = kernel086
+ },
+ {
+ Identifier = "Psamathe",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- TrailColor = trailColor,
- OrbitPeriod = 9740.73,
- Kernels = kernel086
- }
+ Spice = "PSAMATHE",
+ Radii = { 40000, 40000, 40000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Neptune/Moons/Irregular Prograde Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 9074.3,
+ Kernels = kernel086
+ },
+ {
+ Identifier = "Neso",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "NESO",
+ Radii = { 60000, 60000, 60000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Neptune/Moons/Irregular Prograde Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 9740.73,
+ Kernels = kernel086
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
- asset,
- proceduralGlobes.createGlobes(irregularProgradeMoons)
+ asset,
+ proceduralGlobes.createGlobes(irregularProgradeMoons)
)
asset.meta = {
- Name = "Neptune Irregular Prograde Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Neptune' irregular prograde
- moons: Halimede, Psamathe and Neso. Blank globes and SPICE trails are generated for
- each moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Neptune Irregular Prograde Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Neptune' irregular prograde
+ moons: Halimede, Psamathe and Neso. Blank globes and SPICE trails are generated for
+ each moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/neptune/irregular_retrograde_moons.asset b/data/assets/scene/solarsystem/planets/neptune/irregular_retrograde_moons.asset
index e40bdb9962..badb4eb266 100644
--- a/data/assets/scene/solarsystem/planets/neptune/irregular_retrograde_moons.asset
+++ b/data/assets/scene/solarsystem/planets/neptune/irregular_retrograde_moons.asset
@@ -12,79 +12,79 @@ local parentSpice = "NEPTUNE BARYCENTER"
local tags = { "moon_solarSystem", "moon_giants", "moon_neptune", "moon_irregular_retrograde" }
local trailColor = { 0.2, 0.5, 0.75 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_neptune",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_neptune",
+ "moonTrail_minor"
}
local irregularRetrogradeMoons = {
- {
- Identifier = "Nereid",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "NEREID",
- Radii = { 340000, 340000, 340000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Neptune/Moons/Irregular Retrograde Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 360.13,
- Kernels = kernel081
+ {
+ Identifier = "Nereid",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Sao",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "SAO",
- Radii = { 44000, 44000, 44000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Neptune/Moons/Irregular Retrograde Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 2912.72,
- Kernels = kernel086
+ Spice = "NEREID",
+ Radii = { 340000, 340000, 340000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Neptune/Moons/Irregular Retrograde Moons"
},
- {
- Identifier = "Laomedeia",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "LAOMEDEIA",
- Radii = { 42000, 42000, 42000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Neptune/Moons/Irregular Retrograde Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 3171.33,
- Kernels = kernel086
- }
+ TrailColor = trailColor,
+ OrbitPeriod = 360.13,
+ Kernels = kernel081
+ },
+ {
+ Identifier = "Sao",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "SAO",
+ Radii = { 44000, 44000, 44000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Neptune/Moons/Irregular Retrograde Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 2912.72,
+ Kernels = kernel086
+ },
+ {
+ Identifier = "Laomedeia",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "LAOMEDEIA",
+ Radii = { 42000, 42000, 42000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Neptune/Moons/Irregular Retrograde Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 3171.33,
+ Kernels = kernel086
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
- asset,
- proceduralGlobes.createGlobes(irregularRetrogradeMoons)
+ asset,
+ proceduralGlobes.createGlobes(irregularRetrogradeMoons)
)
asset.meta = {
- Name = "Neptune Irregular Retrograde Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Neptune' irregular retrograde
- moons: Nereid, Sao and Laomedeia. Blank globes and SPICE trails are generated for
- each moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Neptune Irregular Retrograde Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Neptune' irregular retrograde
+ moons: Nereid, Sao and Laomedeia. Blank globes and SPICE trails are generated for
+ each moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/neptune/kernels.asset b/data/assets/scene/solarsystem/planets/neptune/kernels.asset
index 588330a97f..8898ad4e7f 100644
--- a/data/assets/scene/solarsystem/planets/neptune/kernels.asset
+++ b/data/assets/scene/solarsystem/planets/neptune/kernels.asset
@@ -1,8 +1,8 @@
local Kernels = asset.syncedResource({
- Name = "Neptune Spice Kernels",
- Type = "HttpSynchronization",
- Identifier = "neptune_kernels",
- Version = 1
+ Name = "Neptune Spice Kernels",
+ Type = "HttpSynchronization",
+ Identifier = "neptune_kernels",
+ Version = 1
})
asset.export("nep081", Kernels .. '/nep081.bsp')
@@ -12,10 +12,10 @@ asset.export("nep088", Kernels .. '/nep088.bsp')
asset.meta = {
- Name = "Neptune Spice Kernels",
- Version = "1.0",
- Description = [[ Generic SPICE kernels for Neptune.]],
- Author = "OpenSpace Team",
- URL = "https://naif.jpl.nasa.gov/pub/naif/pds/wgc/kernels/spk/",
- License = "NASA"
+ Name = "Neptune Spice Kernels",
+ Version = "1.0",
+ Description = [[ Generic SPICE kernels for Neptune.]],
+ Author = "OpenSpace Team",
+ URL = "https://naif.jpl.nasa.gov/pub/naif/pds/wgc/kernels/spk/",
+ License = "NASA"
}
diff --git a/data/assets/scene/solarsystem/planets/neptune/layers/colorlayers/neptune_texture.asset b/data/assets/scene/solarsystem/planets/neptune/layers/colorlayers/neptune_texture.asset
index ce7d259b94..5ee223dfa1 100644
--- a/data/assets/scene/solarsystem/planets/neptune/layers/colorlayers/neptune_texture.asset
+++ b/data/assets/scene/solarsystem/planets/neptune/layers/colorlayers/neptune_texture.asset
@@ -2,22 +2,22 @@ local texturesPath = asset.require("./../../neptune_textures").TexturesPath
local globeIdentifier = asset.require("./../../neptune").Neptune.Identifier
local layer = {
- Identifier = "Texture",
- FilePath = texturesPath .. "/neptune.jpg",
+ Identifier = "Texture",
+ FilePath = texturesPath .. "/neptune.jpg",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Neptune Texutre",
- Version = "1.0",
- Description = [[ Default jpg texture for Neptune]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Neptune Texutre",
+ Version = "1.0",
+ Description = [[ Default jpg texture for Neptune]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/neptune/major_moons.asset b/data/assets/scene/solarsystem/planets/neptune/major_moons.asset
index eb4df5b6cf..df57e32d64 100644
--- a/data/assets/scene/solarsystem/planets/neptune/major_moons.asset
+++ b/data/assets/scene/solarsystem/planets/neptune/major_moons.asset
@@ -2,10 +2,10 @@ asset.require('./triton')
asset.meta = {
- Name = "Neptune Minor Moons",
- Version = "1.0",
- Description = [[ Meta asset containing Neptune's major moon: Triton]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Neptune Minor Moons",
+ Version = "1.0",
+ Description = [[ Meta asset containing Neptune's major moon: Triton]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/neptune/neptune.asset b/data/assets/scene/solarsystem/planets/neptune/neptune.asset
index 5a3fa3df6b..1b53920d46 100644
--- a/data/assets/scene/solarsystem/planets/neptune/neptune.asset
+++ b/data/assets/scene/solarsystem/planets/neptune/neptune.asset
@@ -4,60 +4,60 @@ asset.require("spice/base")
asset.require('./trail')
local Neptune = {
- Identifier = "Neptune",
- Parent = transforms.NeptuneBarycenter.Identifier,
- Transform = {
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_NEPTUNE",
- DestinationFrame = "GALACTIC"
- }
- },
- Renderable = {
- Type = "RenderableGlobe",
- Radii = { 24764000.0, 24764000.0, 24314000.0 },
- SegmentsPerPatch = 64,
- Layers = {}
- },
- Tag = { "planet_solarSystem", "planet_giants" },
- GUI = {
- Name = "Neptune",
- Path = "/Solar System/Planets/Neptune",
- Description = [[Neptune globe]]
+ Identifier = "Neptune",
+ Parent = transforms.NeptuneBarycenter.Identifier,
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_NEPTUNE",
+ DestinationFrame = "GALACTIC"
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = { 24764000.0, 24764000.0, 24314000.0 },
+ SegmentsPerPatch = 64,
+ Layers = {}
+ },
+ Tag = { "planet_solarSystem", "planet_giants" },
+ GUI = {
+ Name = "Neptune",
+ Path = "/Solar System/Planets/Neptune",
+ Description = [[Neptune globe]]
+ }
}
local NeptuneLabel = {
- Identifier = "NeptuneLabel",
- Parent = Neptune.Identifier,
- Renderable = {
- Enabled = false,
- Type = "RenderableLabels",
- LabelText = "Neptune",
- FontSize = 100.0,
- LabelSize = 8.8,
- LabelMaxSize = 100.0,
- LabelMinSize = 1.0,
- LabelOrientationOption = "Camera View Direction",
- BlendMode = "Additive"
- },
- Tag = { "solarsystem_labels" },
- GUI = {
- Name = "Neptune Label",
- Path = "/Solar System/Planets/Neptune",
- Description = [[ Main planet label for Neptune.]],
- }
+ Identifier = "NeptuneLabel",
+ Parent = Neptune.Identifier,
+ Renderable = {
+ Enabled = false,
+ Type = "RenderableLabels",
+ LabelText = "Neptune",
+ FontSize = 100.0,
+ LabelSize = 8.8,
+ LabelMaxSize = 100.0,
+ LabelMinSize = 1.0,
+ LabelOrientationOption = "Camera View Direction",
+ BlendMode = "Additive"
+ },
+ Tag = { "solarsystem_labels" },
+ GUI = {
+ Name = "Neptune Label",
+ Path = "/Solar System/Planets/Neptune",
+ Description = [[ Main planet label for Neptune.]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Neptune, NeptuneLabel })
asset.meta = {
- Name = "Neptune",
- Version = "1.0",
- Description = [[ Neptune globe, and main planet label.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Neptune"}
+ Name = "Neptune",
+ Version = "1.0",
+ Description = [[ Neptune globe, and main planet label.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Neptune"}
}
diff --git a/data/assets/scene/solarsystem/planets/neptune/neptune_textures.asset b/data/assets/scene/solarsystem/planets/neptune/neptune_textures.asset
index 9674b1dde9..13adefb9a0 100644
--- a/data/assets/scene/solarsystem/planets/neptune/neptune_textures.asset
+++ b/data/assets/scene/solarsystem/planets/neptune/neptune_textures.asset
@@ -1,7 +1,7 @@
local TexturesPath = asset.syncedResource({
- Name = "Neptune textures",
- Type = "HttpSynchronization",
- Identifier = "neptune_textures",
- Version = 1
+ Name = "Neptune textures",
+ Type = "HttpSynchronization",
+ Identifier = "neptune_textures",
+ Version = 1
})
asset.export("TexturesPath", TexturesPath)
diff --git a/data/assets/scene/solarsystem/planets/neptune/trail.asset b/data/assets/scene/solarsystem/planets/neptune/trail.asset
index cc0a2d7eb4..86e554b33d 100644
--- a/data/assets/scene/solarsystem/planets/neptune/trail.asset
+++ b/data/assets/scene/solarsystem/planets/neptune/trail.asset
@@ -5,47 +5,47 @@ asset.require("spice/base")
local NeptuneTrail = {
- Identifier = "NeptuneTrail",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "NEPTUNE BARYCENTER",
- Observer = "SUN"
- },
- Color = { 0.2, 0.5, 1.0 },
- -- Period = 60200,
- -- Yes, this period is wrong, but the SPICE kernel we load by default only
- -- goes back to 1850. Neptunes orbit is 164 years, which would mean that we
- -- exceed the SPICE kernel if we go back before 2014, if we try to compute the
- -- entire orbit. Cutting the orbit length to 100 years allows us to go back
- -- to 1950 instead, which is good enough.
- -- If the positions are needed before that, a different set of kernels are
- -- needed, namely:
- -- https://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/de431_part-1.bsp
- -- https://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/de431_part-2.bsp
- -- that cover a larger time span: -13201-MAY-06 00:00 to 17191-MAR-15 00:00
- Period = 36500,
- Resolution = 1000
+ Identifier = "NeptuneTrail",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "NEPTUNE BARYCENTER",
+ Observer = "SUN"
},
- Tag = { "planetTrail_solarSystem", "planetTrail_giants" },
- GUI = {
- Name = "Neptune Trail",
- Path = "/Solar System/Planets/Neptune",
- Description = [[ Trail of Neptune as observed by the Sun.]]
- }
+ Color = { 0.2, 0.5, 1.0 },
+ -- Period = 60200,
+ -- Yes, this period is wrong, but the SPICE kernel we load by default only
+ -- goes back to 1850. Neptunes orbit is 164 years, which would mean that we
+ -- exceed the SPICE kernel if we go back before 2014, if we try to compute the
+ -- entire orbit. Cutting the orbit length to 100 years allows us to go back
+ -- to 1950 instead, which is good enough.
+ -- If the positions are needed before that, a different set of kernels are
+ -- needed, namely:
+ -- https://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/de431_part-1.bsp
+ -- https://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/de431_part-2.bsp
+ -- that cover a larger time span: -13201-MAY-06 00:00 to 17191-MAR-15 00:00
+ Period = 36500,
+ Resolution = 1000
+ },
+ Tag = { "planetTrail_solarSystem", "planetTrail_giants" },
+ GUI = {
+ Name = "Neptune Trail",
+ Path = "/Solar System/Planets/Neptune",
+ Description = [[ Trail of Neptune as observed by the Sun.]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { NeptuneTrail })
asset.meta = {
- Name = "Neptune Trail",
- Version = "1.0",
- Description = [[ Main trail of Neptune. Data from NASA Spice (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"NeptuneTrail"}
+ Name = "Neptune Trail",
+ Version = "1.0",
+ Description = [[ Main trail of Neptune. Data from NASA Spice (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"NeptuneTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/neptune/trail_earth.asset b/data/assets/scene/solarsystem/planets/neptune/trail_earth.asset
index 9757c78023..93b96735a5 100644
--- a/data/assets/scene/solarsystem/planets/neptune/trail_earth.asset
+++ b/data/assets/scene/solarsystem/planets/neptune/trail_earth.asset
@@ -6,39 +6,39 @@ asset.require("spice/base")
local NeptuneTrailEarth = {
- Identifier = "NeptuneTrailEarth",
- Parent = earthTransforms.EarthBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "NEPTUNE BARYCENTER",
- Observer = "EARTH"
- },
- Color = { 1.0, 0.5, 0.2 },
- Period = 224.695,
- Resolution = 1000,
- Enabled = false
+ Identifier = "NeptuneTrailEarth",
+ Parent = earthTransforms.EarthBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "NEPTUNE BARYCENTER",
+ Observer = "EARTH"
},
- Tag = { "planetTrail_solarSystem_alt", "planetTrail_terrestrial_alt" },
- GUI = {
- Name = "Neptune trail from Earth",
- Path = "/Solar System/Planets/Neptune",
- Hidden = false,
- Description = [[ Trail of Neptune as observed by the Earth.]],
- }
+ Color = { 1.0, 0.5, 0.2 },
+ Period = 224.695,
+ Resolution = 1000,
+ Enabled = false
+ },
+ Tag = { "planetTrail_solarSystem_alt", "planetTrail_terrestrial_alt" },
+ GUI = {
+ Name = "Neptune trail from Earth",
+ Path = "/Solar System/Planets/Neptune",
+ Hidden = false,
+ Description = [[ Trail of Neptune as observed by the Earth.]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { NeptuneTrailEarth })
asset.meta = {
- Name = "Neptune Trail from Earth",
- Version = "1.0",
- Description = [[ Alternate trail of Neptune, as observed by the Earth rather then the
- Sun.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"VenusTrailEarth"}
+ Name = "Neptune Trail from Earth",
+ Version = "1.0",
+ Description = [[ Alternate trail of Neptune, as observed by the Earth rather then the
+ Sun.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"VenusTrailEarth"}
}
diff --git a/data/assets/scene/solarsystem/planets/neptune/transforms.asset b/data/assets/scene/solarsystem/planets/neptune/transforms.asset
index be9a959e1a..ede2678dbd 100644
--- a/data/assets/scene/solarsystem/planets/neptune/transforms.asset
+++ b/data/assets/scene/solarsystem/planets/neptune/transforms.asset
@@ -3,32 +3,32 @@ local sun_transforms_asset = asset.require('scene/solarsystem/sun/transforms')
asset.require("spice/base")
local NeptuneBarycenter = {
- Identifier = "NeptuneBarycenter",
- Parent = sun_transforms_asset.SolarSystemBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "NEPTUNE BARYCENTER",
- Observer = "SUN"
- }
- },
- GUI = {
- Name = "Neptune Barycenter",
- Path = "/Solar System/Planets/Neptune",
- Hidden = true,
- Description = [[ Neptune Barycenter position]],
+ Identifier = "NeptuneBarycenter",
+ Parent = sun_transforms_asset.SolarSystemBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "NEPTUNE BARYCENTER",
+ Observer = "SUN"
}
+ },
+ GUI = {
+ Name = "Neptune Barycenter",
+ Path = "/Solar System/Planets/Neptune",
+ Hidden = true,
+ Description = [[ Neptune Barycenter position]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { NeptuneBarycenter })
asset.meta = {
- Name = "Neptune Transforms",
- Version = "1.0",
- Description = [[ Neptune Barycenter transform]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"NeptuneBarycenter"}
+ Name = "Neptune Transforms",
+ Version = "1.0",
+ Description = [[ Neptune Barycenter transform]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"NeptuneBarycenter"}
}
diff --git a/data/assets/scene/solarsystem/planets/neptune/triton.asset b/data/assets/scene/solarsystem/planets/neptune/triton.asset
index 3b796b74ad..8dec8708d0 100644
--- a/data/assets/scene/solarsystem/planets/neptune/triton.asset
+++ b/data/assets/scene/solarsystem/planets/neptune/triton.asset
@@ -6,36 +6,36 @@ local kernel = asset.require('./kernels').nep081
local Triton = {
- Identifier = "Triton",
- Parent = {
- Identifier = transforms.NeptuneBarycenter.Identifier,
- Spice = "NEPTUNE BARYCENTER"
- },
- Spice = "TRITON",
- Radii = { 2709000, 2706000, 2705000 },
- Tags = { "moon_solarSystem", "moon_giants", "moon_neptune" },
- TrailTags = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_neptune" },
- GUI = {
- Path = "/Solar System/Planets/Neptune/Moons/Irregular Prograde Moons"
- },
- TrailColor = { 0.2, 0.5, 0.75 },
- OrbitPeriod = 5.877,
- Kernels = kernel
+ Identifier = "Triton",
+ Parent = {
+ Identifier = transforms.NeptuneBarycenter.Identifier,
+ Spice = "NEPTUNE BARYCENTER"
+ },
+ Spice = "TRITON",
+ Radii = { 2709000, 2706000, 2705000 },
+ Tags = { "moon_solarSystem", "moon_giants", "moon_neptune" },
+ TrailTags = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_neptune" },
+ GUI = {
+ Path = "/Solar System/Planets/Neptune/Moons/Irregular Prograde Moons"
+ },
+ TrailColor = { 0.2, 0.5, 0.75 },
+ OrbitPeriod = 5.877,
+ Kernels = kernel
}
assetHelper.registerSceneGraphNodesAndExport(
- asset,
- proceduralGlobes.createGlobes({ Triton })
+ asset,
+ proceduralGlobes.createGlobes({ Triton })
)
asset.meta = {
- Name = "Triton",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Neptune's moon: Triton.
- A blank globe and SPICE trail are generated for the moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Triton"}
+ Name = "Triton",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Neptune's moon: Triton.
+ A blank globe and SPICE trail are generated for the moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Triton"}
}
diff --git a/data/assets/scene/solarsystem/planets/planets.asset b/data/assets/scene/solarsystem/planets/planets.asset
index 2c80f258c5..1b6fac78fc 100644
--- a/data/assets/scene/solarsystem/planets/planets.asset
+++ b/data/assets/scene/solarsystem/planets/planets.asset
@@ -31,10 +31,10 @@ asset.require('./neptune/major_moons')
asset.meta = {
- Name = "Planets",
- Version = "1.0",
- Description = [[ Collection of planets in the solar system ]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Planets",
+ Version = "1.0",
+ Description = [[ Collection of planets in the solar system ]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/default_layers.asset b/data/assets/scene/solarsystem/planets/saturn/default_layers.asset
index c447b26495..897c4f114d 100644
--- a/data/assets/scene/solarsystem/planets/saturn/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/default_layers.asset
@@ -5,15 +5,15 @@ local colorLayer = asset.require(colorLayersPath .. "/saturn_texture")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Saturn.Renderable.Layers.ColorLayers." .. colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Saturn.Renderable.Layers.ColorLayers." .. colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Saturn Layers",
- Version = "1.0",
- Description = [[ Default Saturn layers are: Saturn texture]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Saturn Layers",
+ Version = "1.0",
+ Description = [[ Default Saturn layers are: Saturn texture]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/dione/default_layers.asset b/data/assets/scene/solarsystem/planets/saturn/dione/default_layers.asset
index 32b2f9c147..d68bb5c002 100644
--- a/data/assets/scene/solarsystem/planets/saturn/dione/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/dione/default_layers.asset
@@ -5,16 +5,16 @@ local colorLayer = asset.require(colorLayersPath .. "/dione_texture")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Dione.Renderable.Layers.ColorLayers." ..
- colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Dione.Renderable.Layers.ColorLayers." ..
+ colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Dione Layers",
- Version = "1.0",
- Description = [[ Default Dione layers are: Dione Texture]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Dione Layers",
+ Version = "1.0",
+ Description = [[ Default Dione layers are: Dione Texture]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/dione/dione.asset b/data/assets/scene/solarsystem/planets/saturn/dione/dione.asset
index 34b711430c..1cce3d7e20 100644
--- a/data/assets/scene/solarsystem/planets/saturn/dione/dione.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/dione/dione.asset
@@ -5,58 +5,58 @@ asset.require('./trail')
local labelsPath = asset.require('../saturn_globelabels').LabelsPath
local Dione = {
- Identifier = "Dione",
- Parent = transforms.SaturnBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "DIONE",
- Observer = "SATURN BARYCENTER",
- Kernels = kernel
- },
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_ENCELADUS",
- DestinationFrame = "GALACTIC"
- }
- },
- Renderable = {
- Type = "RenderableGlobe",
- Radii = 561400,
- SegmentsPerPatch = 64,
- Layers = {},
- Labels = {
- Enable = false,
- FileName = labelsPath .. "/dione.labels",
- LabelAlignmentOption = "Horizontally", -- or Circularly
- LabelsFontSize = 32.0,
- LabelsSize = 8.0,
- LabelsMinSize = 1.0,
- LabelsMaxSize = 1500.0,
- ProximityEnabled = false,
- LabelsFadeInEnabled = true,
- LabelsFadeOutEnabled = true,
- FadeInStartingDistance = 3500000.0,
- FadeOutStartingDistance = 1000000.0,
- LabelsForceDomeRendering = true,
- LabelsDistanceEPS = 200000.0,
- LabelsColor = { 1.0, 1.0, 0.0 }
- }
+ Identifier = "Dione",
+ Parent = transforms.SaturnBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "DIONE",
+ Observer = "SATURN BARYCENTER",
+ Kernels = kernel
},
- Tag = { "moon_solarSystem", "moon_giants", "moon_saturn" },
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons"
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_ENCELADUS",
+ DestinationFrame = "GALACTIC"
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = 561400,
+ SegmentsPerPatch = 64,
+ Layers = {},
+ Labels = {
+ Enable = false,
+ FileName = labelsPath .. "/dione.labels",
+ LabelAlignmentOption = "Horizontally", -- or Circularly
+ LabelsFontSize = 32.0,
+ LabelsSize = 8.0,
+ LabelsMinSize = 1.0,
+ LabelsMaxSize = 1500.0,
+ ProximityEnabled = false,
+ LabelsFadeInEnabled = true,
+ LabelsFadeOutEnabled = true,
+ FadeInStartingDistance = 3500000.0,
+ FadeOutStartingDistance = 1000000.0,
+ LabelsForceDomeRendering = true,
+ LabelsDistanceEPS = 200000.0,
+ LabelsColor = { 1.0, 1.0, 0.0 }
+ }
+ },
+ Tag = { "moon_solarSystem", "moon_giants", "moon_saturn" },
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Dione })
asset.meta = {
- Name = "Dione",
- Version = "1.0",
- Description = [[ Dione globe with labels]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Dione",
+ Version = "1.0",
+ Description = [[ Dione globe with labels]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/dione/layers/colorlayers/dione_texture.asset b/data/assets/scene/solarsystem/planets/saturn/dione/layers/colorlayers/dione_texture.asset
index c1ba6585d7..8f58e9f7d2 100644
--- a/data/assets/scene/solarsystem/planets/saturn/dione/layers/colorlayers/dione_texture.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/dione/layers/colorlayers/dione_texture.asset
@@ -2,22 +2,22 @@ local texturesPath = asset.require("./../../dione_textures").TexturesPath
local globeIdentifier = asset.require("./../../dione").Dione.Identifier
local layer = {
- Identifier = "Texture",
- FilePath = texturesPath .. "/dione.jpg",
+ Identifier = "Texture",
+ FilePath = texturesPath .. "/dione.jpg",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Dione Texutre",
- Version = "1.0",
- Description = [[ Default jpg texture for Dione]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Dione Texutre",
+ Version = "1.0",
+ Description = [[ Default jpg texture for Dione]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/dione/trail.asset b/data/assets/scene/solarsystem/planets/saturn/dione/trail.asset
index c94b6799ab..3b2f8a2d60 100644
--- a/data/assets/scene/solarsystem/planets/saturn/dione/trail.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/dione/trail.asset
@@ -5,36 +5,36 @@ local kernel = asset.require('../kernels').sat375
local DioneTrail = {
- Identifier = "DioneTrail",
- Parent = transforms.SaturnBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "DIONE",
- Observer = "SATURN BARYCENTER",
- Kernels = kernel
- },
- Color = { 0.5, 0.3, 0.3 },
- Period = 66.0 / 24.0,
- Resolution = 1000
+ Identifier = "DioneTrail",
+ Parent = transforms.SaturnBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "DIONE",
+ Observer = "SATURN BARYCENTER",
+ Kernels = kernel
},
- Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_saturn" },
- GUI = {
- Name = "Dione Trail",
- Path = "/Solar System/Planets/Saturn/Moons",
- Description = [[ Trail of Saturn's moon Dione as observed by Saturn]],
- }
+ Color = { 0.5, 0.3, 0.3 },
+ Period = 66.0 / 24.0,
+ Resolution = 1000
+ },
+ Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_saturn" },
+ GUI = {
+ Name = "Dione Trail",
+ Path = "/Solar System/Planets/Saturn/Moons",
+ Description = [[ Trail of Saturn's moon Dione as observed by Saturn]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { DioneTrail })
asset.meta = {
- Name = "Dione Trail",
- Version = "1.0",
- Description = [[ Trail for Dione. Data from NASA Spice (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Dione Trail",
+ Version = "1.0",
+ Description = [[ Trail for Dione. Data from NASA Spice (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/enceladus/default_layers.asset b/data/assets/scene/solarsystem/planets/saturn/enceladus/default_layers.asset
index 289882ed7f..f488cfd5b7 100644
--- a/data/assets/scene/solarsystem/planets/saturn/enceladus/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/enceladus/default_layers.asset
@@ -6,17 +6,17 @@ local colorLayer = asset.require(colorLayersPath .. "/global_mosaic_100m_hpf")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Enceladus.Renderable.Layers.ColorLayers." ..
- colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Enceladus.Renderable.Layers.ColorLayers." ..
+ colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Enceladus Layers",
- Version = "1.0",
- Description = [[ Default Enceladus layers are: Enceladus Texture and Cassini Global
- Mosaic 100m HPF]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Enceladus Layers",
+ Version = "1.0",
+ Description = [[ Default Enceladus layers are: Enceladus Texture and Cassini Global
+ Mosaic 100m HPF]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/enceladus/enceladus.asset b/data/assets/scene/solarsystem/planets/saturn/enceladus/enceladus.asset
index 4dd5e1cff5..1f16f3f0bb 100644
--- a/data/assets/scene/solarsystem/planets/saturn/enceladus/enceladus.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/enceladus/enceladus.asset
@@ -5,50 +5,50 @@ asset.require('./trail')
local labelsPath = asset.require('../saturn_globelabels').LabelsPath
local Enceladus = {
- Identifier = "Enceladus",
- Parent = transforms.SaturnBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "ENCELADUS",
- Observer = "SATURN BARYCENTER",
- Kernels = kernel
- },
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_ENCELADUS",
- DestinationFrame = "GALACTIC"
- }
- },
- Renderable = {
- Type = "RenderableGlobe",
- Radii = 252000,
- SegmentsPerPatch = 64,
- Layers = {},
- Labels = {
- Enable = false,
- FileName = labelsPath .. "/enceladus.labels",
- LabelAlignmentOption = "Horizontally", -- or Circularly
- LabelsFontSize = 22.0,
- LabelsSize = 8.0,
- LabelsMinSize = 1.0,
- LabelsMaxSize = 1500.0,
- ProximityEnabled = false,
- LabelsFadeInEnabled = true,
- LabelsFadeOutEnabled = true,
- FadeInStartingDistance = 1000000.0,
- FadeOutStartingDistance = 500000.0,
- LabelsForceDomeRendering = true,
- LabelsDistanceEPS = 100000.0,
- LabelsColor = { 1.0, 1.0, 0.0 }
- }
+ Identifier = "Enceladus",
+ Parent = transforms.SaturnBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "ENCELADUS",
+ Observer = "SATURN BARYCENTER",
+ Kernels = kernel
},
- Tag = { "moon_solarSystem", "moon_giants", "moon_saturn" },
- GUI = {
- Name = "Enceladus",
- Path = "/Solar System/Planets/Saturn/Moons",
- Description = [[ Enceladus globe with labels]],
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_ENCELADUS",
+ DestinationFrame = "GALACTIC"
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = 252000,
+ SegmentsPerPatch = 64,
+ Layers = {},
+ Labels = {
+ Enable = false,
+ FileName = labelsPath .. "/enceladus.labels",
+ LabelAlignmentOption = "Horizontally", -- or Circularly
+ LabelsFontSize = 22.0,
+ LabelsSize = 8.0,
+ LabelsMinSize = 1.0,
+ LabelsMaxSize = 1500.0,
+ ProximityEnabled = false,
+ LabelsFadeInEnabled = true,
+ LabelsFadeOutEnabled = true,
+ FadeInStartingDistance = 1000000.0,
+ FadeOutStartingDistance = 500000.0,
+ LabelsForceDomeRendering = true,
+ LabelsDistanceEPS = 100000.0,
+ LabelsColor = { 1.0, 1.0, 0.0 }
+ }
+ },
+ Tag = { "moon_solarSystem", "moon_giants", "moon_saturn" },
+ GUI = {
+ Name = "Enceladus",
+ Path = "/Solar System/Planets/Saturn/Moons",
+ Description = [[ Enceladus globe with labels]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Enceladus })
diff --git a/data/assets/scene/solarsystem/planets/saturn/enceladus/enceladus_textures.asset b/data/assets/scene/solarsystem/planets/saturn/enceladus/enceladus_textures.asset
index bec59acc1e..39beb256b2 100644
--- a/data/assets/scene/solarsystem/planets/saturn/enceladus/enceladus_textures.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/enceladus/enceladus_textures.asset
@@ -1,7 +1,7 @@
local TexturesPath = asset.syncedResource({
- Name = "Enceladus textures",
- Type = "HttpSynchronization",
- Identifier = "enceladus_textures",
- Version = 1
+ Name = "Enceladus textures",
+ Type = "HttpSynchronization",
+ Identifier = "enceladus_textures",
+ Version = 1
})
asset.export("TexturesPath", TexturesPath)
diff --git a/data/assets/scene/solarsystem/planets/saturn/enceladus/layers/colorlayers/enceladus_texture.asset b/data/assets/scene/solarsystem/planets/saturn/enceladus/layers/colorlayers/enceladus_texture.asset
index 41b14b81c5..cb60a5f6f4 100644
--- a/data/assets/scene/solarsystem/planets/saturn/enceladus/layers/colorlayers/enceladus_texture.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/enceladus/layers/colorlayers/enceladus_texture.asset
@@ -2,22 +2,22 @@ local texturesPath = asset.require("./../../enceladus_textures").TexturesPath
local globeIdentifier = asset.require("./../../enceladus").Enceladus.Identifier
local layer = {
- Identifier = "Texture",
- FilePath = texturesPath .. "/enceladus.jpg",
+ Identifier = "Texture",
+ FilePath = texturesPath .. "/enceladus.jpg",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Enceladus Texutre",
- Version = "1.0",
- Description = [[ Default jpg texture for Enceladus]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Enceladus Texutre",
+ Version = "1.0",
+ Description = [[ Default jpg texture for Enceladus]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/enceladus/layers/colorlayers/global_mosaic_100m_hpf.asset b/data/assets/scene/solarsystem/planets/saturn/enceladus/layers/colorlayers/global_mosaic_100m_hpf.asset
index d8a3e6dc5d..861e113338 100644
--- a/data/assets/scene/solarsystem/planets/saturn/enceladus/layers/colorlayers/global_mosaic_100m_hpf.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/enceladus/layers/colorlayers/global_mosaic_100m_hpf.asset
@@ -2,32 +2,32 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../enceladus").Enceladus.Identifier
local layer = {
- Identifier = "Global_Mosaic_100m_HPF",
- Name = "Cassini Global Mosaic 100m HPF",
- FilePath = mapServiceConfigs .. "/Cassini_ISS_Global_Mosaic_100m_HPF.wms",
- Description = [[ This mosaic represents the completion of a global control network of
- Enceladus containing Cassini Imaging Science Subsystem (ISS) images. A total of
- 586 images in CLR, GRN, UV3, and IR3 filters were selected for the control
- network. The image selection criteria were based on coverage, quality, and a
- spatial resolution between 50 and 500 meters per pixel (m) with phase angles less
- than 120 degrees. (Description from URL).]]
+ Identifier = "Global_Mosaic_100m_HPF",
+ Name = "Cassini Global Mosaic 100m HPF",
+ FilePath = mapServiceConfigs .. "/Cassini_ISS_Global_Mosaic_100m_HPF.wms",
+ Description = [[ This mosaic represents the completion of a global control network of
+ Enceladus containing Cassini Imaging Science Subsystem (ISS) images. A total of
+ 586 images in CLR, GRN, UV3, and IR3 filters were selected for the control
+ network. The image selection criteria were based on coverage, quality, and a
+ spatial resolution between 50 and 500 meters per pixel (m) with phase angles less
+ than 120 degrees. (Description from URL).]]
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Cassini Global Mosaic 100m HPF",
- Version = "1.0",
- Description = [[ Cassini Global mosaic for Enceladus. This map is hosted on the
- OpenSpace server Sweden.]],
- Author = "USGS",
- URL = "https://astrogeology.usgs.gov/search/map/Enceladus/Cassini/" ..
- "Enceladus_Cassini_ISS_Global_Mosaic_100m_HPF",
- License = "NASA/PDS",
- Identifiers = {"Global_Mosaic_100m_HPF"}
+ Name = "Cassini Global Mosaic 100m HPF",
+ Version = "1.0",
+ Description = [[ Cassini Global mosaic for Enceladus. This map is hosted on the
+ OpenSpace server Sweden.]],
+ Author = "USGS",
+ URL = "https://astrogeology.usgs.gov/search/map/Enceladus/Cassini/" ..
+ "Enceladus_Cassini_ISS_Global_Mosaic_100m_HPF",
+ License = "NASA/PDS",
+ Identifiers = {"Global_Mosaic_100m_HPF"}
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/enceladus/trail.asset b/data/assets/scene/solarsystem/planets/saturn/enceladus/trail.asset
index df92c063be..df798fc9bb 100644
--- a/data/assets/scene/solarsystem/planets/saturn/enceladus/trail.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/enceladus/trail.asset
@@ -5,37 +5,37 @@ local kernel = asset.require('../kernels').sat375
local EnceladusTrail = {
- Identifier = "EnceladusTrail",
- Parent = transforms.SaturnBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "ENCELADUS",
- Observer = "SATURN BARYCENTER",
- Kernels = kernel
- },
- Color = { 0.5, 0.3, 0.3 },
- Period = 33.0 / 24.0,
- Resolution = 1000
+ Identifier = "EnceladusTrail",
+ Parent = transforms.SaturnBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "ENCELADUS",
+ Observer = "SATURN BARYCENTER",
+ Kernels = kernel
},
- Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_saturn" },
- GUI = {
- Name = "Enceladus Trail",
- Path = "/Solar System/Planets/Saturn/Moons",
- Description = [[ Trail of Saturn's moon Enceladus as observed by Saturn.]],
- }
+ Color = { 0.5, 0.3, 0.3 },
+ Period = 33.0 / 24.0,
+ Resolution = 1000
+ },
+ Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_saturn" },
+ GUI = {
+ Name = "Enceladus Trail",
+ Path = "/Solar System/Planets/Saturn/Moons",
+ Description = [[ Trail of Saturn's moon Enceladus as observed by Saturn.]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { EnceladusTrail })
asset.meta = {
- Name = "Enceladus Trail",
- Version = "1.0",
- Description = [[ Trail for Enceladus. Data from NASA Spice (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"EnceladusTrail"}
+ Name = "Enceladus Trail",
+ Version = "1.0",
+ Description = [[ Trail for Enceladus. Data from NASA Spice (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"EnceladusTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/hyperion/hyperion.asset b/data/assets/scene/solarsystem/planets/saturn/hyperion/hyperion.asset
index 14dcdd94e2..77fe207be1 100644
--- a/data/assets/scene/solarsystem/planets/saturn/hyperion/hyperion.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/hyperion/hyperion.asset
@@ -5,59 +5,59 @@ asset.require('./trail')
local labelsPath = asset.require('../saturn_globelabels').LabelsPath
local Hyperion = {
- Identifier = "Hyperion",
- Parent = transforms.SaturnBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "HYPERION",
- Observer = "SATURN BARYCENTER",
- Kernels = kernel
- }
- --[[
- The IAU report does not give an orientation model for Hyperion.
- Hyperion's rotation is in chaotic and is not predictable for
- long periods.
- ]]--
- },
- Renderable = {
- Type = "RenderableGlobe",
- Radii = { 360200, 266000, 205400},
- SegmentsPerPatch = 64,
- Layers = {},
- Labels = {
- Enable = false,
- FileName = labelsPath .. "/hyperion.labels",
- LabelAlignmentOption = "Horizontally", -- or Circularly
- LabelsFontSize = 14.0,
- LabelsSize = 8.0,
- LabelsMinSize = 1.0,
- LabelsMaxSize = 1500.0,
- ProximityEnabled = false,
- LabelsFadeInEnabled = true,
- FadeInStartingDistance = 500000.0,
- FadeOutStartingDistance = 1000000.0,
- LabelsForceDomeRendering = true,
- LabelsDistanceEPS = 1350000.0,
- LabelsColor = { 1.0, 1.0, 0.0 }
- }
- },
- Tag = { "moon_solarSystem", "moon_giants", "moon_saturn" },
- GUI = {
- Name = "Hyperion",
- Path = "/Solar System/Planets/Saturn/Moons"
+ Identifier = "Hyperion",
+ Parent = transforms.SaturnBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "HYPERION",
+ Observer = "SATURN BARYCENTER",
+ Kernels = kernel
}
+ --[[
+ The IAU report does not give an orientation model for Hyperion.
+ Hyperion's rotation is in chaotic and is not predictable for
+ long periods.
+ ]]--
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = { 360200, 266000, 205400},
+ SegmentsPerPatch = 64,
+ Layers = {},
+ Labels = {
+ Enable = false,
+ FileName = labelsPath .. "/hyperion.labels",
+ LabelAlignmentOption = "Horizontally", -- or Circularly
+ LabelsFontSize = 14.0,
+ LabelsSize = 8.0,
+ LabelsMinSize = 1.0,
+ LabelsMaxSize = 1500.0,
+ ProximityEnabled = false,
+ LabelsFadeInEnabled = true,
+ FadeInStartingDistance = 500000.0,
+ FadeOutStartingDistance = 1000000.0,
+ LabelsForceDomeRendering = true,
+ LabelsDistanceEPS = 1350000.0,
+ LabelsColor = { 1.0, 1.0, 0.0 }
+ }
+ },
+ Tag = { "moon_solarSystem", "moon_giants", "moon_saturn" },
+ GUI = {
+ Name = "Hyperion",
+ Path = "/Solar System/Planets/Saturn/Moons"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Hyperion })
asset.meta = {
- Name = "Hyperion",
- Version = "1.0",
- Description = [[ Hyperion globe with labels]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Hyperion"}
+ Name = "Hyperion",
+ Version = "1.0",
+ Description = [[ Hyperion globe with labels]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Hyperion"}
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/hyperion/trail.asset b/data/assets/scene/solarsystem/planets/saturn/hyperion/trail.asset
index 42ef03180e..a250809874 100644
--- a/data/assets/scene/solarsystem/planets/saturn/hyperion/trail.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/hyperion/trail.asset
@@ -5,37 +5,37 @@ local kernel = asset.require('../kernels').sat375
local HyperionTrail = {
- Identifier = "HyperionTrail",
- Parent = transforms.SaturnBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "HYPERION",
- Observer = "SATURN BARYCENTER",
- Kernels = kernel
- },
- Color = { 0.5, 0.3, 0.3 },
- Period = 21.276,
- Resolution = 1000
+ Identifier = "HyperionTrail",
+ Parent = transforms.SaturnBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "HYPERION",
+ Observer = "SATURN BARYCENTER",
+ Kernels = kernel
},
- Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_saturn" },
- GUI = {
- Name = "Hyperion Trail",
- Path = "/Solar System/Planets/Saturn/Moons"
- }
+ Color = { 0.5, 0.3, 0.3 },
+ Period = 21.276,
+ Resolution = 1000
+ },
+ Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_saturn" },
+ GUI = {
+ Name = "Hyperion Trail",
+ Path = "/Solar System/Planets/Saturn/Moons"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { HyperionTrail })
asset.meta = {
- Name = "Hyperion Trail",
- Version = "1.0",
- Description = [[ Trail of Saturn's moon Hyperion as observed by Saturn. Data from NASA
- Spice (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"HyperionTrail"}
+ Name = "Hyperion Trail",
+ Version = "1.0",
+ Description = [[ Trail of Saturn's moon Hyperion as observed by Saturn. Data from NASA
+ Spice (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"HyperionTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/iapetus/default_layers.asset b/data/assets/scene/solarsystem/planets/saturn/iapetus/default_layers.asset
index 22bd2e4002..9371e07f55 100644
--- a/data/assets/scene/solarsystem/planets/saturn/iapetus/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/iapetus/default_layers.asset
@@ -5,16 +5,16 @@ local colorLayer = asset.require(colorLayersPath .. "/iapetus_texture")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Iapetus.Renderable.Layers.ColorLayers." ..
- colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Iapetus.Renderable.Layers.ColorLayers." ..
+ colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Iapetus Layers",
- Version = "1.0",
- Description = [[ Default Iapetus layers are: Iapetus Texture]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Iapetus Layers",
+ Version = "1.0",
+ Description = [[ Default Iapetus layers are: Iapetus Texture]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/iapetus/iapetus.asset b/data/assets/scene/solarsystem/planets/saturn/iapetus/iapetus.asset
index fbe22a9aec..5a33262237 100644
--- a/data/assets/scene/solarsystem/planets/saturn/iapetus/iapetus.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/iapetus/iapetus.asset
@@ -5,50 +5,50 @@ asset.require('./trail')
local labelsPath = asset.require('../saturn_globelabels').LabelsPath
local Iapetus = {
- Identifier = "Iapetus",
- Parent = transforms.SaturnBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "IAPETUS",
- Observer = "SATURN BARYCENTER",
- Kernels = kernel
- },
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_IAPETUS",
- DestinationFrame = "GALACTIC"
- }
+ Identifier = "Iapetus",
+ Parent = transforms.SaturnBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "IAPETUS",
+ Observer = "SATURN BARYCENTER",
+ Kernels = kernel
},
- Renderable = {
- Type = "RenderableGlobe",
- Radii = 734000,
- SegmentsPerPatch = 64,
- Layers = {},
- Labels = {
- Enable = false,
- FileName = labelsPath .. "/iapetus.labels",
- LabelAlignmentOption = "Horizontally", -- or Circularly
- LabelsFontSize = 30.0,
- LabelsSize = 8.0,
- LabelsMinSize = 1.0,
- LabelsMaxSize = 1500.0,
- ProximityEnabled = false,
- LabelsFadeInEnabled = true,
- LabelsFadeOutEnabled = true,
- FadeInStartingDistance = 3500000.0,
- FadeOutStartingDistance = 600000.0,
- LabelsForceDomeRendering = true,
- LabelsDistanceEPS = 250000.0,
- LabelsColor = { 1.0, 1.0, 0.0 }
- }
- },
- Tag = { "moon_solarSystem", "moon_giants", "moon_saturn" },
- GUI = {
- Name = "Iapetus",
- Path = "/Solar System/Planets/Saturn/Moons",
- Description = [[Third largest moon of Saturn. ]]
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_IAPETUS",
+ DestinationFrame = "GALACTIC"
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = 734000,
+ SegmentsPerPatch = 64,
+ Layers = {},
+ Labels = {
+ Enable = false,
+ FileName = labelsPath .. "/iapetus.labels",
+ LabelAlignmentOption = "Horizontally", -- or Circularly
+ LabelsFontSize = 30.0,
+ LabelsSize = 8.0,
+ LabelsMinSize = 1.0,
+ LabelsMaxSize = 1500.0,
+ ProximityEnabled = false,
+ LabelsFadeInEnabled = true,
+ LabelsFadeOutEnabled = true,
+ FadeInStartingDistance = 3500000.0,
+ FadeOutStartingDistance = 600000.0,
+ LabelsForceDomeRendering = true,
+ LabelsDistanceEPS = 250000.0,
+ LabelsColor = { 1.0, 1.0, 0.0 }
+ }
+ },
+ Tag = { "moon_solarSystem", "moon_giants", "moon_saturn" },
+ GUI = {
+ Name = "Iapetus",
+ Path = "/Solar System/Planets/Saturn/Moons",
+ Description = [[Third largest moon of Saturn.]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Iapetus })
diff --git a/data/assets/scene/solarsystem/planets/saturn/iapetus/iapetus_textures.asset b/data/assets/scene/solarsystem/planets/saturn/iapetus/iapetus_textures.asset
index da00c7b4c7..f1446cdb56 100644
--- a/data/assets/scene/solarsystem/planets/saturn/iapetus/iapetus_textures.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/iapetus/iapetus_textures.asset
@@ -1,7 +1,7 @@
local TexturesPath = asset.syncedResource({
- Name = "Iapetus textures",
- Type = "HttpSynchronization",
- Identifier = "iapetus_textures",
- Version = 1
+ Name = "Iapetus textures",
+ Type = "HttpSynchronization",
+ Identifier = "iapetus_textures",
+ Version = 1
})
asset.export("TexturesPath", TexturesPath)
diff --git a/data/assets/scene/solarsystem/planets/saturn/iapetus/layers/colorlayers/iapetus_texture.asset b/data/assets/scene/solarsystem/planets/saturn/iapetus/layers/colorlayers/iapetus_texture.asset
index 18015a6441..d90c500f5f 100644
--- a/data/assets/scene/solarsystem/planets/saturn/iapetus/layers/colorlayers/iapetus_texture.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/iapetus/layers/colorlayers/iapetus_texture.asset
@@ -2,22 +2,22 @@ local texturesPath = asset.require("./../../iapetus_textures").TexturesPath
local globeIdentifier = asset.require("./../../iapetus").Iapetus.Identifier
local layer = {
- Identifier = "Texture",
- FilePath = texturesPath .. "/iapetus.jpg",
+ Identifier = "Texture",
+ FilePath = texturesPath .. "/iapetus.jpg",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Iapetus Texutre",
- Version = "1.0",
- Description = [[ Default jpg texture for Iapetus]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Iapetus Texutre",
+ Version = "1.0",
+ Description = [[ Default jpg texture for Iapetus]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/iapetus/trail.asset b/data/assets/scene/solarsystem/planets/saturn/iapetus/trail.asset
index 21e5681294..d1c2c2218c 100644
--- a/data/assets/scene/solarsystem/planets/saturn/iapetus/trail.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/iapetus/trail.asset
@@ -5,37 +5,37 @@ local kernel = asset.require('../kernels').sat375
local IapetusTrail = {
- Identifier = "IapetusTrail",
- Parent = transforms.SaturnBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "IAPETUS",
- Observer = "SATURN BARYCENTER",
- Kernels = kernel
- },
- Color = { 0.5, 0.3, 0.3 },
- Period = 79.0,
- Resolution = 1000
+ Identifier = "IapetusTrail",
+ Parent = transforms.SaturnBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "IAPETUS",
+ Observer = "SATURN BARYCENTER",
+ Kernels = kernel
},
- Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_saturn" },
- GUI = {
- Name = "Iapetus Trail",
- Path = "/Solar System/Planets/Saturn/Moons",
- Description = [[ Trail of Saturn's moon Iapetus as observed by Saturn.]],
- }
+ Color = { 0.5, 0.3, 0.3 },
+ Period = 79.0,
+ Resolution = 1000
+ },
+ Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_saturn" },
+ GUI = {
+ Name = "Iapetus Trail",
+ Path = "/Solar System/Planets/Saturn/Moons",
+ Description = [[ Trail of Saturn's moon Iapetus as observed by Saturn.]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { IapetusTrail })
asset.meta = {
- Name = "Iapetus Trail",
- Version = "1.0",
- Description = [[Main trail for Iapetus. Data from NASA Spice (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"IapetusTrail"}
+ Name = "Iapetus Trail",
+ Version = "1.0",
+ Description = [[Main trail for Iapetus. Data from NASA Spice (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"IapetusTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/kernels.asset b/data/assets/scene/solarsystem/planets/saturn/kernels.asset
index 04bb883e80..3c4c25eca2 100644
--- a/data/assets/scene/solarsystem/planets/saturn/kernels.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/kernels.asset
@@ -1,8 +1,8 @@
local Kernels = asset.syncedResource({
- Name = "Saturn Spice Kernels",
- Type = "HttpSynchronization",
- Identifier = "saturn_kernels",
- Version = 1
+ Name = "Saturn Spice Kernels",
+ Type = "HttpSynchronization",
+ Identifier = "saturn_kernels",
+ Version = 1
})
asset.export("sat319", Kernels .. '/sat319.bsp')
@@ -12,10 +12,10 @@ asset.export("sat393", Kernels .. '/sat393.bsp')
asset.meta = {
- Name = "Saturn Spice Kernels",
- Version = "1.0",
- Description = [[ Generic SPICE kernels for Saturn.]],
- Author = "OpenSpace Team",
- URL = "https://naif.jpl.nasa.gov/pub/naif/pds/wgc/kernels/spk/",
- License = "NASA"
+ Name = "Saturn Spice Kernels",
+ Version = "1.0",
+ Description = [[ Generic SPICE kernels for Saturn.]],
+ Author = "OpenSpace Team",
+ URL = "https://naif.jpl.nasa.gov/pub/naif/pds/wgc/kernels/spk/",
+ License = "NASA"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/layers/colorlayers/saturn_texture.asset b/data/assets/scene/solarsystem/planets/saturn/layers/colorlayers/saturn_texture.asset
index 04ae53450c..8f69e96224 100644
--- a/data/assets/scene/solarsystem/planets/saturn/layers/colorlayers/saturn_texture.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/layers/colorlayers/saturn_texture.asset
@@ -2,22 +2,22 @@ local texturesPath = asset.require("./../../saturn_textures").TexturesPath
local globeIdentifier = asset.require("./../../saturn").Saturn.Identifier
local layer = {
- Identifier = "Texture",
- FilePath = texturesPath .. "/saturn.jpg",
+ Identifier = "Texture",
+ FilePath = texturesPath .. "/saturn.jpg",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Saturn Texutre",
- Version = "1.0",
- Description = [[ Default jpg texture for Saturn]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Saturn Texutre",
+ Version = "1.0",
+ Description = [[ Default jpg texture for Saturn]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/major_moons.asset b/data/assets/scene/solarsystem/planets/saturn/major_moons.asset
index b6ed6156d6..b658909653 100644
--- a/data/assets/scene/solarsystem/planets/saturn/major_moons.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/major_moons.asset
@@ -9,11 +9,11 @@ asset.require('./titan/titan')
asset.meta = {
- Name = "Saturn Major Moons",
- Version = "1.0",
- Description = [[ Meta asset containing Saturn's major moons: Dione, Enceladus,
- Hyperion, Iapetus, Mimas, Rhea, Tethys, and Titan]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Saturn Major Moons",
+ Version = "1.0",
+ Description = [[ Meta asset containing Saturn's major moons: Dione, Enceladus,
+ Hyperion, Iapetus, Mimas, Rhea, Tethys, and Titan]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/mimas/default_layers.asset b/data/assets/scene/solarsystem/planets/saturn/mimas/default_layers.asset
index 3521c2beb4..8e4aca890e 100644
--- a/data/assets/scene/solarsystem/planets/saturn/mimas/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/mimas/default_layers.asset
@@ -5,16 +5,16 @@ local colorLayer = asset.require(colorLayersPath .. "/mimas_texture")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Mimas.Renderable.Layers.ColorLayers." ..
- colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Mimas.Renderable.Layers.ColorLayers." ..
+ colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Mimas Layers",
- Version = "1.0",
- Description = [[ Default Mimas layers are: Mimas Texture]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Mimas Layers",
+ Version = "1.0",
+ Description = [[ Default Mimas layers are: Mimas Texture]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/mimas/layers/colorlayers/mimas_texture.asset b/data/assets/scene/solarsystem/planets/saturn/mimas/layers/colorlayers/mimas_texture.asset
index b2a293f92c..d16f67c799 100644
--- a/data/assets/scene/solarsystem/planets/saturn/mimas/layers/colorlayers/mimas_texture.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/mimas/layers/colorlayers/mimas_texture.asset
@@ -2,22 +2,22 @@ local texturesPath = asset.require("./../../mimas_textures").TexturesPath
local globeIdentifier = asset.require("./../../mimas").Mimas.Identifier
local layer = {
- Identifier = "Texture",
- FilePath = texturesPath .. "/mimas.jpg",
+ Identifier = "Texture",
+ FilePath = texturesPath .. "/mimas.jpg",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Mimas Texutre",
- Version = "1.0",
- Description = [[ Default jpg texture for Mimas]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Mimas Texutre",
+ Version = "1.0",
+ Description = [[ Default jpg texture for Mimas]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/mimas/mimas.asset b/data/assets/scene/solarsystem/planets/saturn/mimas/mimas.asset
index 7f1b4efab1..0b9e83521a 100644
--- a/data/assets/scene/solarsystem/planets/saturn/mimas/mimas.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/mimas/mimas.asset
@@ -5,61 +5,61 @@ asset.require('./trail')
local labelsPath = asset.require('../saturn_globelabels').LabelsPath
local Mimas = {
- Identifier = "Mimas",
- Parent = transforms.SaturnBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "MIMAS",
- Observer = "SATURN BARYCENTER",
- Kernels = kernel
- },
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_MIMAS",
- DestinationFrame = "GALACTIC"
- }
+ Identifier = "Mimas",
+ Parent = transforms.SaturnBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "MIMAS",
+ Observer = "SATURN BARYCENTER",
+ Kernels = kernel
},
- Renderable = {
- Type = "RenderableGlobe",
- Radii = 198000,
- SegmentsPerPatch = 64,
- Layers = { },
- Labels = {
- Enable = false,
- FileName = labelsPath .. "/mimas.labels",
- LabelAlignmentOption = "Horizontally", -- or Circularly
- LabelsFontSize = 14.0,
- LabelsSize = 8.0,
- LabelsMinSize = 1.0,
- LabelsMaxSize = 1500.0,
- ProximityEnabled = false,
- LabelsFadeInEnabled = true,
- LabelsFadeOutEnabled = true,
- FadeInStartingDistance = 1000000.0,
- FadeOutStartingDistance = 400000.0,
- LabelsForceDomeRendering = true,
- LabelsDistanceEPS = 25000.0,
- LabelsColor = { 1.0, 1.0, 0.0 }
- }
- },
- Tag = { "moon_solarSystem", "moon_giants", "moon_saturn" },
- GUI = {
- Name = "Mimas",
- Path = "/Solar System/Planets/Saturn/Moons",
- Description = [[That's no moon...]]
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_MIMAS",
+ DestinationFrame = "GALACTIC"
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = 198000,
+ SegmentsPerPatch = 64,
+ Layers = { },
+ Labels = {
+ Enable = false,
+ FileName = labelsPath .. "/mimas.labels",
+ LabelAlignmentOption = "Horizontally", -- or Circularly
+ LabelsFontSize = 14.0,
+ LabelsSize = 8.0,
+ LabelsMinSize = 1.0,
+ LabelsMaxSize = 1500.0,
+ ProximityEnabled = false,
+ LabelsFadeInEnabled = true,
+ LabelsFadeOutEnabled = true,
+ FadeInStartingDistance = 1000000.0,
+ FadeOutStartingDistance = 400000.0,
+ LabelsForceDomeRendering = true,
+ LabelsDistanceEPS = 25000.0,
+ LabelsColor = { 1.0, 1.0, 0.0 }
+ }
+ },
+ Tag = { "moon_solarSystem", "moon_giants", "moon_saturn" },
+ GUI = {
+ Name = "Mimas",
+ Path = "/Solar System/Planets/Saturn/Moons",
+ Description = [[That's no moon...]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Mimas })
asset.meta = {
- Name = "Mimas",
- Version = "1.0",
- Description = [[ Mimas globe with labels.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Mimas"}
+ Name = "Mimas",
+ Version = "1.0",
+ Description = [[ Mimas globe with labels.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Mimas"}
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/mimas/mimas_textures.asset b/data/assets/scene/solarsystem/planets/saturn/mimas/mimas_textures.asset
index d77e912051..9f38f20984 100644
--- a/data/assets/scene/solarsystem/planets/saturn/mimas/mimas_textures.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/mimas/mimas_textures.asset
@@ -1,7 +1,7 @@
local TexturesPath = asset.syncedResource({
- Name = "Mimas textures",
- Type = "HttpSynchronization",
- Identifier = "mimas_textures",
- Version = 1
+ Name = "Mimas textures",
+ Type = "HttpSynchronization",
+ Identifier = "mimas_textures",
+ Version = 1
})
asset.export("TexturesPath", TexturesPath)
diff --git a/data/assets/scene/solarsystem/planets/saturn/mimas/trail.asset b/data/assets/scene/solarsystem/planets/saturn/mimas/trail.asset
index 9777b2c2f6..0322f99b11 100644
--- a/data/assets/scene/solarsystem/planets/saturn/mimas/trail.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/mimas/trail.asset
@@ -5,37 +5,37 @@ local kernel = asset.require('../kernels').sat375
local MimasTrail = {
- Identifier = "MimasTrail",
- Parent = transforms.SaturnBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "MIMAS",
- Observer = "SATURN BARYCENTER",
- Kernels = kernel
- },
- Color = { 0.5, 0.3, 0.3 },
- Period = 23.0 / 24.0,
- Resolution = 1000
+ Identifier = "MimasTrail",
+ Parent = transforms.SaturnBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "MIMAS",
+ Observer = "SATURN BARYCENTER",
+ Kernels = kernel
},
- Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_saturn" },
- GUI = {
- Name = "Mimas Trail",
- Path = "/Solar System/Planets/Saturn/Moons",
- Description = [[ Trail of Saturn's moon Mimas as observed by Saturn.]],
- }
+ Color = { 0.5, 0.3, 0.3 },
+ Period = 23.0 / 24.0,
+ Resolution = 1000
+ },
+ Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_saturn" },
+ GUI = {
+ Name = "Mimas Trail",
+ Path = "/Solar System/Planets/Saturn/Moons",
+ Description = [[ Trail of Saturn's moon Mimas as observed by Saturn.]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { MimasTrail })
asset.meta = {
- Name = "Mimas Trail",
- Version = "1.0",
- Description = [[ Main trail for Mimas. Data from NASA Spice (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"MimasTrail"}
+ Name = "Mimas Trail",
+ Version = "1.0",
+ Description = [[ Main trail for Mimas. Data from NASA Spice (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"MimasTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/minor/gallic_group.asset b/data/assets/scene/solarsystem/planets/saturn/minor/gallic_group.asset
index d1595eb574..a08b0fc03e 100644
--- a/data/assets/scene/solarsystem/planets/saturn/minor/gallic_group.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/minor/gallic_group.asset
@@ -10,81 +10,81 @@ local parentSpice = "SATURN BARYCENTER"
local tags = { "moon_solarSystem", "moon_giants", "moon_saturn", "moon_gallic" }
local trailColor = { 0.5, 0.3, 0.3 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_saturn",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_saturn",
+ "moonTrail_minor"
}
local gallicGroup = {
- {
- Identifier = "Albiorix",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "ALBIORIX",
- Radii = { 32000, 32000, 32000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Gallic Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 774.58,
- Kernels = kernel
+ {
+ Identifier = "Albiorix",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Bebhionn",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "BEBHIONN",
- Radii = { 6000, 6000, 6000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Gallic Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 838.77,
- Kernels = kernel
+ Spice = "ALBIORIX",
+ Radii = { 32000, 32000, 32000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Gallic Group"
},
- {
- Identifier = "Erriapus",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "ERRIAPUS",
- Radii = { 10000, 10000, 10000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Gallic Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 844.89,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 774.58,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Bebhionn",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Tarvos",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "TARVOS",
- Radii = { 15000, 15000, 15000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Gallic Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 944.23,
- Kernels = kernel
+ Spice = "BEBHIONN",
+ Radii = { 6000, 6000, 6000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Gallic Group"
},
+ TrailColor = trailColor,
+ OrbitPeriod = 838.77,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Erriapus",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "ERRIAPUS",
+ Radii = { 10000, 10000, 10000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Gallic Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 844.89,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Tarvos",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "TARVOS",
+ Radii = { 15000, 15000, 15000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Gallic Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 944.23,
+ Kernels = kernel
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
@@ -94,12 +94,12 @@ assetHelper.registerSceneGraphNodesAndExport(
asset.meta = {
- Name = "Saturn Gallic Group Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Saturn's Gallic Group
- moons: Albiorix, Bebhionn, Erriapus, and Tarvos. Blank globes and SPICE trails are
- generated for each moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Saturn Gallic Group Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Saturn's Gallic Group
+ moons: Albiorix, Bebhionn, Erriapus, and Tarvos. Blank globes and SPICE trails are
+ generated for each moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/minor/inuit_group.asset b/data/assets/scene/solarsystem/planets/saturn/minor/inuit_group.asset
index c94c9c1e83..9fd0637b38 100644
--- a/data/assets/scene/solarsystem/planets/saturn/minor/inuit_group.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/minor/inuit_group.asset
@@ -10,113 +10,113 @@ local parentSpice = "SATURN BARYCENTER"
local tags = { "moon_solarSystem", "moon_giants", "moon_saturn", "moon_inuit" }
local trailColor = { 0.5, 0.3, 0.3 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_saturn",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_saturn",
+ "moonTrail_minor"
}
local inuitGroup = {
- {
- Identifier = "Kiviuq",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "KIVIUQ",
- Radii = { 16000, 16000, 16000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Inuit Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 448.16,
- Kernels = kernel
+ {
+ Identifier = "Kiviuq",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Ijiraq",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "IJIRAQ",
- Radii = { 12000, 12000, 12000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Inuit Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 451.77,
- Kernels = kernel
+ Spice = "KIVIUQ",
+ Radii = { 16000, 16000, 16000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Inuit Group"
},
- {
- Identifier = "Paaliaq",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "PAALIAQ",
- Radii = { 22000, 22000, 22000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Inuit Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 692.98,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 448.16,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Ijiraq",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Siarnaq",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "SIARNAQ",
- Radii = { 40000, 40000, 40000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Inuit Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 884.88,
- Kernels = kernel
+ Spice = "IJIRAQ",
+ Radii = { 12000, 12000, 12000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Inuit Group"
},
- {
- Identifier = "Tarqeq",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "TARQEQ",
- Radii = { 7000, 7000, 7000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Inuit Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 894.86,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 451.77,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Paaliaq",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
+ Spice = "PAALIAQ",
+ Radii = { 22000, 22000, 22000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Inuit Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 692.98,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Siarnaq",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "SIARNAQ",
+ Radii = { 40000, 40000, 40000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Inuit Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 884.88,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Tarqeq",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "TARQEQ",
+ Radii = { 7000, 7000, 7000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Inuit Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 894.86,
+ Kernels = kernel
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
- asset,
- proceduralGlobes.createGlobes(inuitGroup)
+ asset,
+ proceduralGlobes.createGlobes(inuitGroup)
)
asset.meta = {
- Name = "Saturn Inuit Group Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Saturn's Inuit Group
- moons: Kiviuq, Ijiraq, Paaliaq, Siarnaq and Tarqeq. Blank globes and SPICE trails
- are generated for each moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Saturn Inuit Group Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Saturn's Inuit Group
+ moons: Kiviuq, Ijiraq, Paaliaq, Siarnaq and Tarqeq. Blank globes and SPICE trails
+ are generated for each moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/minor/norse_group.asset b/data/assets/scene/solarsystem/planets/saturn/minor/norse_group.asset
index 84537fc15f..4cad89e12f 100644
--- a/data/assets/scene/solarsystem/planets/saturn/minor/norse_group.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/minor/norse_group.asset
@@ -12,531 +12,531 @@ local parentSpice = "SATURN BARYCENTER"
local tags = { "moon_solarSystem", "moon_giants", "moon_saturn", "moon_norse" }
local trailColor = { 0.5, 0.3, 0.3 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_saturn",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_saturn",
+ "moonTrail_minor"
}
local norseGroup = {
- {
- Identifier = "Phoebe",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "PHOEBE",
- Radii = { 218800, 217000, 203600 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 545.09,
- Kernels = kernel375
+ {
+ Identifier = "Phoebe",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Skathi",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "SKATHI",
- Radii = { 8000, 8000, 8000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 732.52,
- Kernels = kernel368
+ Spice = "PHOEBE",
+ Radii = { 218800, 217000, 203600 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
},
- {
- Identifier = "S2007S2",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "65055",
- Radii = { 6000, 6000, 6000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2007 S 2",
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 792.96,
- Kernels = kernel368
+ TrailColor = trailColor,
+ OrbitPeriod = 545.09,
+ Kernels = kernel375
+ },
+ {
+ Identifier = "Skathi",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Skoll",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "SKOLL",
- Radii = { 6000, 6000, 6000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 862.37,
- Kernels = kernel368
+ Spice = "SKATHI",
+ Radii = { 8000, 8000, 8000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
},
- {
- Identifier = "S2004S13",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "65041",
- Radii = { 6000, 6000, 6000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2004 S 13",
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 905.85,
- Kernels = kernel368
+ TrailColor = trailColor,
+ OrbitPeriod = 732.52,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "S2007S2",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Greip",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "GREIP",
- Radii = { 6000, 6000, 6000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 906.56,
- Kernels = kernel368
+ Spice = "65055",
+ Radii = { 6000, 6000, 6000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2007 S 2",
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
},
- {
- Identifier = "Hyrrokkin",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "HYRROKKIN",
- Radii = { 8000, 8000, 8000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 914.29,
- Kernels = kernel368
+ TrailColor = trailColor,
+ OrbitPeriod = 792.96,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "Skoll",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Jarnsaxa",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "JARNSAXA",
- Radii = { 6000, 6000, 6000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 943.78,
- Kernels = kernel368
+ Spice = "SKOLL",
+ Radii = { 6000, 6000, 6000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
},
- {
- Identifier = "Mundilfari",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "MUNDILFARI",
- Radii = { 7000, 7000, 7000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 956.70,
- Kernels = kernel368
+ TrailColor = trailColor,
+ OrbitPeriod = 862.37,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "S2004S13",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "S2006S1",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "65048",
- Radii = { 6000, 6000, 6000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2006 S 1",
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 972.41,
- Kernels = kernel368
+ Spice = "65041",
+ Radii = { 6000, 6000, 6000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2004 S 13",
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
},
- {
- Identifier = "S2004S17",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "65045",
- Radii = { 4000, 4000, 4000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2004 S 17",
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 985.45,
- Kernels = kernel368
+ TrailColor = trailColor,
+ OrbitPeriod = 905.85,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "Greip",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Bergelmir",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "BERGELMIR",
- Radii = { 6000, 6000, 6000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 985.83,
- Kernels = kernel368
+ Spice = "GREIP",
+ Radii = { 6000, 6000, 6000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
},
- {
- Identifier = "Narvi",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "NARVI",
- Radii = { 7000, 7000, 7000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1008.45,
- Kernels = kernel368
+ TrailColor = trailColor,
+ OrbitPeriod = 906.56,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "Hyrrokkin",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Suttungr",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "SUTTUNGR",
- Radii = { 7000, 7000, 7000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1022.82,
- Kernels = kernel368
+ Spice = "HYRROKKIN",
+ Radii = { 8000, 8000, 8000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
},
- {
- Identifier = "Hati",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "HATI",
- Radii = { 6000, 6000, 6000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1033.05,
- Kernels = kernel368
+ TrailColor = trailColor,
+ OrbitPeriod = 914.29,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "Jarnsaxa",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "S2004S12",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "65040",
- Radii = { 5000, 5000, 5000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2004 S 12",
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1048.54,
- Kernels = kernel368
+ Spice = "JARNSAXA",
+ Radii = { 6000, 6000, 6000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
},
- {
- Identifier = "Farbauti",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "FARBAUTI",
- Radii = { 5000, 5000, 5000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1054.78,
- Kernels = kernel368
+ TrailColor = trailColor,
+ OrbitPeriod = 943.78,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "Mundilfari",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Thrymr",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "THRYMR",
- Radii = { 7000, 7000, 7000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1078.09,
- Kernels = kernel368
+ Spice = "MUNDILFARI",
+ Radii = { 7000, 7000, 7000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
},
- {
- Identifier = "Aegir",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "AEGIR",
- Radii = { 6000, 6000, 6000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1094.46,
- Kernels = kernel368
+ TrailColor = trailColor,
+ OrbitPeriod = 956.70,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "S2006S1",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "S2007S3",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "65056",
- Radii = { 5000, 5000, 5000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2007 S 3",
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1100,
- Kernels = kernel368
+ Spice = "65048",
+ Radii = { 6000, 6000, 6000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2006 S 1",
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
},
- {
- Identifier = "Bestla",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "BESTLA",
- Radii = { 7000, 7000, 7000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1101.45,
- Kernels = kernel368
+ TrailColor = trailColor,
+ OrbitPeriod = 972.41,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "S2004S17",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "S2004S7",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "65035",
- Radii = { 6000, 6000, 6000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2004 S 7",
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1101.99,
- Kernels = kernel368
+ Spice = "65045",
+ Radii = { 4000, 4000, 4000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2004 S 17",
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
},
- {
- Identifier = "S2006S3",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "65050",
- Radii = { 6000, 6000, 6000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Name = "S/2006 S 3",
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1142.37,
- Kernels = kernel368
+ TrailColor = trailColor,
+ OrbitPeriod = 985.45,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "Bergelmir",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "FENRIR",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "FENRIR",
- Radii = { 4000, 4000, 4000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1212.53,
- Kernels = kernel368
+ Spice = "BERGELMIR",
+ Radii = { 6000, 6000, 6000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
},
- -- Not yet in the Spice kernels
- -- {
- -- Identifier = "Sutur", -- Rising
- -- Parent = {
- -- Identifier = parentIdentifier,
- -- Spice = parentSpice
- -- },
- -- Spice = "SUTUR",
- -- Radii = { 6000, 6000, 6000 },
- -- Tags = tags,
- -- GUI = {
- -- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- -- },
- -- TrailColor = trailColor,
- -- OrbitPeriod = 1242.36,
- -- Kernels = kernels368
- -- },
- {
- Identifier = "Kari",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "KARI",
- Radii = { 7000, 7000, 7000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1245.06,
- Kernels = kernel368
+ TrailColor = trailColor,
+ OrbitPeriod = 985.83,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "Narvi",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Ymir",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "YMIR",
- Radii = { 18000, 18000, 18000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1254.15,
- Kernels = kernel368
+ Spice = "NARVI",
+ Radii = { 7000, 7000, 7000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
},
- {
- Identifier = "Loge",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "LOGE",
- Radii = { 6000, 6000, 6000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1300.95,
- Kernels = kernel368
+ TrailColor = trailColor,
+ OrbitPeriod = 1008.45,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "Suttungr",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Fornjot",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "FORNJOT",
- Radii = { 6000, 6000, 6000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1432.16,
- Kernels = kernel368
+ Spice = "SUTTUNGR",
+ Radii = { 7000, 7000, 7000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
},
+ TrailColor = trailColor,
+ OrbitPeriod = 1022.82,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "Hati",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "HATI",
+ Radii = { 6000, 6000, 6000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1033.05,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "S2004S12",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "65040",
+ Radii = { 5000, 5000, 5000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2004 S 12",
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1048.54,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "Farbauti",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "FARBAUTI",
+ Radii = { 5000, 5000, 5000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1054.78,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "Thrymr",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "THRYMR",
+ Radii = { 7000, 7000, 7000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1078.09,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "Aegir",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "AEGIR",
+ Radii = { 6000, 6000, 6000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1094.46,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "S2007S3",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "65056",
+ Radii = { 5000, 5000, 5000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2007 S 3",
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1100,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "Bestla",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "BESTLA",
+ Radii = { 7000, 7000, 7000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1101.45,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "S2004S7",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "65035",
+ Radii = { 6000, 6000, 6000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2004 S 7",
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1101.99,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "S2006S3",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "65050",
+ Radii = { 6000, 6000, 6000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Name = "S/2006 S 3",
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1142.37,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "FENRIR",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "FENRIR",
+ Radii = { 4000, 4000, 4000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1212.53,
+ Kernels = kernel368
+ },
+ -- Not yet in the Spice kernels
+ -- {
+ -- Identifier = "Sutur", -- Rising
+ -- Parent = {
+ -- Identifier = parentIdentifier,
+ -- Spice = parentSpice
+ -- },
+ -- Spice = "SUTUR",
+ -- Radii = { 6000, 6000, 6000 },
+ -- Tags = tags,
+ -- GUI = {
+ -- Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
+ -- },
+ -- TrailColor = trailColor,
+ -- OrbitPeriod = 1242.36,
+ -- Kernels = kernels368
+ -- },
+ {
+ Identifier = "Kari",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "KARI",
+ Radii = { 7000, 7000, 7000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1245.06,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "Ymir",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "YMIR",
+ Radii = { 18000, 18000, 18000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1254.15,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "Loge",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "LOGE",
+ Radii = { 6000, 6000, 6000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1300.95,
+ Kernels = kernel368
+ },
+ {
+ Identifier = "Fornjot",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "FORNJOT",
+ Radii = { 6000, 6000, 6000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Norse Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1432.16,
+ Kernels = kernel368
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
- asset,
- proceduralGlobes.createGlobes(norseGroup)
+ asset,
+ proceduralGlobes.createGlobes(norseGroup)
)
asset.meta = {
- Name = "Saturn Norse Group Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Saturn's Norse Group
- moons: Phoebe, Skathi, S2007S2, Skoll, S2004S13, Greip, Hyrrokkin, Jarnsaxa,
- Mundilfari, S2006S1, S2004S17, Bergelmir, Narvi, Suttungr, Hati, S2004S12,
- Farbauti, Thrymr, Aegir, S2007S3, Bestla, S2004S7, S2006S3, Fenrir, Kari, Ymir,
- Loge, Fornjot. Blank globes and SPICE trails are generated for each moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Saturn Norse Group Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Saturn's Norse Group
+ moons: Phoebe, Skathi, S2007S2, Skoll, S2004S13, Greip, Hyrrokkin, Jarnsaxa,
+ Mundilfari, S2006S1, S2004S17, Bergelmir, Narvi, Suttungr, Hati, S2004S12,
+ Farbauti, Thrymr, Aegir, S2007S3, Bestla, S2004S7, S2006S3, Fenrir, Kari, Ymir,
+ Loge, Fornjot. Blank globes and SPICE trails are generated for each moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/minor/other_group.asset b/data/assets/scene/solarsystem/planets/saturn/minor/other_group.asset
index bfc6cf5c78..6ceaa4a9d1 100644
--- a/data/assets/scene/solarsystem/planets/saturn/minor/other_group.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/minor/other_group.asset
@@ -12,251 +12,251 @@ local parentSpice = "SATURN BARYCENTER"
local tags = { "moon_solarSystem", "moon_giants", "moon_saturn", "moon_other" }
local trailColor = { 0.5, 0.3, 0.3 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_saturn",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_saturn",
+ "moonTrail_minor"
}
local otherGroup = {
- {
- Identifier = "Atlas",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "ATLAS",
- Radii = { 41000, 35000, 19000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Other Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.60169,
- Kernels = kernel393
+ {
+ Identifier = "Atlas",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Prometheus",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "PROMETHEUS",
- Radii = { 136000, 79000, 59000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Other Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.61299,
- Kernels = kernel393
+ Spice = "ATLAS",
+ Radii = { 41000, 35000, 19000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Other Group"
},
- {
- Identifier = "Pandora",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "PANDORA",
- Radii = { 104000, 81000, 64000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Other Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.62850,
- Kernels = kernel393
+ TrailColor = trailColor,
+ OrbitPeriod = 0.60169,
+ Kernels = kernel393
+ },
+ {
+ Identifier = "Prometheus",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Epimetheus",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "EPIMETHEUS",
- Radii = { 130000, 114000, 106000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Other Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.69433,
- Kernels = kernel393
+ Spice = "PROMETHEUS",
+ Radii = { 136000, 79000, 59000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Other Group"
},
- {
- Identifier = "Janus",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "JANUS",
- Radii = { 203000, 185000, 153000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Other Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.69466,
- Kernels = kernel393
+ TrailColor = trailColor,
+ OrbitPeriod = 0.61299,
+ Kernels = kernel393
+ },
+ {
+ Identifier = "Pandora",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Aegaeon",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "AEGAEON",
- Radii = { 500, 500, 500 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Other Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.80812,
- Kernels = kernel393
+ Spice = "PANDORA",
+ Radii = { 104000, 81000, 64000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Other Group"
},
- {
- Identifier = "Methone",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "METHONE",
- Radii = { 3200, 3200, 3200 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Other Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1.00957,
- Kernels = kernel393
+ TrailColor = trailColor,
+ OrbitPeriod = 0.62850,
+ Kernels = kernel393
+ },
+ {
+ Identifier = "Epimetheus",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Anthe",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "ANTHE",
- Radii = { 1800, 1800, 1800 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Other Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1.05089,
- Kernels = kernel393
+ Spice = "EPIMETHEUS",
+ Radii = { 130000, 114000, 106000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Other Group"
},
- {
- Identifier = "Pallene",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "PALLENE",
- Radii = { 6000, 6000, 4000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Other Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1.370218,
- Kernels = kernel393
+ TrailColor = trailColor,
+ OrbitPeriod = 0.69433,
+ Kernels = kernel393
+ },
+ {
+ Identifier = "Janus",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Telesto",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "TELESTO",
- Radii = { 33000, 24000, 20000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Other Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1.887802,
- Kernels = kernel375
+ Spice = "JANUS",
+ Radii = { 203000, 185000, 153000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Other Group"
},
- {
- Identifier = "Calypso",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "CALYPSO",
- Radii = { 30000, 23000, 14000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Other Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1.887802,
- Kernels = kernel375
+ TrailColor = trailColor,
+ OrbitPeriod = 0.69466,
+ Kernels = kernel393
+ },
+ {
+ Identifier = "Aegaeon",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Helene",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "HELENE",
- Radii = { 43000, 38000, 26000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Other Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 2.736915,
- Kernels = kernel375
+ Spice = "AEGAEON",
+ Radii = { 500, 500, 500 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Other Group"
},
- {
- Identifier = "Polydeuces",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "POLYDEUCES",
- Radii = { 3000, 2000, 1000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons/Other Group"
- },
- TrailColor = trailColor,
- OrbitPeriod = 2.736915,
- Kernels = kernel393
- }
+ TrailColor = trailColor,
+ OrbitPeriod = 0.80812,
+ Kernels = kernel393
+ },
+ {
+ Identifier = "Methone",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "METHONE",
+ Radii = { 3200, 3200, 3200 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Other Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1.00957,
+ Kernels = kernel393
+ },
+ {
+ Identifier = "Anthe",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "ANTHE",
+ Radii = { 1800, 1800, 1800 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Other Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1.05089,
+ Kernels = kernel393
+ },
+ {
+ Identifier = "Pallene",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "PALLENE",
+ Radii = { 6000, 6000, 4000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Other Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1.370218,
+ Kernels = kernel393
+ },
+ {
+ Identifier = "Telesto",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "TELESTO",
+ Radii = { 33000, 24000, 20000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Other Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1.887802,
+ Kernels = kernel375
+ },
+ {
+ Identifier = "Calypso",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "CALYPSO",
+ Radii = { 30000, 23000, 14000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Other Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1.887802,
+ Kernels = kernel375
+ },
+ {
+ Identifier = "Helene",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "HELENE",
+ Radii = { 43000, 38000, 26000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Other Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 2.736915,
+ Kernels = kernel375
+ },
+ {
+ Identifier = "Polydeuces",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "POLYDEUCES",
+ Radii = { 3000, 2000, 1000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons/Other Group"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 2.736915,
+ Kernels = kernel393
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
- asset,
- proceduralGlobes.createGlobes(otherGroup)
+ asset,
+ proceduralGlobes.createGlobes(otherGroup)
)
asset.meta = {
- Name = "Saturn Other Group Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Saturn's Other Group
- moons: Phoebe, Skathi, S2007S2, Skoll, S2004S13, Greip, Hyrrokkin, Jarnsaxa,
- Mundilfari, S2006S1, S2004S17, Bergelmir, Narvi, Suttungr, Hati, S2004S12,
- Farbauti, Thrymr, Aegir, S2007S3, Bestla, S2004S7, S2006S3, Fenrir, Kari, Ymir,
- Loge, Fornjot. Blank globes and SPICE trails are generated for each moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Saturn Other Group Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Saturn's Other Group
+ moons: Phoebe, Skathi, S2007S2, Skoll, S2004S13, Greip, Hyrrokkin, Jarnsaxa,
+ Mundilfari, S2006S1, S2004S17, Bergelmir, Narvi, Suttungr, Hati, S2004S12,
+ Farbauti, Thrymr, Aegir, S2007S3, Bestla, S2004S7, S2006S3, Fenrir, Kari, Ymir,
+ Loge, Fornjot. Blank globes and SPICE trails are generated for each moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/minor_moons.asset b/data/assets/scene/solarsystem/planets/saturn/minor_moons.asset
index 15cce78ea9..d3a7048f7f 100644
--- a/data/assets/scene/solarsystem/planets/saturn/minor_moons.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/minor_moons.asset
@@ -5,11 +5,11 @@ asset.require('./minor/other_group')
asset.meta = {
- Name = "Saturn Minor Moons",
- Version = "1.0",
- Description = [[ Meta asset containing four moon groups: Gallic, Inuit, Norse and
- Other]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Saturn Minor Moons",
+ Version = "1.0",
+ Description = [[ Meta asset containing four moon groups: Gallic, Inuit, Norse and
+ Other]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/rhea/default_layers.asset b/data/assets/scene/solarsystem/planets/saturn/rhea/default_layers.asset
index 41d72450ae..3c169d1383 100644
--- a/data/assets/scene/solarsystem/planets/saturn/rhea/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/rhea/default_layers.asset
@@ -5,16 +5,16 @@ local colorLayer = asset.require(colorLayersPath .. "/rhea_texture")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Rhea.Renderable.Layers.ColorLayers." ..
- colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Rhea.Renderable.Layers.ColorLayers." ..
+ colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Rhea Layers",
- Version = "1.0",
- Description = [[ Default Rhea layers are: Rhea Texture]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Rhea Layers",
+ Version = "1.0",
+ Description = [[ Default Rhea layers are: Rhea Texture]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/rhea/layers/colorlayers/rhea_texture.asset b/data/assets/scene/solarsystem/planets/saturn/rhea/layers/colorlayers/rhea_texture.asset
index 36decdf745..dd36ba9160 100644
--- a/data/assets/scene/solarsystem/planets/saturn/rhea/layers/colorlayers/rhea_texture.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/rhea/layers/colorlayers/rhea_texture.asset
@@ -2,22 +2,22 @@ local texturesPath = asset.require("./../../rhea_textures").TexturesPath
local globeIdentifier = asset.require("./../../rhea").Rhea.Identifier
local layer = {
- Identifier = "Texture",
- FilePath = texturesPath .. "/rhea.jpg",
+ Identifier = "Texture",
+ FilePath = texturesPath .. "/rhea.jpg",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Rhea Texutre",
- Version = "1.0",
- Description = [[ Default jpg texture for Rhea]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Rhea Texutre",
+ Version = "1.0",
+ Description = [[ Default jpg texture for Rhea]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/rhea/rhea.asset b/data/assets/scene/solarsystem/planets/saturn/rhea/rhea.asset
index 83792b1a33..0c2d323efe 100644
--- a/data/assets/scene/solarsystem/planets/saturn/rhea/rhea.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/rhea/rhea.asset
@@ -5,60 +5,60 @@ asset.require('./trail')
local labelsPath = asset.require('../saturn_globelabels').LabelsPath
local Rhea = {
- Identifier = "Rhea",
- Parent = transforms.SaturnBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "RHEA",
- Observer = "SATURN BARYCENTER",
- Kernels = kernel
- },
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_RHEA",
- DestinationFrame = "GALACTIC"
- }
+ Identifier = "Rhea",
+ Parent = transforms.SaturnBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "RHEA",
+ Observer = "SATURN BARYCENTER",
+ Kernels = kernel
},
- Renderable = {
- Type = "RenderableGlobe",
- Radii = 765000,
- SegmentsPerPatch = 64,
- Layers = {},
- Labels = {
- Enable = false,
- FileName = labelsPath .. "/rhea.labels",
- LabelAlignmentOption = "Horizontally", -- or Circularly
- LabelsFontSize = 40.0,
- LabelsSize = 8.0,
- LabelsMinSize = 1.0,
- LabelsMaxSize = 1500.0,
- ProximityEnabled = false,
- LabelsFadeInEnabled = true,
- LabelsFadeOutEnabled = true,
- FadeInStartingDistance = 2500000.0,
- FadeOutStartingDistance = 1000000.0,
- LabelsForceDomeRendering = true,
- LabelsDistanceEPS = 250000.0,
- LabelsColor = { 1.0, 1.0, 0.0 }
- }
- },
- Tag = { "moon_solarSystem", "moon_giants", "moon_saturn" },
- GUI = {
- Name = "Rhea",
- Path = "/Solar System/Planets/Saturn/Moons",
- Description = [[Second largest moon of Saturn.]]
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_RHEA",
+ DestinationFrame = "GALACTIC"
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = 765000,
+ SegmentsPerPatch = 64,
+ Layers = {},
+ Labels = {
+ Enable = false,
+ FileName = labelsPath .. "/rhea.labels",
+ LabelAlignmentOption = "Horizontally", -- or Circularly
+ LabelsFontSize = 40.0,
+ LabelsSize = 8.0,
+ LabelsMinSize = 1.0,
+ LabelsMaxSize = 1500.0,
+ ProximityEnabled = false,
+ LabelsFadeInEnabled = true,
+ LabelsFadeOutEnabled = true,
+ FadeInStartingDistance = 2500000.0,
+ FadeOutStartingDistance = 1000000.0,
+ LabelsForceDomeRendering = true,
+ LabelsDistanceEPS = 250000.0,
+ LabelsColor = { 1.0, 1.0, 0.0 }
+ }
+ },
+ Tag = { "moon_solarSystem", "moon_giants", "moon_saturn" },
+ GUI = {
+ Name = "Rhea",
+ Path = "/Solar System/Planets/Saturn/Moons",
+ Description = [[Second largest moon of Saturn.]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Rhea })
asset.meta = {
- Name = "Rhea",
- Version = "1.0",
- Description = [[ Rhea globe with labels.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Rhea",
+ Version = "1.0",
+ Description = [[ Rhea globe with labels.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/rhea/rhea_textures.asset b/data/assets/scene/solarsystem/planets/saturn/rhea/rhea_textures.asset
index e6b1e10677..659a127fdc 100644
--- a/data/assets/scene/solarsystem/planets/saturn/rhea/rhea_textures.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/rhea/rhea_textures.asset
@@ -1,7 +1,7 @@
local TexturesPath = asset.syncedResource({
- Name = "Rhea textures",
- Type = "HttpSynchronization",
- Identifier = "rhea_textures",
- Version = 1
+ Name = "Rhea textures",
+ Type = "HttpSynchronization",
+ Identifier = "rhea_textures",
+ Version = 1
})
asset.export("TexturesPath", TexturesPath)
diff --git a/data/assets/scene/solarsystem/planets/saturn/rhea/trail.asset b/data/assets/scene/solarsystem/planets/saturn/rhea/trail.asset
index 7e8a76469b..e26cc0d02b 100644
--- a/data/assets/scene/solarsystem/planets/saturn/rhea/trail.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/rhea/trail.asset
@@ -5,36 +5,36 @@ local kernel = asset.require('../kernels').sat375
local RheaTrail = {
- Identifier = "RheaTrail",
- Parent = transforms.SaturnBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "RHEA",
- Observer = "SATURN BARYCENTER",
- Kernels = kernel
- },
- Color = { 0.5, 0.3, 0.3 },
- Period = 108.0 / 24.0,
- Resolution = 1000
+ Identifier = "RheaTrail",
+ Parent = transforms.SaturnBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "RHEA",
+ Observer = "SATURN BARYCENTER",
+ Kernels = kernel
},
- Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_saturn" },
- GUI = {
- Name = "Rhea Trail",
- Path = "/Solar System/Planets/Saturn/Moons",
- Description = [[ Trail of Saturn's moon Rhea as observed by Saturn.]],
- }
+ Color = { 0.5, 0.3, 0.3 },
+ Period = 108.0 / 24.0,
+ Resolution = 1000
+ },
+ Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_saturn" },
+ GUI = {
+ Name = "Rhea Trail",
+ Path = "/Solar System/Planets/Saturn/Moons",
+ Description = [[ Trail of Saturn's moon Rhea as observed by Saturn.]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { RheaTrail })
asset.meta = {
- Name = "Rhea Trail",
- Version = "1.0",
- Description = [[ Main trail for Rhea. Data from NASA Spice (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Rhea Trail",
+ Version = "1.0",
+ Description = [[ Main trail for Rhea. Data from NASA Spice (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/saturn.asset b/data/assets/scene/solarsystem/planets/saturn/saturn.asset
index 09b3a33e2d..555ac5fc63 100644
--- a/data/assets/scene/solarsystem/planets/saturn/saturn.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/saturn.asset
@@ -6,81 +6,81 @@ asset.require('./trail')
local texturesPath = asset.require("./saturn_textures").TexturesPath
local Saturn = {
- Identifier = "Saturn",
- Parent = transforms.SaturnBarycenter.Identifier,
- Transform = {
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_SATURN",
- DestinationFrame = "GALACTIC"
- }
- },
- Renderable = {
- Type = "RenderableGlobe",
- Radii = { 60268000, 60268000, 54364000 },
- SegmentsPerPatch = 64,
- Layers = {},
- Rings = {
- -- Single Texture Values:
- --Texture = texturesPath .. "/saturn_rings.png",
- --ColorFilter = 0.15,
-
- -- MultiTexture Valeus:
- TextureFwrd = texturesPath .. "/forward_original_single.png",
- TextureBckwrd = texturesPath .. "/back_original_single.png",
- TextureUnlit = texturesPath .. "/unlit_original_single.png",
- TextureColor = texturesPath .. "/color_original_single.png",
- TextureTransparency = texturesPath .. "/trans_original_single.png",
- ColorFilter = 0.8,
-
- NightFactor = 1.0,
- Size = 140445000,
- Offset = { 74500 / 140445.100671159, 1.0 }, -- min / max extend
- },
- Shadows = {
- Enabled = true,
- DistanceFraction = 40.0
- }
- },
- Tag = { "planet_solarSystem", "planet_giants" },
- GUI = {
- Name = "Saturn",
- Path = "/Solar System/Planets/Saturn",
- Description = [[Saturn globe.]]
+ Identifier = "Saturn",
+ Parent = transforms.SaturnBarycenter.Identifier,
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_SATURN",
+ DestinationFrame = "GALACTIC"
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = { 60268000, 60268000, 54364000 },
+ SegmentsPerPatch = 64,
+ Layers = {},
+ Rings = {
+ -- Single Texture Values:
+ --Texture = texturesPath .. "/saturn_rings.png",
+ --ColorFilter = 0.15,
+
+ -- MultiTexture Valeus:
+ TextureFwrd = texturesPath .. "/forward_original_single.png",
+ TextureBckwrd = texturesPath .. "/back_original_single.png",
+ TextureUnlit = texturesPath .. "/unlit_original_single.png",
+ TextureColor = texturesPath .. "/color_original_single.png",
+ TextureTransparency = texturesPath .. "/trans_original_single.png",
+ ColorFilter = 0.8,
+
+ NightFactor = 1.0,
+ Size = 140445000,
+ Offset = { 74500 / 140445.100671159, 1.0 }, -- min / max extend
+ },
+ Shadows = {
+ Enabled = true,
+ DistanceFraction = 40.0
+ }
+ },
+ Tag = { "planet_solarSystem", "planet_giants" },
+ GUI = {
+ Name = "Saturn",
+ Path = "/Solar System/Planets/Saturn",
+ Description = [[Saturn globe.]]
+ }
}
local SaturnLabel = {
- Identifier = "SaturnLabel",
- Parent = Saturn.Identifier,
- Renderable = {
- Enabled = false,
- Type = "RenderableLabels",
- LabelText = "Saturn",
- FontSize = 100.0,
- LabelSize = 8.7,
- LabelMaxSize = 100.0,
- LabelMinSize = 1.0,
- BlendMode = "Additive",
- LabelOrientationOption = "Camera View Direction"
- },
- Tag = { "solarsystem_labels" },
- GUI = {
- Name = "Saturn Label",
- Path = "/Solar System/Planets/Saturn",
- Description = [[ Main planet label for Saturn.]],
- }
+ Identifier = "SaturnLabel",
+ Parent = Saturn.Identifier,
+ Renderable = {
+ Enabled = false,
+ Type = "RenderableLabels",
+ LabelText = "Saturn",
+ FontSize = 100.0,
+ LabelSize = 8.7,
+ LabelMaxSize = 100.0,
+ LabelMinSize = 1.0,
+ BlendMode = "Additive",
+ LabelOrientationOption = "Camera View Direction"
+ },
+ Tag = { "solarsystem_labels" },
+ GUI = {
+ Name = "Saturn Label",
+ Path = "/Solar System/Planets/Saturn",
+ Description = [[ Main planet label for Saturn.]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Saturn, SaturnLabel })
asset.meta = {
- Name = "Saturn",
- Version = "1.0",
- Description = [[ Saturn globe, and main planet label.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Saturn", "SaturnLabel"}
+ Name = "Saturn",
+ Version = "1.0",
+ Description = [[ Saturn globe, and main planet label.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Saturn", "SaturnLabel"}
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/saturn_globelabels.asset b/data/assets/scene/solarsystem/planets/saturn/saturn_globelabels.asset
index 1fb85efda5..cca9ae611b 100644
--- a/data/assets/scene/solarsystem/planets/saturn/saturn_globelabels.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/saturn_globelabels.asset
@@ -1,7 +1,7 @@
local LabelsPath = asset.syncedResource({
- Name = "Dione Labels",
- Type = "HttpSynchronization",
- Identifier = "saturn_labels",
- Version = 1
+ Name = "Dione Labels",
+ Type = "HttpSynchronization",
+ Identifier = "saturn_labels",
+ Version = 1
})
asset.export("LabelsPath", LabelsPath)
diff --git a/data/assets/scene/solarsystem/planets/saturn/saturn_textures.asset b/data/assets/scene/solarsystem/planets/saturn/saturn_textures.asset
index 092d099f87..3f29c75b07 100644
--- a/data/assets/scene/solarsystem/planets/saturn/saturn_textures.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/saturn_textures.asset
@@ -1,7 +1,7 @@
local TexturesPath = asset.syncedResource({
- Type = "HttpSynchronization",
- Name = "Saturn textures",
- Identifier = "saturn_textures",
- Version = 4
+ Type = "HttpSynchronization",
+ Name = "Saturn textures",
+ Identifier = "saturn_textures",
+ Version = 4
})
asset.export("TexturesPath", TexturesPath)
diff --git a/data/assets/scene/solarsystem/planets/saturn/tethys/default_layers.asset b/data/assets/scene/solarsystem/planets/saturn/tethys/default_layers.asset
index cdb813d935..18d406031c 100644
--- a/data/assets/scene/solarsystem/planets/saturn/tethys/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/tethys/default_layers.asset
@@ -5,15 +5,15 @@ local colorLayer = asset.require(colorLayersPath .. "/tethys_texture")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Tethys.Renderable.Layers.ColorLayers." .. colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Tethys.Renderable.Layers.ColorLayers." .. colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Tethys Layers",
- Version = "1.0",
- Description = [[ Default Tethys layers are: Tethys Texture]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Tethys Layers",
+ Version = "1.0",
+ Description = [[ Default Tethys layers are: Tethys Texture]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/tethys/layers/colorlayers/tethys_texture.asset b/data/assets/scene/solarsystem/planets/saturn/tethys/layers/colorlayers/tethys_texture.asset
index f8b9293d98..c8a546bc6c 100644
--- a/data/assets/scene/solarsystem/planets/saturn/tethys/layers/colorlayers/tethys_texture.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/tethys/layers/colorlayers/tethys_texture.asset
@@ -2,22 +2,22 @@ local texturesPath = asset.require("./../../tethys_textures").TexturesPath
local globeIdentifier = asset.require("./../../tethys").Tethys.Identifier
local layer = {
- Identifier = "Texture",
- FilePath = texturesPath .. "/tethys.jpg",
+ Identifier = "Texture",
+ FilePath = texturesPath .. "/tethys.jpg",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Tethys Texutre",
- Version = "1.0",
- Description = [[ Default jpg texture for Tethys]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Tethys Texutre",
+ Version = "1.0",
+ Description = [[ Default jpg texture for Tethys]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/tethys/tethys.asset b/data/assets/scene/solarsystem/planets/saturn/tethys/tethys.asset
index 18a97e75c3..636081f8af 100644
--- a/data/assets/scene/solarsystem/planets/saturn/tethys/tethys.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/tethys/tethys.asset
@@ -5,58 +5,58 @@ asset.require('./trail')
local labelsPath = asset.require('../saturn_globelabels').LabelsPath
local Tethys = {
- Identifier = "Tethys",
- Parent = transforms.SaturnBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "TETHYS",
- Observer = "SATURN BARYCENTER",
- Kernels = kernel
- },
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_TETHYS",
- DestinationFrame = "GALACTIC"
- }
+ Identifier = "Tethys",
+ Parent = transforms.SaturnBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "TETHYS",
+ Observer = "SATURN BARYCENTER",
+ Kernels = kernel
},
- Renderable = {
- Type = "RenderableGlobe",
- Radii = 531100,
- SegmentsPerPatch = 64,
- Layers = {},
- Labels = {
- Enable = false,
- FileName = labelsPath .. "/tethys.labels",
- LabelAlignmentOption = "Horizontally", -- or Circularly
- LabelsFontSize = 24.0,
- LabelsSize = 8.0,
- LabelsMinSize = 1.0,
- LabelsMaxSize = 1500.0,
- ProximityEnabled = false,
- LabelsFadeInEnabled = true,
- LabelsFadeOutEnabled = true,
- FadeInStartingDistance = 1500000.0,
- FadeOutStartingDistance = 500000.0,
- LabelsForceDomeRendering = true,
- LabelsDistanceEPS = 200000.0,
- LabelsColor = { 1.0, 1.0, 0.0 }
- }
- },
- Tag = { "moon_solarSystem", "moon_giants", "moon_saturn" },
- GUI = {
- Path = "/Solar System/Planets/Saturn/Moons"
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_TETHYS",
+ DestinationFrame = "GALACTIC"
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = 531100,
+ SegmentsPerPatch = 64,
+ Layers = {},
+ Labels = {
+ Enable = false,
+ FileName = labelsPath .. "/tethys.labels",
+ LabelAlignmentOption = "Horizontally", -- or Circularly
+ LabelsFontSize = 24.0,
+ LabelsSize = 8.0,
+ LabelsMinSize = 1.0,
+ LabelsMaxSize = 1500.0,
+ ProximityEnabled = false,
+ LabelsFadeInEnabled = true,
+ LabelsFadeOutEnabled = true,
+ FadeInStartingDistance = 1500000.0,
+ FadeOutStartingDistance = 500000.0,
+ LabelsForceDomeRendering = true,
+ LabelsDistanceEPS = 200000.0,
+ LabelsColor = { 1.0, 1.0, 0.0 }
+ }
+ },
+ Tag = { "moon_solarSystem", "moon_giants", "moon_saturn" },
+ GUI = {
+ Path = "/Solar System/Planets/Saturn/Moons"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Tethys })
asset.meta = {
- Name = "Tethys",
- Version = "1.0",
- Description = [[ Tethys globe with labels.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Tethys",
+ Version = "1.0",
+ Description = [[ Tethys globe with labels.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/tethys/tethys_textures.asset b/data/assets/scene/solarsystem/planets/saturn/tethys/tethys_textures.asset
index ac80cf268d..804f577921 100644
--- a/data/assets/scene/solarsystem/planets/saturn/tethys/tethys_textures.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/tethys/tethys_textures.asset
@@ -1,7 +1,7 @@
local TexturesPath = asset.syncedResource({
- Name = "Tethys textures",
- Type = "HttpSynchronization",
- Identifier = "tethys_textures",
- Version = 1
+ Name = "Tethys textures",
+ Type = "HttpSynchronization",
+ Identifier = "tethys_textures",
+ Version = 1
})
asset.export("TexturesPath", TexturesPath)
diff --git a/data/assets/scene/solarsystem/planets/saturn/tethys/trail.asset b/data/assets/scene/solarsystem/planets/saturn/tethys/trail.asset
index d7ce108cc4..6a82617fae 100644
--- a/data/assets/scene/solarsystem/planets/saturn/tethys/trail.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/tethys/trail.asset
@@ -5,36 +5,36 @@ local kernel = asset.require('../kernels').sat375
local TethysTrail = {
- Identifier = "TethysTrail",
- Parent = transforms.SaturnBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "TETHYS",
- Observer = "SATURN BARYCENTER",
- Kernels = kernel
- },
- Color = { 0.5, 0.3, 0.3 },
- Period = 45.0 / 24.0,
- Resolution = 1000
+ Identifier = "TethysTrail",
+ Parent = transforms.SaturnBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "TETHYS",
+ Observer = "SATURN BARYCENTER",
+ Kernels = kernel
},
- Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_saturn" },
- GUI = {
- Name = "Tethys Trail",
- Path = "/Solar System/Planets/Saturn/Moons",
- Description = [[ Trail of Saturn's moon Tethys as observed by Saturn.]],
- }
+ Color = { 0.5, 0.3, 0.3 },
+ Period = 45.0 / 24.0,
+ Resolution = 1000
+ },
+ Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_saturn" },
+ GUI = {
+ Name = "Tethys Trail",
+ Path = "/Solar System/Planets/Saturn/Moons",
+ Description = [[ Trail of Saturn's moon Tethys as observed by Saturn.]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { TethysTrail })
asset.meta = {
- Name = "Tethys Trail",
- Version = "1.0",
- Description = [[ Main trail for Tethys. Data from NASA Spice (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Tethys Trail",
+ Version = "1.0",
+ Description = [[ Main trail for Tethys. Data from NASA Spice (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/titan/default_layers.asset b/data/assets/scene/solarsystem/planets/saturn/titan/default_layers.asset
index 972c2d6787..9159115f6a 100644
--- a/data/assets/scene/solarsystem/planets/saturn/titan/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/titan/default_layers.asset
@@ -6,17 +6,17 @@ local colorLayer = asset.require(colorLayersPath .. "/cassini_iss_global_mosaic_
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Titan.Renderable.Layers.ColorLayers." ..
- colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Titan.Renderable.Layers.ColorLayers." ..
+ colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Titan Layers",
- Version = "1.0",
- Description = [[ Default Titan layers are: Titan Texture and Cassini ISS Global
- Mosaic]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Titan Layers",
+ Version = "1.0",
+ Description = [[ Default Titan layers are: Titan Texture and Cassini ISS Global
+ Mosaic]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/titan/layers/colorlayers/cassini_iss_global_mosaic_4km_liu.asset b/data/assets/scene/solarsystem/planets/saturn/titan/layers/colorlayers/cassini_iss_global_mosaic_4km_liu.asset
index e59abc51d2..759b74073f 100644
--- a/data/assets/scene/solarsystem/planets/saturn/titan/layers/colorlayers/cassini_iss_global_mosaic_4km_liu.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/titan/layers/colorlayers/cassini_iss_global_mosaic_4km_liu.asset
@@ -2,34 +2,34 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../titan").Titan.Identifier
local layer = {
- Identifier = "Cassini_ISS_Global_Mosaic_4km_LiU",
- Name = "Cassini ISS Global Mosaic [Sweden]",
- FilePath = mapServiceConfigs .. "/LiU/ISS_P19658_Mosaic_Global_4km.wms",
- Description = [[ This global digital map of Saturn's moon Titan was created using
- images taken by the Cassini spacecraft's Imaging Science Subsystem (ISS). The map
- was produced in June 2015 using data collected through Cassini's flyby on April 7,
- 2014, known as "T100". The mean radius of Titan used for projection of this map is
- 1,600 miles (2,575 kilometers). Pixel resolution is 4005 meters per pixel (m).
- Titan is assumed to be spherical until a control network -- a model of the moon's
- shape based on multiple images tied together at defined points on the surface --
- is created at some point in the future. (Description from URL)]],
+ Identifier = "Cassini_ISS_Global_Mosaic_4km_LiU",
+ Name = "Cassini ISS Global Mosaic [Sweden]",
+ FilePath = mapServiceConfigs .. "/LiU/ISS_P19658_Mosaic_Global_4km.wms",
+ Description = [[ This global digital map of Saturn's moon Titan was created using
+ images taken by the Cassini spacecraft's Imaging Science Subsystem (ISS). The map
+ was produced in June 2015 using data collected through Cassini's flyby on April 7,
+ 2014, known as "T100". The mean radius of Titan used for projection of this map is
+ 1,600 miles (2,575 kilometers). Pixel resolution is 4005 meters per pixel (m).
+ Titan is assumed to be spherical until a control network -- a model of the moon's
+ shape based on multiple images tied together at defined points on the surface --
+ is created at some point in the future. (Description from URL)]],
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Cassini ISS Global Mosaic",
- Version = "1.0",
- Description = [[ Cassini global image layer for Titan. This layer is hosted on the
- OpenSpace server in Sweden]],
- Author = "USGS",
- URL = "https://astrogeology.usgs.gov/search/map/Titan/Cassini/Global-Mosaic/" ..
- "Titan_ISS_P19658_Mosaic_Global_4km",
- License = "NASA/PDS",
- Identifiers = {"Cassini_ISS_Global_Mosaic_4km_LiU"}
+ Name = "Cassini ISS Global Mosaic",
+ Version = "1.0",
+ Description = [[ Cassini global image layer for Titan. This layer is hosted on the
+ OpenSpace server in Sweden]],
+ Author = "USGS",
+ URL = "https://astrogeology.usgs.gov/search/map/Titan/Cassini/Global-Mosaic/" ..
+ "Titan_ISS_P19658_Mosaic_Global_4km",
+ License = "NASA/PDS",
+ Identifiers = {"Cassini_ISS_Global_Mosaic_4km_LiU"}
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/titan/layers/colorlayers/titan_texture.asset b/data/assets/scene/solarsystem/planets/saturn/titan/layers/colorlayers/titan_texture.asset
index 62a397db97..b9730b43eb 100644
--- a/data/assets/scene/solarsystem/planets/saturn/titan/layers/colorlayers/titan_texture.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/titan/layers/colorlayers/titan_texture.asset
@@ -2,22 +2,22 @@ local texturesPath = asset.require("./../../titan_textures").TexturesPath
local globeIdentifier = asset.require("./../../titan").Titan.Identifier
local layer = {
- Identifier = "Texture",
- FilePath = texturesPath .. "/titan.jpg",
+ Identifier = "Texture",
+ FilePath = texturesPath .. "/titan.jpg",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Titan Texutre",
- Version = "1.0",
- Description = [[ Default jpg texture for Titan]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Titan Texutre",
+ Version = "1.0",
+ Description = [[ Default jpg texture for Titan]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/titan/titan.asset b/data/assets/scene/solarsystem/planets/saturn/titan/titan.asset
index eaa851c833..fb52863ec2 100644
--- a/data/assets/scene/solarsystem/planets/saturn/titan/titan.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/titan/titan.asset
@@ -5,61 +5,61 @@ asset.require('./trail')
local labelsPath = asset.require('../saturn_globelabels').LabelsPath
local Titan = {
- Identifier = "Titan",
- Parent = transforms.SaturnBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "TITAN",
- Observer = "SATURN BARYCENTER",
- Kernels = kernel
- },
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_TITAN",
- DestinationFrame = "GALACTIC"
- }
+ Identifier = "Titan",
+ Parent = transforms.SaturnBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "TITAN",
+ Observer = "SATURN BARYCENTER",
+ Kernels = kernel
},
- Renderable = {
- Type = "RenderableGlobe",
- Radii = 2576000,
- SegmentsPerPatch = 64,
- Layers = {},
- Labels = {
- Enable = false,
- FileName = labelsPath .. "/titan.labels",
- LabelAlignmentOption = "Horizontally", -- or Circularly
- LabelsFontSize = 14.0,
- LabelsSize = 10.0,
- LabelsMinSize = 1.0,
- LabelsMaxSize = 1500.0,
- ProximityEnabled = false,
- LabelsFadeInEnabled = true,
- LabelsFadeOutEnabled = true,
- FadeInStartingDistance = 7500000.0,
- FadeOutStartingDistance = 6000000.0,
- LabelsForceDomeRendering = true,
- LabelsDistanceEPS = 1350000.0,
- LabelsColor = { 1.0, 1.0, 0.0 }
- }
- },
- Tag = { "moon_solarSystem", "moon_giants", "moon_saturn" },
- GUI = {
- Name = "Titan",
- Path = "/Solar System/Planets/Saturn/Moons",
- Description = [[Largest moon of Saturn.]]
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_TITAN",
+ DestinationFrame = "GALACTIC"
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = 2576000,
+ SegmentsPerPatch = 64,
+ Layers = {},
+ Labels = {
+ Enable = false,
+ FileName = labelsPath .. "/titan.labels",
+ LabelAlignmentOption = "Horizontally", -- or Circularly
+ LabelsFontSize = 14.0,
+ LabelsSize = 10.0,
+ LabelsMinSize = 1.0,
+ LabelsMaxSize = 1500.0,
+ ProximityEnabled = false,
+ LabelsFadeInEnabled = true,
+ LabelsFadeOutEnabled = true,
+ FadeInStartingDistance = 7500000.0,
+ FadeOutStartingDistance = 6000000.0,
+ LabelsForceDomeRendering = true,
+ LabelsDistanceEPS = 1350000.0,
+ LabelsColor = { 1.0, 1.0, 0.0 }
+ }
+ },
+ Tag = { "moon_solarSystem", "moon_giants", "moon_saturn" },
+ GUI = {
+ Name = "Titan",
+ Path = "/Solar System/Planets/Saturn/Moons",
+ Description = [[Largest moon of Saturn.]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Titan })
asset.meta = {
- Name = "Titan",
- Version = "1.0",
- Description = [[ Titan globe with labels.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Titan"}
+ Name = "Titan",
+ Version = "1.0",
+ Description = [[ Titan globe with labels.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Titan"}
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/titan/titan_textures.asset b/data/assets/scene/solarsystem/planets/saturn/titan/titan_textures.asset
index e4c0742701..6083943b65 100644
--- a/data/assets/scene/solarsystem/planets/saturn/titan/titan_textures.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/titan/titan_textures.asset
@@ -1,7 +1,7 @@
local TexturesPath = asset.syncedResource({
- Type = "HttpSynchronization",
- Name = "Titan textures",
- Identifier = "titan_textures",
- Version = 1
+ Type = "HttpSynchronization",
+ Name = "Titan textures",
+ Identifier = "titan_textures",
+ Version = 1
})
asset.export("TexturesPath", TexturesPath)
diff --git a/data/assets/scene/solarsystem/planets/saturn/titan/trail.asset b/data/assets/scene/solarsystem/planets/saturn/titan/trail.asset
index 642a32b306..a05d56cd22 100644
--- a/data/assets/scene/solarsystem/planets/saturn/titan/trail.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/titan/trail.asset
@@ -5,37 +5,37 @@ local kernel = asset.require('../kernels').sat375
local TitanTrail = {
- Identifier = "TitanTrail",
- Parent = transforms.SaturnBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "TITAN",
- Observer = "SATURN BARYCENTER",
- Kernels = kernel
- },
- Color = { 0.5, 0.3, 0.3 },
- Period = 16.0,
- Resolution = 1000
+ Identifier = "TitanTrail",
+ Parent = transforms.SaturnBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "TITAN",
+ Observer = "SATURN BARYCENTER",
+ Kernels = kernel
},
- Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_saturn" },
- GUI = {
- Name = "Titan Trail",
- Path = "/Solar System/Planets/Saturn/Moons",
- Description = [[ Trail of Saturn's moon Titan as observed by Saturn.]],
- }
+ Color = { 0.5, 0.3, 0.3 },
+ Period = 16.0,
+ Resolution = 1000
+ },
+ Tag = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_saturn" },
+ GUI = {
+ Name = "Titan Trail",
+ Path = "/Solar System/Planets/Saturn/Moons",
+ Description = [[ Trail of Saturn's moon Titan as observed by Saturn.]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { TitanTrail })
asset.meta = {
- Name = "Titan Trail",
- Version = "1.0",
- Description = [[ Main trail for Titan. Data from NASA Spice (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"TitanTrail"}
+ Name = "Titan Trail",
+ Version = "1.0",
+ Description = [[ Main trail for Titan. Data from NASA Spice (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"TitanTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/trail.asset b/data/assets/scene/solarsystem/planets/saturn/trail.asset
index 5f11ff9c71..907eb7ae94 100644
--- a/data/assets/scene/solarsystem/planets/saturn/trail.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/trail.asset
@@ -4,36 +4,36 @@ local transforms = asset.require('scene/solarsystem/sun/transforms')
local SaturnTrail = {
- Identifier = "SaturnTrail",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "SATURN BARYCENTER",
- Observer = "SUN"
- },
- Color = { 0.85, 0.75, 0.51 },
- Period = 10746.94,
- Resolution = 1000
+ Identifier = "SaturnTrail",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "SATURN BARYCENTER",
+ Observer = "SUN"
},
- Tag = { "planetTrail_solarSystem", "planetTrail_giants" },
- GUI = {
- Name = "Saturn Trail",
- Path = "/Solar System/Planets/Saturn",
- Description = [[ Trail of Saturn as observed by the Sun.]],
- }
+ Color = { 0.85, 0.75, 0.51 },
+ Period = 10746.94,
+ Resolution = 1000
+ },
+ Tag = { "planetTrail_solarSystem", "planetTrail_giants" },
+ GUI = {
+ Name = "Saturn Trail",
+ Path = "/Solar System/Planets/Saturn",
+ Description = [[ Trail of Saturn as observed by the Sun.]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { SaturnTrail })
asset.meta = {
- Name = "Saturn Trail",
- Version = "1.0",
- Description = [[ Main trail of Saturn. Data from NASA Spice (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"SaturnTrail"}
+ Name = "Saturn Trail",
+ Version = "1.0",
+ Description = [[ Main trail of Saturn. Data from NASA Spice (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"SaturnTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/trail_earth.asset b/data/assets/scene/solarsystem/planets/saturn/trail_earth.asset
index d62a830e25..90a686abbb 100644
--- a/data/assets/scene/solarsystem/planets/saturn/trail_earth.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/trail_earth.asset
@@ -6,38 +6,38 @@ asset.require("spice/base")
local SaturnTrailEarth = {
- Identifier = "SaturnTrailEarth",
- Parent = earthTransforms.EarthBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "SATURN BARYCENTER",
- Observer = "EARTH"
- },
- Color = { 1.0, 0.5, 0.2 },
- Period = 224.695,
- Resolution = 1000,
- Enabled = false
+ Identifier = "SaturnTrailEarth",
+ Parent = earthTransforms.EarthBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "SATURN BARYCENTER",
+ Observer = "EARTH"
},
- Tag = { "planetTrail_solarSystem_alt", "planetTrail_terrestrial_alt" },
- GUI = {
- Name = "Saturn trail from Earth",
- Path = "/Solar System/Planets/Saturn",
- Hidden = false,
- Description = [[ Trail of Saturn as observed by the Earth.]],
- }
+ Color = { 1.0, 0.5, 0.2 },
+ Period = 224.695,
+ Resolution = 1000,
+ Enabled = false
+ },
+ Tag = { "planetTrail_solarSystem_alt", "planetTrail_terrestrial_alt" },
+ GUI = {
+ Name = "Saturn trail from Earth",
+ Path = "/Solar System/Planets/Saturn",
+ Hidden = false,
+ Description = [[ Trail of Saturn as observed by the Earth.]],
+ }
}
asset.meta = {
- Name = "Saturn Trail from Earth",
- Version = "1.0",
- Description = [[ Alternate trail of Saturn, as observed by the Earth rather then the
- Sun. Data from NASA SPICE (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"VenusTrailEarth"}
+ Name = "Saturn Trail from Earth",
+ Version = "1.0",
+ Description = [[ Alternate trail of Saturn, as observed by the Earth rather then the
+ Sun. Data from NASA SPICE (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"VenusTrailEarth"}
}
diff --git a/data/assets/scene/solarsystem/planets/saturn/transforms.asset b/data/assets/scene/solarsystem/planets/saturn/transforms.asset
index 486b23469b..cedfe258df 100644
--- a/data/assets/scene/solarsystem/planets/saturn/transforms.asset
+++ b/data/assets/scene/solarsystem/planets/saturn/transforms.asset
@@ -3,32 +3,32 @@ local transforms = asset.require('scene/solarsystem/sun/transforms')
asset.require("spice/base")
local SaturnBarycenter = {
- Identifier = "SaturnBarycenter",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "SATURN BARYCENTER",
- Observer = "SUN"
- }
- },
- GUI = {
- Name = "Saturn Barycenter",
- Path = "/Solar System/Planets/Saturn",
- Hidden = true,
- Description = [[ Saturn Barycenter position]]
+ Identifier = "SaturnBarycenter",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "SATURN BARYCENTER",
+ Observer = "SUN"
}
+ },
+ GUI = {
+ Name = "Saturn Barycenter",
+ Path = "/Solar System/Planets/Saturn",
+ Hidden = true,
+ Description = [[ Saturn Barycenter position]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { SaturnBarycenter })
asset.meta = {
- Name = "Saturn Transforms",
- Version = "1.0",
- Description = [[ Saturn Barycenter transform]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"SaturnBarycenter"}
+ Name = "Saturn Transforms",
+ Version = "1.0",
+ Description = [[ Saturn Barycenter transform]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"SaturnBarycenter"}
}
diff --git a/data/assets/scene/solarsystem/planets/uranus/default_layers.asset b/data/assets/scene/solarsystem/planets/uranus/default_layers.asset
index a724445e80..54ebcc8a44 100644
--- a/data/assets/scene/solarsystem/planets/uranus/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/uranus/default_layers.asset
@@ -5,15 +5,15 @@ local colorLayer = asset.require(colorLayersPath .. "/uranus_texture")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Uranus.Renderable.Layers.ColorLayers." .. colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Uranus.Renderable.Layers.ColorLayers." .. colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Uranus Layers",
- Version = "1.0",
- Description = [[ Default Uranus layers are: Uranus texture]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Uranus Layers",
+ Version = "1.0",
+ Description = [[ Default Uranus layers are: Uranus texture]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/uranus/inner_moons.asset b/data/assets/scene/solarsystem/planets/uranus/inner_moons.asset
index d2d9b1c419..662fde8b7b 100644
--- a/data/assets/scene/solarsystem/planets/uranus/inner_moons.asset
+++ b/data/assets/scene/solarsystem/planets/uranus/inner_moons.asset
@@ -11,251 +11,251 @@ local tags = { "moon_solarSystem", "moon_giants", "moon_uranus", "moon_inner" }
local trailColor = { 0.60, 0.65, 0.84 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_uranus",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_uranus",
+ "moonTrail_minor"
}
local innerMoons = {
- {
- Identifier = "Cordelia",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "CORDELIA",
- Radii = { 40000, 40000, 40000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.335034,
- Kernels = kernel
+ {
+ Identifier = "Cordelia",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Ophelia",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "OPHELIA",
- Radii = { 43000, 43000, 43000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.376400,
- Kernels = kernel
+ Spice = "CORDELIA",
+ Radii = { 40000, 40000, 40000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
},
- {
- Identifier = "Bianca",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "BIANCA",
- Radii = { 51000, 51000, 51000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.434579,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 0.335034,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Ophelia",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Cressida",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "CRESSIDA",
- Radii = { 80000, 80000, 80000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.463570,
- Kernels = kernel
+ Spice = "OPHELIA",
+ Radii = { 43000, 43000, 43000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
},
- {
- Identifier = "Desdemona",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "DESDEMONA",
- Radii = { 64000, 64000, 64000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.473650,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 0.376400,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Bianca",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Juliet",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "JULIET",
- Radii = { 94000, 94000, 94000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.493065,
- Kernels = kernel
+ Spice = "BIANCA",
+ Radii = { 51000, 51000, 51000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
},
- {
- Identifier = "Portia",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "PORTIA",
- Radii = { 135000, 135000, 135000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.513196,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 0.434579,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Cressida",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Rosalind",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "ROSALIND",
- Radii = { 72000, 72000, 72000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.558460,
- Kernels = kernel
+ Spice = "CRESSIDA",
+ Radii = { 80000, 80000, 80000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
},
- {
- Identifier = "Cupid",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "CUPID",
- Radii = { 18000, 18000, 18000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.618,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 0.463570,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Desdemona",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Belinda",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "BELINDA",
- Radii = { 90000, 90000, 90000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.623527,
- Kernels = kernel
+ Spice = "DESDEMONA",
+ Radii = { 64000, 64000, 64000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
},
- {
- Identifier = "Perdita",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "PERDITA",
- Radii = { 30000, 30000, 30000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.638,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 0.473650,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Juliet",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Puck",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "PUCK",
- Radii = { 162000, 162000, 162000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.761833,
- Kernels = kernel
+ Spice = "JULIET",
+ Radii = { 94000, 94000, 94000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
},
- {
- Identifier = "Mab",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "MAB",
- Radii = { 25000, 25000, 25000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 0.923,
- Kernels = kernel
- }
+ TrailColor = trailColor,
+ OrbitPeriod = 0.493065,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Portia",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "PORTIA",
+ Radii = { 135000, 135000, 135000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 0.513196,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Rosalind",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "ROSALIND",
+ Radii = { 72000, 72000, 72000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 0.558460,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Cupid",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "CUPID",
+ Radii = { 18000, 18000, 18000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 0.618,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Belinda",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "BELINDA",
+ Radii = { 90000, 90000, 90000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 0.623527,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Perdita",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "PERDITA",
+ Radii = { 30000, 30000, 30000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 0.638,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Puck",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "PUCK",
+ Radii = { 162000, 162000, 162000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 0.761833,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Mab",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "MAB",
+ Radii = { 25000, 25000, 25000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Inner Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 0.923,
+ Kernels = kernel
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
- asset,
- proceduralGlobes.createGlobes(innerMoons)
+ asset,
+ proceduralGlobes.createGlobes(innerMoons)
)
asset.meta = {
- Name = "Uranus Irregular Retrograde Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Uranus' irregular retrograde
- moons: Cordelia, Ophelia, Bianca, Cressida, Desdemona, Juliet, Portia, Rosalind,
- Cupid, Belinda, Perdita, Puck and Mab. Blank globes and SPICE trails are
- generated for each moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Uranus Irregular Retrograde Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Uranus' irregular retrograde
+ moons: Cordelia, Ophelia, Bianca, Cressida, Desdemona, Juliet, Portia, Rosalind,
+ Cupid, Belinda, Perdita, Puck and Mab. Blank globes and SPICE trails are
+ generated for each moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/uranus/irregular_prograde_moons.asset b/data/assets/scene/solarsystem/planets/uranus/irregular_prograde_moons.asset
index 7c010df1c2..a1d36a6a3f 100644
--- a/data/assets/scene/solarsystem/planets/uranus/irregular_prograde_moons.asset
+++ b/data/assets/scene/solarsystem/planets/uranus/irregular_prograde_moons.asset
@@ -10,44 +10,44 @@ local parentSpice = "URANUS BARYCENTER"
local tags = { "moon_solarSystem", "moon_giants", "moon_uranus", "moon_irregular_prograde" }
local trailColor = { 0.60, 0.65, 0.84 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_uranus",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_uranus",
+ "moonTrail_minor"
}
local irregularMoons = {
- {
- Identifier = "Margaret",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "MARGARET",
- Radii = { 20000, 20000, 20000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Irregular Prograde Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1694.8,
- Kernels = kernel
- }
+ {
+ Identifier = "Margaret",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "MARGARET",
+ Radii = { 20000, 20000, 20000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Irregular Prograde Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1694.8,
+ Kernels = kernel
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
- asset,
- proceduralGlobes.createGlobes(irregularMoons)
+ asset,
+ proceduralGlobes.createGlobes(irregularMoons)
)
asset.meta = {
- Name = "Uranus Irregular Prograde Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Uranus' irregular prograde
- moon: Margaret. A blank globe and SPICE trail are generated for the moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Uranus Irregular Prograde Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Uranus' irregular prograde
+ moon: Margaret. A blank globe and SPICE trail are generated for the moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/uranus/irregular_retrograde_moons.asset b/data/assets/scene/solarsystem/planets/uranus/irregular_retrograde_moons.asset
index 32567ea909..11545d7f2d 100644
--- a/data/assets/scene/solarsystem/planets/uranus/irregular_retrograde_moons.asset
+++ b/data/assets/scene/solarsystem/planets/uranus/irregular_retrograde_moons.asset
@@ -10,164 +10,164 @@ local parentSpice = "URANUS BARYCENTER"
local tags = { "moon_solarSystem", "moon_giants", "moon_uranus", "moon_irregular_retrograde" }
local trailColor = { 0.60, 0.65, 0.84 }
local trailTags = {
- "moonTrail_solarSystem",
- "moonTrail_giants",
- "moonTrail_uranus",
- "moonTrail_minor"
+ "moonTrail_solarSystem",
+ "moonTrail_giants",
+ "moonTrail_uranus",
+ "moonTrail_minor"
}
local irregularMoons = {
- {
- Identifier = "Francisco",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "FRANCISCO",
- Radii = { 22000, 22000, 22000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Irregular Retrograde Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 266.56,
- Kernels = kernel
+ {
+ Identifier = "Francisco",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Caliban",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "CALIBAN",
- Radii = { 72000, 72000, 72000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Irregular Retrograde Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 579.50,
- Kernels = kernel
+ Spice = "FRANCISCO",
+ Radii = { 22000, 22000, 22000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Irregular Retrograde Moons"
},
- {
- Identifier = "Stephano",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "STEPHANO",
- Radii = { 32000, 32000, 32000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Irregular Retrograde Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 676.50,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 266.56,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Caliban",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Trinculo",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "TRINCULO",
- Radii = { 18000, 18000, 18000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Irregular Retrograde Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 758.10,
- Kernels = kernel
+ Spice = "CALIBAN",
+ Radii = { 72000, 72000, 72000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Irregular Retrograde Moons"
},
- {
- Identifier = "Sycorax",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "SYCORAX",
- Radii = { 165000, 165000, 165000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Irregular Retrograde Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1283.4,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 579.50,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Stephano",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Prospero",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "PROSPERO",
- Radii = { 50000, 50000, 50000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Irregular Retrograde Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1992.8,
- Kernels = kernel
+ Spice = "STEPHANO",
+ Radii = { 32000, 32000, 32000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Irregular Retrograde Moons"
},
- {
- Identifier = "Setebos",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "SETEBOS",
- Radii = { 48000, 48000, 48000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Irregular Retrograde Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 2202.3,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 676.50,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Trinculo",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Ferdinand",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "FERDINAND",
- Radii = { 20000, 20000, 20000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Irregular Retrograde Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 2823.4,
- Kernels = kernel
- }
+ Spice = "TRINCULO",
+ Radii = { 18000, 18000, 18000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Irregular Retrograde Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 758.10,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Sycorax",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "SYCORAX",
+ Radii = { 165000, 165000, 165000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Irregular Retrograde Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1283.4,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Prospero",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "PROSPERO",
+ Radii = { 50000, 50000, 50000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Irregular Retrograde Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 1992.8,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Setebos",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "SETEBOS",
+ Radii = { 48000, 48000, 48000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Irregular Retrograde Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 2202.3,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Ferdinand",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "FERDINAND",
+ Radii = { 20000, 20000, 20000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Irregular Retrograde Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 2823.4,
+ Kernels = kernel
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
- asset,
- proceduralGlobes.createGlobes(irregularMoons)
+ asset,
+ proceduralGlobes.createGlobes(irregularMoons)
)
asset.meta = {
- Name = "Uranus Irregular Retrograde Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Uranus' irregular retrograde
- moons: Francisco, Caliban, Stephano, Trinculo, Sycorax, Prospero, Setebos and
- Ferdinand. Blank globes and SPICE trails are generated for each moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Uranus Irregular Retrograde Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Uranus' irregular retrograde
+ moons: Francisco, Caliban, Stephano, Trinculo, Sycorax, Prospero, Setebos and
+ Ferdinand. Blank globes and SPICE trails are generated for each moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/uranus/kernels.asset b/data/assets/scene/solarsystem/planets/uranus/kernels.asset
index efcf3617b2..3e8ba66685 100644
--- a/data/assets/scene/solarsystem/planets/uranus/kernels.asset
+++ b/data/assets/scene/solarsystem/planets/uranus/kernels.asset
@@ -1,8 +1,8 @@
local Kernels = asset.syncedResource({
- Name = "Uranus Spice Kernels",
- Type = "HttpSynchronization",
- Identifier = "uranus_kernels",
- Version = 1
+ Name = "Uranus Spice Kernels",
+ Type = "HttpSynchronization",
+ Identifier = "uranus_kernels",
+ Version = 1
})
asset.export("ura091", Kernels .. "/ura091-rocks-merge.bsp")
@@ -11,10 +11,10 @@ asset.export("ura112", Kernels .. "/ura112.bsp")
asset.meta = {
- Name = "Uranus Spice Kernels",
- Version = "1.0",
- Description = [[ Generic SPICE kernels for Uranus.]],
- Author = "OpenSpace Team",
- URL = "https://naif.jpl.nasa.gov/pub/naif/pds/wgc/kernels/spk/",
- License = "NASA"
+ Name = "Uranus Spice Kernels",
+ Version = "1.0",
+ Description = [[ Generic SPICE kernels for Uranus.]],
+ Author = "OpenSpace Team",
+ URL = "https://naif.jpl.nasa.gov/pub/naif/pds/wgc/kernels/spk/",
+ License = "NASA"
}
diff --git a/data/assets/scene/solarsystem/planets/uranus/layers/colorlayers/uranus_texture.asset b/data/assets/scene/solarsystem/planets/uranus/layers/colorlayers/uranus_texture.asset
index 62f8b14981..bafffffe9c 100644
--- a/data/assets/scene/solarsystem/planets/uranus/layers/colorlayers/uranus_texture.asset
+++ b/data/assets/scene/solarsystem/planets/uranus/layers/colorlayers/uranus_texture.asset
@@ -2,22 +2,22 @@ local texturesPath = asset.require("./../../uranus_textures").TexturesPath
local globeIdentifier = asset.require("./../../uranus").Uranus.Identifier
local layer = {
- Identifier = "Texture",
- FilePath = texturesPath .. "/uranus.jpg",
+ Identifier = "Texture",
+ FilePath = texturesPath .. "/uranus.jpg",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Uranus texture",
- Version = "1.0",
- Description = [[ Uranus image texture ]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Uranus texture",
+ Version = "1.0",
+ Description = [[ Uranus image texture ]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/uranus/major_moons.asset b/data/assets/scene/solarsystem/planets/uranus/major_moons.asset
index 6298874fa4..a854ebb27a 100644
--- a/data/assets/scene/solarsystem/planets/uranus/major_moons.asset
+++ b/data/assets/scene/solarsystem/planets/uranus/major_moons.asset
@@ -13,106 +13,106 @@ local trailTags = { "moonTrail_solarSystem", "moonTrail_giants", "moonTrail_uran
local majorMoons = {
- {
- Identifier = "Miranda",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "MIRANDA",
- Radii = { 471600, 468000, 466000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Major Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 1.413479,
- Kernels = kernel
+ {
+ Identifier = "Miranda",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Ariel",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "ARIEL",
- Radii = { 1162000, 1156000, 1155000 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Major Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 2.520379,
- Kernels = kernel
+ Spice = "MIRANDA",
+ Radii = { 471600, 468000, 466000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Major Moons"
},
- {
- Identifier = "Umbriel",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "UMBRIEL",
- Radii = { 1169400, 1169400, 1169400 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Major Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 4.144177,
- Kernels = kernel
+ TrailColor = trailColor,
+ OrbitPeriod = 1.413479,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Ariel",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
},
- {
- Identifier = "Titania",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "TITANIA",
- Radii = { 1576800, 1576800, 1576800 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Major Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 8.705872,
- Kernels = kernel
+ Spice = "ARIEL",
+ Radii = { 1162000, 1156000, 1155000 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Major Moons"
},
- {
- Identifier = "Oberon",
- Parent = {
- Identifier = parentIdentifier,
- Spice = parentSpice
- },
- Spice = "OBERON",
- Radii = { 1522800, 1522800, 1522800 },
- Tags = tags,
- TrailTags = trailTags,
- GUI = {
- Path = "/Solar System/Planets/Uranus/Moons/Major Moons"
- },
- TrailColor = trailColor,
- OrbitPeriod = 13.463239,
- Kernels = kernel
- }
+ TrailColor = trailColor,
+ OrbitPeriod = 2.520379,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Umbriel",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "UMBRIEL",
+ Radii = { 1169400, 1169400, 1169400 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Major Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 4.144177,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Titania",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "TITANIA",
+ Radii = { 1576800, 1576800, 1576800 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Major Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 8.705872,
+ Kernels = kernel
+ },
+ {
+ Identifier = "Oberon",
+ Parent = {
+ Identifier = parentIdentifier,
+ Spice = parentSpice
+ },
+ Spice = "OBERON",
+ Radii = { 1522800, 1522800, 1522800 },
+ Tags = tags,
+ TrailTags = trailTags,
+ GUI = {
+ Path = "/Solar System/Planets/Uranus/Moons/Major Moons"
+ },
+ TrailColor = trailColor,
+ OrbitPeriod = 13.463239,
+ Kernels = kernel
+ }
}
assetHelper.registerSceneGraphNodesAndExport(
- asset,
- proceduralGlobes.createGlobes(majorMoons)
+ asset,
+ proceduralGlobes.createGlobes(majorMoons)
)
asset.meta = {
- Name = "Uranus Marjor Moons",
- Version = "1.0",
- Description = [[ Procedural Globe asset containing Uranus' major moons: Miranda,
- Ariel, Umbriel, Titania, and Oberon. Blank globes and SPICE trails are generated
- for each moon.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Uranus Marjor Moons",
+ Version = "1.0",
+ Description = [[ Procedural Globe asset containing Uranus' major moons: Miranda,
+ Ariel, Umbriel, Titania, and Oberon. Blank globes and SPICE trails are generated
+ for each moon.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/uranus/minor_moons.asset b/data/assets/scene/solarsystem/planets/uranus/minor_moons.asset
index 48ee0e01c7..cc69445a21 100644
--- a/data/assets/scene/solarsystem/planets/uranus/minor_moons.asset
+++ b/data/assets/scene/solarsystem/planets/uranus/minor_moons.asset
@@ -4,11 +4,11 @@ asset.require('./irregular_retrograde_moons')
asset.meta = {
- Name = "Uranus Minor Moons",
- Version = "1.0",
- Description = [[ Meta asset containing three moon groups: Inner Moons, Irregular
- Prograde Moons and Irregular Retrograde Moons]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Uranus Minor Moons",
+ Version = "1.0",
+ Description = [[ Meta asset containing three moon groups: Inner Moons, Irregular
+ Prograde Moons and Irregular Retrograde Moons]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/uranus/trail.asset b/data/assets/scene/solarsystem/planets/uranus/trail.asset
index d853a80c7c..76d6996599 100644
--- a/data/assets/scene/solarsystem/planets/uranus/trail.asset
+++ b/data/assets/scene/solarsystem/planets/uranus/trail.asset
@@ -4,36 +4,36 @@ local transforms = asset.require('scene/solarsystem/sun/transforms')
local UranusTrail = {
- Identifier = "UranusTrail",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "URANUS BARYCENTER",
- Observer = "SUN"
- },
- Color = { 0.60, 0.95, 1.00 },
- Period = 30588.740,
- Resolution = 1000
+ Identifier = "UranusTrail",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "URANUS BARYCENTER",
+ Observer = "SUN"
},
- Tag = { "planetTrail_solarSystem", "planetTrail_giants" },
- GUI = {
- Name = "Uranus Trail",
- Path = "/Solar System/Planets/Uranus",
- Description = [[ Trail of Uranus as observed by the Sun.]],
- }
+ Color = { 0.60, 0.95, 1.00 },
+ Period = 30588.740,
+ Resolution = 1000
+ },
+ Tag = { "planetTrail_solarSystem", "planetTrail_giants" },
+ GUI = {
+ Name = "Uranus Trail",
+ Path = "/Solar System/Planets/Uranus",
+ Description = [[ Trail of Uranus as observed by the Sun.]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { UranusTrail })
asset.meta = {
- Name = "Uranus Trail",
- Version = "1.0",
- Description = [[ Main trail of Uranus. Data from NASA Spice (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"UranusTrail"}
+ Name = "Uranus Trail",
+ Version = "1.0",
+ Description = [[ Main trail of Uranus. Data from NASA Spice (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"UranusTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/uranus/trail_earth.asset b/data/assets/scene/solarsystem/planets/uranus/trail_earth.asset
index 0b98567560..5c5d4d775d 100644
--- a/data/assets/scene/solarsystem/planets/uranus/trail_earth.asset
+++ b/data/assets/scene/solarsystem/planets/uranus/trail_earth.asset
@@ -6,39 +6,39 @@ asset.require("spice/base")
local UranusTrailEarth = {
- Identifier = "UranusTrailEarth",
- Parent = earthTransforms.EarthBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "URANUS BARYCENTER",
- Observer = "EARTH"
- },
- Color = { 1.0, 0.5, 0.2 },
- Period = 224.695,
- Resolution = 1000,
- Enabled = false
+ Identifier = "UranusTrailEarth",
+ Parent = earthTransforms.EarthBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "URANUS BARYCENTER",
+ Observer = "EARTH"
},
- Tag = { "planetTrail_solarSystem_alt", "planetTrail_terrestrial_alt" },
- GUI = {
- Name = "Uranus trail from Earth",
- Path = "/Solar System/Planets/Uranus",
- Hidden = false,
- Description = [[ Trail of Uranus as observed by the Earth.]],
- }
+ Color = { 1.0, 0.5, 0.2 },
+ Period = 224.695,
+ Resolution = 1000,
+ Enabled = false
+ },
+ Tag = { "planetTrail_solarSystem_alt", "planetTrail_terrestrial_alt" },
+ GUI = {
+ Name = "Uranus trail from Earth",
+ Path = "/Solar System/Planets/Uranus",
+ Hidden = false,
+ Description = [[ Trail of Uranus as observed by the Earth.]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { UranusTrailEarth })
asset.meta = {
- Name = "Uranus Trail from Earth",
- Version = "1.0",
- Description = [[ Alternate trail of Uranus, as observed by the Earth rather then the
- Sun. Data from NASA SPICE (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"VenusTrailEarth"}
+ Name = "Uranus Trail from Earth",
+ Version = "1.0",
+ Description = [[ Alternate trail of Uranus, as observed by the Earth rather then the
+ Sun. Data from NASA SPICE (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"VenusTrailEarth"}
}
diff --git a/data/assets/scene/solarsystem/planets/uranus/transforms.asset b/data/assets/scene/solarsystem/planets/uranus/transforms.asset
index 93b67831fa..99a3274132 100644
--- a/data/assets/scene/solarsystem/planets/uranus/transforms.asset
+++ b/data/assets/scene/solarsystem/planets/uranus/transforms.asset
@@ -5,31 +5,31 @@ asset.require("spice/base")
local UranusBarycenter = {
- Identifier = "UranusBarycenter",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "URANUS BARYCENTER",
- Observer = "SUN"
- }
- },
- GUI = {
- Name = "Uranus Barycenter",
- Path = "/Solar System/Planets/Uranus",
- Hidden = true,
- Description = [[ Uranus Barycenter position]],
+ Identifier = "UranusBarycenter",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "URANUS BARYCENTER",
+ Observer = "SUN"
}
+ },
+ GUI = {
+ Name = "Uranus Barycenter",
+ Path = "/Solar System/Planets/Uranus",
+ Hidden = true,
+ Description = [[ Uranus Barycenter position]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { UranusBarycenter })
asset.meta = {
- Name = "Uranus Transforms",
- Version = "1.0",
- Description = [[ Uranus Barycenter transform]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Uranus Transforms",
+ Version = "1.0",
+ Description = [[ Uranus Barycenter transform]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/uranus/uranus.asset b/data/assets/scene/solarsystem/planets/uranus/uranus.asset
index be3566e994..c08924fd96 100644
--- a/data/assets/scene/solarsystem/planets/uranus/uranus.asset
+++ b/data/assets/scene/solarsystem/planets/uranus/uranus.asset
@@ -4,60 +4,60 @@ asset.require("spice/base")
asset.require('./trail')
local Uranus = {
- Identifier = "Uranus",
- Parent = transforms.UranusBarycenter.Identifier,
- Transform = {
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_URANUS",
- DestinationFrame = "GALACTIC"
- }
- },
- Renderable = {
- Type = "RenderableGlobe",
- Radii = { 25559000, 25559000, 24973000 },
- SegmentsPerPatch = 64,
- Layers = {}
- },
- Tag = { "planet_solarSystem", "planet_giants" },
- GUI = {
- Name = "Uranus",
- Path = "/Solar System/Planets/Uranus",
- Description = [[Globe for Uranus.]]
+ Identifier = "Uranus",
+ Parent = transforms.UranusBarycenter.Identifier,
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_URANUS",
+ DestinationFrame = "GALACTIC"
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = { 25559000, 25559000, 24973000 },
+ SegmentsPerPatch = 64,
+ Layers = {}
+ },
+ Tag = { "planet_solarSystem", "planet_giants" },
+ GUI = {
+ Name = "Uranus",
+ Path = "/Solar System/Planets/Uranus",
+ Description = [[Globe for Uranus.]]
+ }
}
local UranusLabel = {
- Identifier = "UranusLabel",
- Parent = Uranus.Identifier,
- Renderable = {
- Enabled = false,
- Type = "RenderableLabels",
- LabelText = "Uranus",
- FontSize = 100.0,
- LabelSize = 8.7,
- LabelMaxSize = 100.0,
- LabelMinSize = 1.0,
- LabelOrientationOption = "Camera View Direction",
- BlendMode = "Additive"
- },
- Tag = { "solarsystem_labels" },
- GUI = {
- Name = "Uranus Label",
- Path = "/Solar System/Planets/Uranus",
- Description = [[ Main planet label for Uranus.]],
- }
+ Identifier = "UranusLabel",
+ Parent = Uranus.Identifier,
+ Renderable = {
+ Enabled = false,
+ Type = "RenderableLabels",
+ LabelText = "Uranus",
+ FontSize = 100.0,
+ LabelSize = 8.7,
+ LabelMaxSize = 100.0,
+ LabelMinSize = 1.0,
+ LabelOrientationOption = "Camera View Direction",
+ BlendMode = "Additive"
+ },
+ Tag = { "solarsystem_labels" },
+ GUI = {
+ Name = "Uranus Label",
+ Path = "/Solar System/Planets/Uranus",
+ Description = [[ Main planet label for Uranus.]],
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Uranus, UranusLabel })
asset.meta = {
- Name = "Uranus",
- Version = "1.0",
- Description = [[ Uranus globe, and main planet label.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Uranus" , "UranusLabel"}
+ Name = "Uranus",
+ Version = "1.0",
+ Description = [[ Uranus globe, and main planet label.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Uranus" , "UranusLabel"}
}
diff --git a/data/assets/scene/solarsystem/planets/uranus/uranus_textures.asset b/data/assets/scene/solarsystem/planets/uranus/uranus_textures.asset
index ea47aa39a9..d7200697b6 100644
--- a/data/assets/scene/solarsystem/planets/uranus/uranus_textures.asset
+++ b/data/assets/scene/solarsystem/planets/uranus/uranus_textures.asset
@@ -1,7 +1,7 @@
local TexturesPath = asset.syncedResource({
- Name = "Uranus Textures",
- Type = "HttpSynchronization",
- Identifier = "uranus_textures",
- Version = 1
+ Name = "Uranus Textures",
+ Type = "HttpSynchronization",
+ Identifier = "uranus_textures",
+ Version = 1
})
asset.export("TexturesPath", TexturesPath)
diff --git a/data/assets/scene/solarsystem/planets/venus/atmosphere.asset b/data/assets/scene/solarsystem/planets/venus/atmosphere.asset
index 71a439877b..3ce91966ad 100644
--- a/data/assets/scene/solarsystem/planets/venus/atmosphere.asset
+++ b/data/assets/scene/solarsystem/planets/venus/atmosphere.asset
@@ -4,63 +4,63 @@ local assetHelper = asset.require('util/asset_helper')
local Atmosphere = {
- Identifier = "VenusAtmosphere",
- Parent = transforms.Venus.Identifier,
- Renderable = {
- Type = "RenderableAtmosphere",
- -- Atmosphere radius in Km
- AtmosphereHeight = 6121.9 - 6051.9,
- PlanetRadius = 6051.9,
- PlanetAverageGroundReflectance = 0.018,
- GroundRadianceEmission = 0.8,
- SunIntensity = 11.47,
- Rayleigh = {
- Coefficients = {
- -- Wavelengths are given in 10^-9m
- Wavelengths = { 680, 550, 440 },
- -- Reflection coefficients are given in km^-1
- Scattering = { 19.518E-3, 13.83E-3, 3.65E-3 }
- -- In Rayleigh scattering, the coefficients of
- -- absorption and scattering are the same.
- },
- -- Thichkness of atmosphere if its density were uniform, in Km
- H_R = 3.53
- },
- -- Default
- Mie = {
- Coefficients = {
- -- Reflection coefficients are given in km^-1
- Scattering = { 53.61771e-3, 53.61771e-3, 53.61771e-3 },
- -- Extinction coefficients are a fraction of the Scattering coefficients
- Extinction = { 53.61771e-3/0.98979, 53.61771e-3/0.98979, 53.61771e-3/0.98979 }
- },
- -- Mie Height scale (atmosphere thickness for constant density) in Km
- H_M = 5.42,
- -- Mie Phase Function Value (G e [-1.0, 1.0].
- -- If G = 1.0, Mie phase function = Rayleigh Phase Function)
- G = 0.85
- },
- Debug = {
- -- PreCalculatedTextureScale is a float from 1.0 to N, with N > 0.0 and N in Naturals (i.e., 1, 2, 3, 4, 5....)
- PreCalculatedTextureScale = 1.0,
- SaveCalculatedTextures = false
- }
+ Identifier = "VenusAtmosphere",
+ Parent = transforms.Venus.Identifier,
+ Renderable = {
+ Type = "RenderableAtmosphere",
+ -- Atmosphere radius in Km
+ AtmosphereHeight = 6121.9 - 6051.9,
+ PlanetRadius = 6051.9,
+ PlanetAverageGroundReflectance = 0.018,
+ GroundRadianceEmission = 0.8,
+ SunIntensity = 11.47,
+ Rayleigh = {
+ Coefficients = {
+ -- Wavelengths are given in 10^-9m
+ Wavelengths = { 680, 550, 440 },
+ -- Reflection coefficients are given in km^-1
+ Scattering = { 19.518E-3, 13.83E-3, 3.65E-3 }
+ -- In Rayleigh scattering, the coefficients of
+ -- absorption and scattering are the same.
+ },
+ -- Thichkness of atmosphere if its density were uniform, in Km
+ H_R = 3.53
},
- GUI = {
- Name = "Venus Atmosphere",
- Path = "/Solar System/Planets/Venus",
- Description = "Simulation of Venus' Atmosphere"
+ -- Default
+ Mie = {
+ Coefficients = {
+ -- Reflection coefficients are given in km^-1
+ Scattering = { 53.61771e-3, 53.61771e-3, 53.61771e-3 },
+ -- Extinction coefficients are a fraction of the Scattering coefficients
+ Extinction = { 53.61771e-3/0.98979, 53.61771e-3/0.98979, 53.61771e-3/0.98979 }
+ },
+ -- Mie Height scale (atmosphere thickness for constant density) in Km
+ H_M = 5.42,
+ -- Mie Phase Function Value (G e [-1.0, 1.0].
+ -- If G = 1.0, Mie phase function = Rayleigh Phase Function)
+ G = 0.85
+ },
+ Debug = {
+ -- PreCalculatedTextureScale is a float from 1.0 to N, with N > 0.0 and N in Naturals (i.e., 1, 2, 3, 4, 5....)
+ PreCalculatedTextureScale = 1.0,
+ SaveCalculatedTextures = false
}
+ },
+ GUI = {
+ Name = "Venus Atmosphere",
+ Path = "/Solar System/Planets/Venus",
+ Description = "Simulation of Venus' Atmosphere"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Atmosphere })
asset.meta = {
- Name = "Venus Atmosphere",
- Version = "1.0",
- Description = [[ Atmosphere of Venus.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"VenusAtmosphere"}
+ Name = "Venus Atmosphere",
+ Version = "1.0",
+ Description = [[ Atmosphere of Venus.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"VenusAtmosphere"}
}
diff --git a/data/assets/scene/solarsystem/planets/venus/default_layers.asset b/data/assets/scene/solarsystem/planets/venus/default_layers.asset
index 18fb90fcd3..ba24b5e01b 100644
--- a/data/assets/scene/solarsystem/planets/venus/default_layers.asset
+++ b/data/assets/scene/solarsystem/planets/venus/default_layers.asset
@@ -11,17 +11,17 @@ local heightLayer = asset.require(heightLayersPath .. "/magellan")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Venus.Renderable.Layers.ColorLayers." .. colorLayer.layer.Identifier .. ".Enabled", true)
- openspace.setPropertyValueSingle("Scene.Venus.Renderable.Layers.HeightLayers." .. heightLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Venus.Renderable.Layers.ColorLayers." .. colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Venus.Renderable.Layers.HeightLayers." .. heightLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Venus Layers",
- Version = "1.0",
- Description = [[ Default Venus layers are: Venus Magellan Mosaic and Venus Magellan
- DEM]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Venus Layers",
+ Version = "1.0",
+ Description = [[ Default Venus layers are: Venus Magellan Mosaic and Venus Magellan
+ DEM]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/planets/venus/layers/colorlayers/magellan_mosaic_utah.asset b/data/assets/scene/solarsystem/planets/venus/layers/colorlayers/magellan_mosaic_utah.asset
index 867ca8b10e..d600ff6ec3 100644
--- a/data/assets/scene/solarsystem/planets/venus/layers/colorlayers/magellan_mosaic_utah.asset
+++ b/data/assets/scene/solarsystem/planets/venus/layers/colorlayers/magellan_mosaic_utah.asset
@@ -2,46 +2,46 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../venus").Venus.Identifier
local layer = {
- Identifier = "Magellan_Mosaic_Utah",
- Name = "Magellan Mosaic [Utah]",
- Description = [[ Color layer for Venus. This mosaic was created from the Magellan
- F-BIDRs, (Full resolution Basic Image Data Records), the highest resolution
- radar images of the Venus surface (~75 m/pixel). Because Venus is shrouded by a
- dense, opaque atmosphere, conventional optical cameras cannot be used to image
- its surface. Instead, Magellan's imaging radar uses bursts of microwave energy
- somewhat like a camera flash to illuminate the planet's surface. The radar pulses
- are not sent directly downward but rather at a slight angle to the side of the
- spacecraft--the radar is thus called "side-looking radar." In addition, special
- processing techniques are used on the radar data to result in higher resolution
- as if the radar had a larger antenna, or "aperture"; the technique is thus often
- called "synthetic aperture radar," or SAR. The Magellan SAR is a side-looking
- radar system. Radar pulses are not sent directly downward but rather at a slight
- angle to the side of the spacecraft. In the case of Left-Look Magellan SAR data,
- the radar system was sending signals to the left of the spacecraft. The SAR
- operated in this left-looking mode during cycles 1 and 3 of the mission.
- (Description from USGS)]],
- FilePath = mapServiceConfigs .. "/Utah/MagellanMosaic.vrt",
- BlendMode = "Color",
- Settings = {
- Gamma = 2.0
- }
+ Identifier = "Magellan_Mosaic_Utah",
+ Name = "Magellan Mosaic [Utah]",
+ Description = [[ Color layer for Venus. This mosaic was created from the Magellan
+ F-BIDRs, (Full resolution Basic Image Data Records), the highest resolution
+ radar images of the Venus surface (~75 m/pixel). Because Venus is shrouded by a
+ dense, opaque atmosphere, conventional optical cameras cannot be used to image
+ its surface. Instead, Magellan's imaging radar uses bursts of microwave energy
+ somewhat like a camera flash to illuminate the planet's surface. The radar pulses
+ are not sent directly downward but rather at a slight angle to the side of the
+ spacecraft--the radar is thus called "side-looking radar." In addition, special
+ processing techniques are used on the radar data to result in higher resolution
+ as if the radar had a larger antenna, or "aperture"; the technique is thus often
+ called "synthetic aperture radar," or SAR. The Magellan SAR is a side-looking
+ radar system. Radar pulses are not sent directly downward but rather at a slight
+ angle to the side of the spacecraft. In the case of Left-Look Magellan SAR data,
+ the radar system was sending signals to the left of the spacecraft. The SAR
+ operated in this left-looking mode during cycles 1 and 3 of the mission.
+ (Description from USGS)]],
+ FilePath = mapServiceConfigs .. "/Utah/MagellanMosaic.vrt",
+ BlendMode = "Color",
+ Settings = {
+ Gamma = 2.0
+ }
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Venus Magellan Mosaic",
- Version = "1.0",
- Description = [[Map layer for Venus containting Venus Magellan Mosaic from the USGS.
- Hosted on the OpenSpace servers in Utah.]],
- Author = "USGS",
- URL = "https://astrogeology.usgs.gov/search/map/Venus/Magellan/" ..
- "Venus_Magellan_LeftLook_mosaic_global_75m",
- License = "NASA/PDS",
- Identifiers = {"Magellan_Mosaic_Utah"}
+ Name = "Venus Magellan Mosaic",
+ Version = "1.0",
+ Description = [[Map layer for Venus containting Venus Magellan Mosaic from the USGS.
+ Hosted on the OpenSpace servers in Utah.]],
+ Author = "USGS",
+ URL = "https://astrogeology.usgs.gov/search/map/Venus/Magellan/" ..
+ "Venus_Magellan_LeftLook_mosaic_global_75m",
+ License = "NASA/PDS",
+ Identifiers = {"Magellan_Mosaic_Utah"}
}
diff --git a/data/assets/scene/solarsystem/planets/venus/layers/colorlayers/venus_texture.asset b/data/assets/scene/solarsystem/planets/venus/layers/colorlayers/venus_texture.asset
index 3ef047c4fd..d9f40745c6 100644
--- a/data/assets/scene/solarsystem/planets/venus/layers/colorlayers/venus_texture.asset
+++ b/data/assets/scene/solarsystem/planets/venus/layers/colorlayers/venus_texture.asset
@@ -2,16 +2,16 @@ local texturesPath = asset.require("./../../venus_textures").TexturesPath
local globeIdentifier = asset.require("./../../venus").Venus.Identifier
local layer = {
- Identifier = "Texture",
- FilePath = texturesPath .. "/venus.jpg",
- Settings = {
- Opacity = 0.48,
- Gamma = 0.48
- }
+ Identifier = "Texture",
+ FilePath = texturesPath .. "/venus.jpg",
+ Settings = {
+ Opacity = 0.48,
+ Gamma = 0.48
+ }
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
diff --git a/data/assets/scene/solarsystem/planets/venus/layers/heightlayers/magellan.asset b/data/assets/scene/solarsystem/planets/venus/layers/heightlayers/magellan.asset
index 95bf17d62a..f94cb916ab 100644
--- a/data/assets/scene/solarsystem/planets/venus/layers/heightlayers/magellan.asset
+++ b/data/assets/scene/solarsystem/planets/venus/layers/heightlayers/magellan.asset
@@ -2,41 +2,41 @@ local mapServiceConfigs = asset.localResource("./../../map_service_configs")
local globeIdentifier = asset.require("./../../venus").Venus.Identifier
local layer = {
- Identifier = "Magellan",
- Name = "Magellan Elevation [Utah]",
- Description = [[ Elevation layer for Venus. The represents the version 2
- (1997 release) of the Global Topographic Data Record (GTDR-SINUS.3;2).
- The range to surface is derived by fitting altimeter echoes from the fan-beam
- altimetry antenna as a function of time to Hagfors' radar backscatter model
- templates. The ranges are subtracted from the spacecraft radial
- coordinate (derived from Doppler tracking), yielding measurements of
- planetary radius. The data are filtered to remove low-frequency errors in
- the in-plane elements of each spacecraft orbit, and then originally re-sampled
- into sinusoidal, Mercator, and north and south polar stereographic projections
- at a resolution of 5 kilometers per pixel (4641 meters per pixel [m]).]],
- FilePath = mapServiceConfigs .. "/Utah/MagellanDEM.wms",
- TilePixelSize = 64,
- Settings = {
- Gamma = 1.72,
- Multiplier = 1.1
- }
+ Identifier = "Magellan",
+ Name = "Magellan Elevation [Utah]",
+ Description = [[ Elevation layer for Venus. The represents the version 2
+ (1997 release) of the Global Topographic Data Record (GTDR-SINUS.3;2).
+ The range to surface is derived by fitting altimeter echoes from the fan-beam
+ altimetry antenna as a function of time to Hagfors' radar backscatter model
+ templates. The ranges are subtracted from the spacecraft radial
+ coordinate (derived from Doppler tracking), yielding measurements of
+ planetary radius. The data are filtered to remove low-frequency errors in
+ the in-plane elements of each spacecraft orbit, and then originally re-sampled
+ into sinusoidal, Mercator, and north and south polar stereographic projections
+ at a resolution of 5 kilometers per pixel (4641 meters per pixel [m]).]],
+ FilePath = mapServiceConfigs .. "/Utah/MagellanDEM.wms",
+ TilePixelSize = 64,
+ Settings = {
+ Gamma = 1.72,
+ Multiplier = 1.1
+ }
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "HeightLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "HeightLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Venus Magellan DEM",
- Version = "1.0",
- Description = [[Map layer for Venus containting Venus Magellan DEM from the USGS.
- Hosted on the OpenSpace servers in Utah.]],
- Author = "USGS",
- URL = "https://astrogeology.usgs.gov/search/map/Venus/Magellan/RadarProperties" ..
- "/Venus_Magellan_Topography_Global_4641m_v02",
- License = "NASA/PDS",
- Identifiers = {"Magellan"}
+ Name = "Venus Magellan DEM",
+ Version = "1.0",
+ Description = [[Map layer for Venus containting Venus Magellan DEM from the USGS.
+ Hosted on the OpenSpace servers in Utah.]],
+ Author = "USGS",
+ URL = "https://astrogeology.usgs.gov/search/map/Venus/Magellan/RadarProperties" ..
+ "/Venus_Magellan_Topography_Global_4641m_v02",
+ License = "NASA/PDS",
+ Identifiers = {"Magellan"}
}
diff --git a/data/assets/scene/solarsystem/planets/venus/trail.asset b/data/assets/scene/solarsystem/planets/venus/trail.asset
index 6172f6b66c..8abf07815f 100644
--- a/data/assets/scene/solarsystem/planets/venus/trail.asset
+++ b/data/assets/scene/solarsystem/planets/venus/trail.asset
@@ -5,38 +5,38 @@ asset.require("spice/base")
local VenusTrail = {
- Identifier = "VenusTrail",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "VENUS BARYCENTER",
- Observer = "SUN"
- },
- Color = { 1.0, 0.5, 0.2 },
- Period = 224.695,
- Resolution = 1000
+ Identifier = "VenusTrail",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "VENUS BARYCENTER",
+ Observer = "SUN"
},
- Tag = { "planetTrail_solarSystem", "planetTrail_terrestrial" },
- GUI = {
- Name = "Venus Trail",
- Path = "/Solar System/Planets/Venus",
- Description = "Main trail for Venus",
- Hidden = false
- }
+ Color = { 1.0, 0.5, 0.2 },
+ Period = 224.695,
+ Resolution = 1000
+ },
+ Tag = { "planetTrail_solarSystem", "planetTrail_terrestrial" },
+ GUI = {
+ Name = "Venus Trail",
+ Path = "/Solar System/Planets/Venus",
+ Description = "Main trail for Venus",
+ Hidden = false
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { VenusTrail })
asset.meta = {
- Name = "Venus Trail",
- Version = "1.0",
- Description = [[ Trail of Venus as observed by the Sun. Data from NASA Spice (see
- base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"VenusTrail"}
+ Name = "Venus Trail",
+ Version = "1.0",
+ Description = [[ Trail of Venus as observed by the Sun. Data from NASA Spice (see
+ base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"VenusTrail"}
}
diff --git a/data/assets/scene/solarsystem/planets/venus/trail_earth.asset b/data/assets/scene/solarsystem/planets/venus/trail_earth.asset
index a96a8990db..3af7aecaaa 100644
--- a/data/assets/scene/solarsystem/planets/venus/trail_earth.asset
+++ b/data/assets/scene/solarsystem/planets/venus/trail_earth.asset
@@ -5,39 +5,39 @@ asset.require("spice/base")
local VenusTrailEarth = {
- Identifier = "VenusTrailEarth",
- Parent = earthTransforms.EarthBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = "VENUS BARYCENTER",
- Observer = "EARTH"
- },
- Color = { 1.0, 0.5, 0.2 },
- Period = 224.695,
- Resolution = 1000,
- Enabled = false
+ Identifier = "VenusTrailEarth",
+ Parent = earthTransforms.EarthBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "VENUS BARYCENTER",
+ Observer = "EARTH"
},
- Tag = { "planetTrail_solarSystem_alt", "planetTrail_terrestrial_alt" },
- GUI = {
- Name = "Venus trail from Earth",
- Path = "/Solar System/Planets/Venus",
- Description = "Alternate trail for Venus, showing Venus as observed from Earth.",
- Hidden = false
- }
+ Color = { 1.0, 0.5, 0.2 },
+ Period = 224.695,
+ Resolution = 1000,
+ Enabled = false
+ },
+ Tag = { "planetTrail_solarSystem_alt", "planetTrail_terrestrial_alt" },
+ GUI = {
+ Name = "Venus trail from Earth",
+ Path = "/Solar System/Planets/Venus",
+ Description = "Alternate trail for Venus, showing Venus as observed from Earth.",
+ Hidden = false
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { VenusTrailEarth })
asset.meta = {
- Name = "Venus Trail from Earth",
- Version = "1.0",
- Description = [[ Trail of Venus as observed by the Earth. Data from NASA
- SPICE (see base spice asset)]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"VenusTrailEarth"}
+ Name = "Venus Trail from Earth",
+ Version = "1.0",
+ Description = [[ Trail of Venus as observed by the Earth. Data from NASA
+ SPICE (see base spice asset)]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"VenusTrailEarth"}
}
diff --git a/data/assets/scene/solarsystem/planets/venus/transforms.asset b/data/assets/scene/solarsystem/planets/venus/transforms.asset
index 83349ef680..2db6ea4117 100644
--- a/data/assets/scene/solarsystem/planets/venus/transforms.asset
+++ b/data/assets/scene/solarsystem/planets/venus/transforms.asset
@@ -3,32 +3,32 @@ local transforms = asset.require('scene/solarsystem/sun/transforms')
asset.require("spice/base")
local VenusBarycenter = {
- Identifier = "VenusBarycenter",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "VENUS BARYCENTER",
- Observer = "SUN"
- }
- },
- GUI = {
- Name = "Venus Barycenter",
- Path = "/Solar System/Planets/Venus",
- Hidden = true,
- Description = "Position for Venus Barycenter"
+ Identifier = "VenusBarycenter",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "VENUS BARYCENTER",
+ Observer = "SUN"
}
+ },
+ GUI = {
+ Name = "Venus Barycenter",
+ Path = "/Solar System/Planets/Venus",
+ Hidden = true,
+ Description = "Position for Venus Barycenter"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { VenusBarycenter })
asset.meta = {
- Name = "Venus Transforms",
- Version = "1.0",
- Description = [[ Spice translation for Venus Barycenter]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"VenusBarycenter"}
+ Name = "Venus Transforms",
+ Version = "1.0",
+ Description = [[ Spice translation for Venus Barycenter]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"VenusBarycenter"}
}
diff --git a/data/assets/scene/solarsystem/planets/venus/venus.asset b/data/assets/scene/solarsystem/planets/venus/venus.asset
index b1bb529e58..b07ce04f0c 100644
--- a/data/assets/scene/solarsystem/planets/venus/venus.asset
+++ b/data/assets/scene/solarsystem/planets/venus/venus.asset
@@ -5,51 +5,51 @@ asset.require('./trail')
local labelsPath = asset.require('./venus_globelabels').LabelsPath
local Venus = {
- Identifier = "Venus",
- Parent = transforms.VenusBarycenter.Identifier,
- Transform = {
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_VENUS",
- DestinationFrame = "GALACTIC"
- },
- Translation = {
- Type = "SpiceTranslation",
- Target = "VENUS",
- Observer = "VENUS BARYCENTER"
- }
+ Identifier = "Venus",
+ Parent = transforms.VenusBarycenter.Identifier,
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_VENUS",
+ DestinationFrame = "GALACTIC"
},
- Renderable = {
- Type = "RenderableGlobe",
- --Radii = { 6051900.0, 6051900.0, 6051800.0 },
- Radii = { 6051900.0, 6051900.0, 6051900.0 },
- SegmentsPerPatch = 64,
- Layers = {},
- Labels = {
- Enable = false,
- FileName = labelsPath .. "/venus.labels",
- LabelAlignmentOption = "Horizontally", -- or Circularly
- LabelsFontSize = 40.0,
- LabelsSize = 10.0,
- LabelsMinSize = 1.0,
- LabelsMaxSize = 1500.0,
- ProximityEnabled = false,
- LabelsFadeInEnabled = true,
- LabelsFadeInEnabled = true,
- LabelsFadeOutEnabled = true,
- FadeInStartingDistance = 7000000.0,
- FadeOutStartingDistance = 2000000.0,
- LabelsForceDomeRendering = true,
- LabelsDistanceEPS = 4000000.0,
- LabelsColor = { 1.0, 1.0, 0.0 }
- }
- },
- Tag = { "planet_solarSystem", "planet_terrestrial" },
- GUI = {
- Name = "Venus",
- Path = "/Solar System/Planets/Venus",
- Description = "Venus globe with labels and map layers."
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "VENUS",
+ Observer = "VENUS BARYCENTER"
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ --Radii = { 6051900.0, 6051900.0, 6051800.0 },
+ Radii = { 6051900.0, 6051900.0, 6051900.0 },
+ SegmentsPerPatch = 64,
+ Layers = {},
+ Labels = {
+ Enable = false,
+ FileName = labelsPath .. "/venus.labels",
+ LabelAlignmentOption = "Horizontally", -- or Circularly
+ LabelsFontSize = 40.0,
+ LabelsSize = 10.0,
+ LabelsMinSize = 1.0,
+ LabelsMaxSize = 1500.0,
+ ProximityEnabled = false,
+ LabelsFadeInEnabled = true,
+ LabelsFadeInEnabled = true,
+ LabelsFadeOutEnabled = true,
+ FadeInStartingDistance = 7000000.0,
+ FadeOutStartingDistance = 2000000.0,
+ LabelsForceDomeRendering = true,
+ LabelsDistanceEPS = 4000000.0,
+ LabelsColor = { 1.0, 1.0, 0.0 }
+ }
+ },
+ Tag = { "planet_solarSystem", "planet_terrestrial" },
+ GUI = {
+ Name = "Venus",
+ Path = "/Solar System/Planets/Venus",
+ Description = "Venus globe with labels and map layers."
+ }
}
local VenusLabel = {
diff --git a/data/assets/scene/solarsystem/planets/venus/venus_globelabels.asset b/data/assets/scene/solarsystem/planets/venus/venus_globelabels.asset
index 5902e84d19..e38e2ea3f8 100644
--- a/data/assets/scene/solarsystem/planets/venus/venus_globelabels.asset
+++ b/data/assets/scene/solarsystem/planets/venus/venus_globelabels.asset
@@ -1,7 +1,7 @@
local LabelsPath = asset.syncedResource({
- Name = "Venus Labels",
- Type = "HttpSynchronization",
- Identifier = "venus_labels",
- Version = 1
+ Name = "Venus Labels",
+ Type = "HttpSynchronization",
+ Identifier = "venus_labels",
+ Version = 1
})
asset.export("LabelsPath", LabelsPath)
diff --git a/data/assets/scene/solarsystem/planets/venus/venus_textures.asset b/data/assets/scene/solarsystem/planets/venus/venus_textures.asset
index a9e47905d1..38442cb484 100644
--- a/data/assets/scene/solarsystem/planets/venus/venus_textures.asset
+++ b/data/assets/scene/solarsystem/planets/venus/venus_textures.asset
@@ -1,7 +1,7 @@
local TexturesPath = asset.syncedResource({
- Name = "Venus Textures",
- Type = "HttpSynchronization",
- Identifier = "venus_textures",
- Version = 1
+ Name = "Venus Textures",
+ Type = "HttpSynchronization",
+ Identifier = "venus_textures",
+ Version = 1
})
asset.export("TexturesPath", TexturesPath)
diff --git a/data/assets/scene/solarsystem/sssb/amor_asteroid.asset b/data/assets/scene/solarsystem/sssb/amor_asteroid.asset
index de5fa442e5..1829752752 100644
--- a/data/assets/scene/solarsystem/sssb/amor_asteroid.asset
+++ b/data/assets/scene/solarsystem/sssb/amor_asteroid.asset
@@ -2,28 +2,28 @@ local assetHelper = asset.require('util/asset_helper')
local sharedSssb = asset.require('./sssb_shared')
local filepath = sharedSssb.downloadSssbDatabaseFile(asset, 'amor_asteroid',
- 'sssb_data_amor_asteroid')
+ 'sssb_data_amor_asteroid')
local object = sharedSssb.createSssbGroupObject('sssb_data_amor_asteroid.csv',
- "Amor Asteroids", filepath, { 1.0, 1.0, 1.0 })
+ "Amor Asteroids", filepath, { 1.0, 1.0, 1.0 })
object.Renderable.Enabled = false
object.Renderable.SegmentQuality = 4
object.Renderable.TrailFade = 11
object.GUI.Description = [[ Earth-approaching Near-Earth-Asteroids with orbits exterior to
- Earth's but interior to Mars'. ]]
+ Earth's but interior to Mars'. ]]
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Amor Asteroids",
- Version = "1.0",
- Description = [[ RenderableSmallBody asset with data from from JPL Horizons
- contiaining the Amor group.]],
- Author = "JPL Small-Body Database hosted by California Institute of Technology",
- URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
- License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
- All documents available from this server may be protected under the U.S. and
- Foreign Copyright Laws."]],
- Identifiers = {"sssb_sssb_data_amor_asteroid"}
+ Name = "Amor Asteroids",
+ Version = "1.0",
+ Description = [[ RenderableSmallBody asset with data from from JPL Horizons
+ contiaining the Amor group.]],
+ Author = "JPL Small-Body Database hosted by California Institute of Technology",
+ URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
+ License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
+ All documents available from this server may be protected under the U.S. and
+ Foreign Copyright Laws."]],
+ Identifiers = {"sssb_sssb_data_amor_asteroid"}
}
diff --git a/data/assets/scene/solarsystem/sssb/apollo_asteroid.asset b/data/assets/scene/solarsystem/sssb/apollo_asteroid.asset
index 67c043019a..65507b67da 100644
--- a/data/assets/scene/solarsystem/sssb/apollo_asteroid.asset
+++ b/data/assets/scene/solarsystem/sssb/apollo_asteroid.asset
@@ -2,28 +2,28 @@ local assetHelper = asset.require('util/asset_helper')
local sharedSssb = asset.require('./sssb_shared')
local filepath = sharedSssb.downloadSssbDatabaseFile(asset, 'apollo_asteroid',
- 'sssb_data_apollo_asteroid')
+ 'sssb_data_apollo_asteroid')
local object = sharedSssb.createSssbGroupObject('sssb_data_apollo_asteroid.csv',
- "Apollo Asteroids", filepath, { 0.7, 0.7, 1.0 })
+ "Apollo Asteroids", filepath, { 0.7, 0.7, 1.0 })
object.Renderable.Enabled = false
object.Renderable.SegmentQuality = 6
object.Renderable.TrailFade = 10
object.GUI.Description = [[ Earth-crossing Near-Earth-Asteroids with semi-major axes
- larger than Earth's. ]]
+ larger than Earth's. ]]
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Apollo Asteroids",
- Version = "1.0",
- Description = [[ RenderableSmallBody asset with data from from JPL Horizons
- contiaining the Apollo group.]],
- Author = "JPL Small-Body Database hosted by California Institute of Technology",
- URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
- License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
- All documents available from this server may be protected under the U.S. and
- Foreign Copyright Laws.]],
- Identifiers = {"sssb_sssb_data_apollo_asteroid"}
+ Name = "Apollo Asteroids",
+ Version = "1.0",
+ Description = [[ RenderableSmallBody asset with data from from JPL Horizons
+ contiaining the Apollo group.]],
+ Author = "JPL Small-Body Database hosted by California Institute of Technology",
+ URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
+ License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
+ All documents available from this server may be protected under the U.S. and
+ Foreign Copyright Laws.]],
+ Identifiers = {"sssb_sssb_data_apollo_asteroid"}
}
diff --git a/data/assets/scene/solarsystem/sssb/astraea.asset b/data/assets/scene/solarsystem/sssb/astraea.asset
index 17ce92dcef..fc0895743b 100644
--- a/data/assets/scene/solarsystem/sssb/astraea.asset
+++ b/data/assets/scene/solarsystem/sssb/astraea.asset
@@ -2,60 +2,60 @@ local assetHelper = asset.require('util/asset_helper')
local sunTransforms = asset.require('scene/solarsystem/sun/transforms')
local trajectory = asset.syncedResource({
- Name = "5 Astraea Trajectory",
- Type = "HttpSynchronization",
- Identifier = "astraea_horizons",
- Version = 1
+ Name = "5 Astraea Trajectory",
+ Type = "HttpSynchronization",
+ Identifier = "astraea_horizons",
+ Version = 1
})
local AstraeaTrail = {
- Identifier = "AstraeaTrail",
- Parent = sunTransforms.SolarSystemBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailTrajectory",
- Translation = {
- Type = "HorizonsTranslation",
- HorizonsTextFile = trajectory .. "/horizons_astraea.dat"
- },
- Color = { 0.9, 0.9, 0.0 },
- StartTime = "2014 JAN 01 00:00:00",
- EndTime = "2023 JAN 01 00:00:00",
- SampleInterval = 7000,
- TimeStampSubsampleFactor = 1
+ Identifier = "AstraeaTrail",
+ Parent = sunTransforms.SolarSystemBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailTrajectory",
+ Translation = {
+ Type = "HorizonsTranslation",
+ HorizonsTextFile = trajectory .. "/horizons_astraea.dat"
},
- GUI = {
- Name = "5 Astraea Trail",
- Path = "/Solar System/Interstellar"
- }
+ Color = { 0.9, 0.9, 0.0 },
+ StartTime = "2014 JAN 01 00:00:00",
+ EndTime = "2023 JAN 01 00:00:00",
+ SampleInterval = 7000,
+ TimeStampSubsampleFactor = 1
+ },
+ GUI = {
+ Name = "5 Astraea Trail",
+ Path = "/Solar System/Interstellar"
+ }
}
local AstraeaPosition = {
- Identifier = "AstraeaPosition",
- Parent = sunTransforms.SolarSystemBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "HorizonsTranslation",
- HorizonsTextFile = trajectory .. "/horizons_astraea.dat"
- },
- },
- GUI = {
- Name = "5 Astraea",
- Path = "/Solar System/Interstellar"
+ Identifier = "AstraeaPosition",
+ Parent = sunTransforms.SolarSystemBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "HorizonsTranslation",
+ HorizonsTextFile = trajectory .. "/horizons_astraea.dat"
}
+ },
+ GUI = {
+ Name = "5 Astraea",
+ Path = "/Solar System/Interstellar"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { AstraeaPosition, AstraeaTrail })
asset.meta = {
- Name = "5 Astraea",
- Version = "1.0",
- Description = [[ This asset contains the trail
- and position of 5 Astraea from 2014 JAN 01 00:00:00
- to 2023 JAN 01 00:00:00. Data from JPL Horizons']],
- Author = "Zach Shaffer",
- URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
- License = [[ JPL-authored documents are sponsored by NASA under Contract
- NAS7-030010. All documents available from this server may be protected
- under the U.S. and Foreign Copyright Laws."]]
+ Name = "5 Astraea",
+ Version = "1.0",
+ Description = [[ This asset contains the trail
+ and position of 5 Astraea from 2014 JAN 01 00:00:00
+ to 2023 JAN 01 00:00:00. Data from JPL Horizons']],
+ Author = "Zach Shaffer",
+ URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
+ License = [[ JPL-authored documents are sponsored by NASA under Contract
+ NAS7-030010. All documents available from this server may be protected
+ under the U.S. and Foreign Copyright Laws."]]
}
diff --git a/data/assets/scene/solarsystem/sssb/aten_asteroid.asset b/data/assets/scene/solarsystem/sssb/aten_asteroid.asset
index c522abe149..9f86dffb54 100644
--- a/data/assets/scene/solarsystem/sssb/aten_asteroid.asset
+++ b/data/assets/scene/solarsystem/sssb/aten_asteroid.asset
@@ -2,29 +2,29 @@ local assetHelper = asset.require('util/asset_helper')
local sharedSssb = asset.require('./sssb_shared')
local filepath = sharedSssb.downloadSssbDatabaseFile(asset, 'aten_asteroid',
- 'sssb_data_aten_asteroid')
+ 'sssb_data_aten_asteroid')
local object = sharedSssb.createSssbGroupObject('sssb_data_aten_asteroid.csv',
- "Aten Asteroids", filepath, { 0.15, 0.15, 1.0 })
+ "Aten Asteroids", filepath, { 0.15, 0.15, 1.0 })
object.Renderable.Enabled = false
object.Renderable.SegmentQuality = 2
object.Renderable.TrailFade = 18
object.GUI.Description = [[ Earth-crossing Near-Earth-Asteroids with semi-major axes
- smaller than Earth's. ]]
+ smaller than Earth's. ]]
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Aten Asteroids",
- Version = "1.0",
- Description = [[ RenderableSmallBody asset with data from from JPL Horizons
- contiaining the Aten group.]],
- Author = "JPL Small-Body Database hosted by California Institute of Technology",
- URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
- License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
- All documents available from this server may be protected under the U.S. and
- Foreign Copyright Laws.]],
- Identifiers = {"sssb_sssb_data_aten_asteroid"}
+ Name = "Aten Asteroids",
+ Version = "1.0",
+ Description = [[ RenderableSmallBody asset with data from from JPL Horizons
+ contiaining the Aten group.]],
+ Author = "JPL Small-Body Database hosted by California Institute of Technology",
+ URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
+ License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
+ All documents available from this server may be protected under the U.S. and
+ Foreign Copyright Laws.]],
+ Identifiers = {"sssb_sssb_data_aten_asteroid"}
}
diff --git a/data/assets/scene/solarsystem/sssb/atira_asteroid.asset b/data/assets/scene/solarsystem/sssb/atira_asteroid.asset
index b06b0850de..b89f2a2658 100644
--- a/data/assets/scene/solarsystem/sssb/atira_asteroid.asset
+++ b/data/assets/scene/solarsystem/sssb/atira_asteroid.asset
@@ -2,29 +2,29 @@ local assetHelper = asset.require('util/asset_helper')
local sharedSssb = asset.require('./sssb_shared')
local filepath = sharedSssb.downloadSssbDatabaseFile(asset, 'atira_asteroid',
- 'sssb_data_atira_asteroid')
+ 'sssb_data_atira_asteroid')
local object = sharedSssb.createSssbGroupObject('sssb_data_atira_asteroid.csv',
- "Atira Asteroids", filepath, { 0.5, 0.8, 1.0 })
+ "Atira Asteroids", filepath, { 0.5, 0.8, 1.0 })
object.Renderable.Enabled = false
object.Renderable.SegmentQuality = 2
object.Renderable.TrailFade = 25
object.GUI.Description = [[ Near-Earth-Asteroids whose orbits are contained entirely
- within the orbit of the Earth. ]]
+ within the orbit of the Earth. ]]
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Atira Asteroids",
- Version = "1.0",
- Description = [[ RenderableSmallBody asset with data from from JPL Horizons
- contiaining the Atira group.]],
- Author = "JPL Small-Body Database hosted by California Institute of Technology",
- URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
- License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
+ Name = "Atira Asteroids",
+ Version = "1.0",
+ Description = [[ RenderableSmallBody asset with data from from JPL Horizons
+ contiaining the Atira group.]],
+ Author = "JPL Small-Body Database hosted by California Institute of Technology",
+ URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
+ License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
All documents available from this server may be protected under the U.S. and
Foreign Copyright Laws."]],
- Identifiers = {"sssb_sssb_data_atira_asteroid"}
+ Identifiers = {"sssb_sssb_data_atira_asteroid"}
}
diff --git a/data/assets/scene/solarsystem/sssb/c2019y4atlas.asset b/data/assets/scene/solarsystem/sssb/c2019y4atlas.asset
index 912db8d30b..e3525ae6d8 100644
--- a/data/assets/scene/solarsystem/sssb/c2019y4atlas.asset
+++ b/data/assets/scene/solarsystem/sssb/c2019y4atlas.asset
@@ -2,62 +2,62 @@ local assetHelper = asset.require('util/asset_helper')
local sunTransforms = asset.require('scene/solarsystem/sun/transforms')
local orbit = asset.syncedResource({
- Name = "Comet C/2019 Y4 ATLAS",
- Type = "HttpSynchronization",
- Identifier = "horizons_c2019y4atlas",
- Version = 1
+ Name = "Comet C/2019 Y4 ATLAS",
+ Type = "HttpSynchronization",
+ Identifier = "horizons_c2019y4atlas",
+ Version = 1
}) .. "/c2019y4atlas.txt"
local C2019Y4AtlasTrail = {
- Identifier = "C2019Y4AtlasTrail",
- Parent = sunTransforms.SolarSystemBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailTrajectory",
- Translation = {
- Type = "HorizonsTranslation",
- HorizonsTextFile = orbit
- },
- Color = { 0.533333, 0.850980, 0.996078 },
- EnableFade = false,
- StartTime = "1950 JAN 1 0:00:00",
- EndTime = "2100 JAN 1 00:00:00",
- SampleInterval = 35000,
- TimeStampSubsampleFactor = 1
+ Identifier = "C2019Y4AtlasTrail",
+ Parent = sunTransforms.SolarSystemBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailTrajectory",
+ Translation = {
+ Type = "HorizonsTranslation",
+ HorizonsTextFile = orbit
},
- GUI = {
- Name = "C2019 Y4 Atlas Trail",
- Path = "/Solar System/Comets"
- }
+ Color = { 0.533333, 0.850980, 0.996078 },
+ EnableFade = false,
+ StartTime = "1950 JAN 1 0:00:00",
+ EndTime = "2100 JAN 1 00:00:00",
+ SampleInterval = 35000,
+ TimeStampSubsampleFactor = 1
+ },
+ GUI = {
+ Name = "C2019 Y4 Atlas Trail",
+ Path = "/Solar System/Comets"
+ }
}
local C2019Y4AtlasPosition = {
- Identifier = "C2019Y4AtlasPosition",
- Parent = sunTransforms.SolarSystemBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "HorizonsTranslation",
- HorizonsTextFile = orbit
- },
+ Identifier = "C2019Y4AtlasPosition",
+ Parent = sunTransforms.SolarSystemBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "HorizonsTranslation",
+ HorizonsTextFile = orbit
},
- GUI = {
- Name = "C/2019 Y4 Atlas",
- Path = "/Solar System/Comets",
- Description = 'This is the position for C/2019 Y4 Atlas'
- }
+ },
+ GUI = {
+ Name = "C/2019 Y4 Atlas",
+ Path = "/Solar System/Comets",
+ Description = 'This is the position for C/2019 Y4 Atlas'
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, {
- C2019Y4AtlasPosition, C2019Y4AtlasTrail
+ C2019Y4AtlasPosition, C2019Y4AtlasTrail
})
asset.meta = {
- Name = "C/2019 Y4 Atlas",
- Version = "1.0",
- Description = [[ This asset contains the trail and position of C/2019 Y4 Atlas from
- 1950 JAN 01 00:00:00 to 2100 JAN 01 00:00:00. Data from JPL Horizons']],
- Author = "OpenSpace Team",
- URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
- License = "NASA",
- Identifiers = {"C2019Y4AtlasPosition", "C2019Y4AtlasTrail"}
+ Name = "C/2019 Y4 Atlas",
+ Version = "1.0",
+ Description = [[ This asset contains the trail and position of C/2019 Y4 Atlas from
+ 1950 JAN 01 00:00:00 to 2100 JAN 01 00:00:00. Data from JPL Horizons']],
+ Author = "OpenSpace Team",
+ URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
+ License = "NASA",
+ Identifiers = {"C2019Y4AtlasPosition", "C2019Y4AtlasTrail"}
}
diff --git a/data/assets/scene/solarsystem/sssb/centaur_asteroid.asset b/data/assets/scene/solarsystem/sssb/centaur_asteroid.asset
index baa3d5469f..6d0e5a39b2 100644
--- a/data/assets/scene/solarsystem/sssb/centaur_asteroid.asset
+++ b/data/assets/scene/solarsystem/sssb/centaur_asteroid.asset
@@ -2,29 +2,29 @@ local assetHelper = asset.require('util/asset_helper')
local sharedSssb = asset.require('./sssb_shared')
local filepath = sharedSssb.downloadSssbDatabaseFile(asset, 'centaur_asteroid',
- 'sssb_data_centaur_asteroid')
+ 'sssb_data_centaur_asteroid')
local object = sharedSssb.createSssbGroupObject('sssb_data_centaur_asteroid.csv',
- "Centaur Asteroids", filepath, { 0.94, 0.96, 0.94 })
+ "Centaur Asteroids", filepath, { 0.94, 0.96, 0.94 })
object.Renderable.Enabled = false
object.Renderable.SegmentQuality = 6
object.Renderable.TrailFade = 18
object.GUI.Description = [[ Asteroids with either a perihelion or a semi-major axis
- between those of the four outer planets. ]]
+ between those of the four outer planets. ]]
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Centaur Asteroids",
- Version = "1.0",
- Description = [[ RenderableSmallBody asset with data from from JPL Horizons
- contiaining the Centaur group.]],
- Author = "JPL Small-Body Database hosted by California Institute of Technology",
- URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
- License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
+ Name = "Centaur Asteroids",
+ Version = "1.0",
+ Description = [[ RenderableSmallBody asset with data from from JPL Horizons
+ contiaining the Centaur group.]],
+ Author = "JPL Small-Body Database hosted by California Institute of Technology",
+ URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
+ License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
All documents available from this server may be protected under the U.S. and
Foreign Copyright Laws.]],
- Identifiers = {"sssb_sssb_data_centaur_asteroid"}
+ Identifiers = {"sssb_sssb_data_centaur_asteroid"}
}
diff --git a/data/assets/scene/solarsystem/sssb/chiron-type_comet.asset b/data/assets/scene/solarsystem/sssb/chiron-type_comet.asset
index 81f1523ac6..315abef89b 100644
--- a/data/assets/scene/solarsystem/sssb/chiron-type_comet.asset
+++ b/data/assets/scene/solarsystem/sssb/chiron-type_comet.asset
@@ -2,29 +2,29 @@ local assetHelper = asset.require('util/asset_helper')
local sharedSssb = asset.require('./sssb_shared')
local filepath = sharedSssb.downloadSssbDatabaseFile(asset, 'chiron-type_comet',
- 'sssb_data_chiron-type_comet')
+ 'sssb_data_chiron-type_comet')
local object = sharedSssb.createSssbGroupObject('sssb_data_chiron-type_comet.csv',
- "Chiron-type Comets", filepath, { 0.15 ,0.1 ,1.0 })
+ "Chiron-type Comets", filepath, { 0.15 ,0.1 ,1.0 })
object.Renderable.Enabled = false
object.Renderable.SegmentQuality = 10
object.Renderable.TrailFade = 25
object.GUI.Description = [[ Comets with a Tisserand's parameter with respect to Jupiter of
- greater than 3 and a semi-major axis greater than that of Jupiter. ]]
+ greater than 3 and a semi-major axis greater than that of Jupiter. ]]
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Chiron-Type Comets",
- Version = "1.0",
- Description = [[ RenderableSmallBody asset with data from from JPL Horizons
- contiaining the Chiron-Type group.]],
- Author = "JPL Small-Body Database hosted by California Institute of Technology",
- URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
- License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
- All documents available from this server may be protected under the U.S. and
- Foreign Copyright Laws.]],
- Identifiers = {"sssb_sssb_data_chiron-type_comet"}
+ Name = "Chiron-Type Comets",
+ Version = "1.0",
+ Description = [[ RenderableSmallBody asset with data from from JPL Horizons
+ contiaining the Chiron-Type group.]],
+ Author = "JPL Small-Body Database hosted by California Institute of Technology",
+ URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
+ License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
+ All documents available from this server may be protected under the U.S. and
+ Foreign Copyright Laws.]],
+ Identifiers = {"sssb_sssb_data_chiron-type_comet"}
}
diff --git a/data/assets/scene/solarsystem/sssb/encke-type_comet.asset b/data/assets/scene/solarsystem/sssb/encke-type_comet.asset
index c3af524bb2..f07d3a39ab 100644
--- a/data/assets/scene/solarsystem/sssb/encke-type_comet.asset
+++ b/data/assets/scene/solarsystem/sssb/encke-type_comet.asset
@@ -2,29 +2,29 @@ local assetHelper = asset.require('util/asset_helper')
local sharedSssb = asset.require('./sssb_shared')
local filepath = sharedSssb.downloadSssbDatabaseFile(asset, 'encke-type_comet',
- 'sssb_data_encke-type_comet')
+ 'sssb_data_encke-type_comet')
local object = sharedSssb.createSssbGroupObject('sssb_data_encke-type_comet.csv',
- "Encke-type Comets", filepath, { 0.8, 0.34, 1.0 })
+ "Encke-type Comets", filepath, { 0.8, 0.34, 1.0 })
object.Renderable.Enabled = false
object.Renderable.SegmentQuality = 2
object.Renderable.TrailFade = 23
object.GUI.Description = [[ Comets with a Tisserand's parameter with respect to Jupiter of
- greater than 3 and a semi-major axis less than that of Jupiter. ]]
+ greater than 3 and a semi-major axis less than that of Jupiter. ]]
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Encke-Type Comets",
- Version = "1.0",
- Description = [[ RenderableSmallBody asset with data from from JPL Horizons
- contiaining the Encke-Type group.]],
- Author = "JPL Small-Body Database hosted by California Institute of Technology",
- URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
- License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
+ Name = "Encke-Type Comets",
+ Version = "1.0",
+ Description = [[ RenderableSmallBody asset with data from from JPL Horizons
+ contiaining the Encke-Type group.]],
+ Author = "JPL Small-Body Database hosted by California Institute of Technology",
+ URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
+ License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
All documents available from this server may be protected under the U.S. and
Foreign Copyright Laws.]],
- Identifiers = {"sssb_sssb_data_encke-type_comet"}
+ Identifiers = {"sssb_sssb_data_encke-type_comet"}
}
diff --git a/data/assets/scene/solarsystem/sssb/halley-type_comet.asset b/data/assets/scene/solarsystem/sssb/halley-type_comet.asset
index ebc84f9e0d..b0d0131d77 100644
--- a/data/assets/scene/solarsystem/sssb/halley-type_comet.asset
+++ b/data/assets/scene/solarsystem/sssb/halley-type_comet.asset
@@ -2,28 +2,28 @@ local assetHelper = asset.require('util/asset_helper')
local sharedSssb = asset.require('./sssb_shared')
local filepath = sharedSssb.downloadSssbDatabaseFile(asset, 'halley-type_comet',
- 'sssb_data_halley-type_comet')
+ 'sssb_data_halley-type_comet')
local object = sharedSssb.createSssbGroupObject('sssb_data_halley-type_comet.csv',
- "Halley-type Comets", filepath, { 0.66, 0.66, 0.66 })
+ "Halley-type Comets", filepath, { 0.66, 0.66, 0.66 })
object.Renderable.Enabled = false
object.Renderable.SegmentQuality = 9
object.Renderable.TrailFade = 18
object.GUI.Description = [[ Periodic comets with an orbital period between 20 and 200
- years. ]]
+ years. ]]
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Halley-Type Comets",
- Version = "1.0",
- Description = [[ RenderableSmallBody asset with data from from JPL Horizons
- contiaining the Halley-Type group.]],
- Author = "JPL Small-Body Database hosted by California Institute of Technology",
- URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
- License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
- All documents available from this server may be protected under the U.S. and
- Foreign Copyright Laws.]],
- Identifiers = {"sssb_sssb_data_halley-type_comet"}
+ Name = "Halley-Type Comets",
+ Version = "1.0",
+ Description = [[ RenderableSmallBody asset with data from from JPL Horizons
+ contiaining the Halley-Type group.]],
+ Author = "JPL Small-Body Database hosted by California Institute of Technology",
+ URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
+ License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
+ All documents available from this server may be protected under the U.S. and
+ Foreign Copyright Laws.]],
+ Identifiers = {"sssb_sssb_data_halley-type_comet"}
}
diff --git a/data/assets/scene/solarsystem/sssb/inner_main_belt_asteroid.asset b/data/assets/scene/solarsystem/sssb/inner_main_belt_asteroid.asset
index bd63087c9b..1c43e1f631 100644
--- a/data/assets/scene/solarsystem/sssb/inner_main_belt_asteroid.asset
+++ b/data/assets/scene/solarsystem/sssb/inner_main_belt_asteroid.asset
@@ -2,29 +2,29 @@ local assetHelper = asset.require('util/asset_helper')
local sharedSssb = asset.require('./sssb_shared')
local filepath = sharedSssb.downloadSssbDatabaseFile(asset, 'inner_main_belt_asteroid',
- 'sssb_data_inner_main_belt_asteroid')
+ 'sssb_data_inner_main_belt_asteroid')
local object = sharedSssb.createSssbGroupObject('sssb_data_inner_main_belt_asteroid.csv',
- "Inner Main Asteroid Belt", filepath, { 1.0, 1.0, 0.0 })
+ "Inner Main Asteroid Belt", filepath, { 1.0, 1.0, 0.0 })
object.Renderable.Enabled = false
object.Renderable.SegmentQuality = 1
object.Renderable.TrailFade = 0.5
object.GUI.Description = [[ Asteroids with a semi-major axis less than 2.0 au and a
- perihelion distance greater than 1.666 au. ]]
+ perihelion distance greater than 1.666 au. ]]
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Inner Main Asteroid Belt",
- Version = "1.0",
- Description = [[ RenderableSmallBody asset with data from from JPL Horizons
- contiaining the Inner Main Asteroid Belt group.]],
- Author = "JPL Small-Body Database hosted by California Institute of Technology",
- URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
- License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
- All documents available from this server may be protected under the U.S. and
- Foreign Copyright Laws.]],
- Identifiers = {"sssb_sssb_data_inner_main_belt_asteroid"}
+ Name = "Inner Main Asteroid Belt",
+ Version = "1.0",
+ Description = [[ RenderableSmallBody asset with data from from JPL Horizons
+ contiaining the Inner Main Asteroid Belt group.]],
+ Author = "JPL Small-Body Database hosted by California Institute of Technology",
+ URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
+ License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
+ All documents available from this server may be protected under the U.S. and
+ Foreign Copyright Laws.]],
+ Identifiers = {"sssb_sssb_data_inner_main_belt_asteroid"}
}
diff --git a/data/assets/scene/solarsystem/sssb/jupiter-family_comet.asset b/data/assets/scene/solarsystem/sssb/jupiter-family_comet.asset
index ecbf215d8e..91f4226222 100644
--- a/data/assets/scene/solarsystem/sssb/jupiter-family_comet.asset
+++ b/data/assets/scene/solarsystem/sssb/jupiter-family_comet.asset
@@ -2,29 +2,29 @@ local assetHelper = asset.require('util/asset_helper')
local sharedSssb = asset.require('./sssb_shared')
local filepath = sharedSssb.downloadSssbDatabaseFile(asset, 'jupiter-family_comet',
- 'sssb_data_jupiter-family_comet')
+ 'sssb_data_jupiter-family_comet')
local object = sharedSssb.createSssbGroupObject('sssb_data_jupiter-family_comet.csv',
- "Jupiter-family Comets", filepath, { 0.2, 0.8, 0.2 })
+ "Jupiter-family Comets", filepath, { 0.2, 0.8, 0.2 })
object.Renderable.Enabled = false
object.Renderable.SegmentQuality = 10
object.Renderable.TrailFade = 28
object.GUI.Description = [[ Comets with a Tisserand's parameter with respect to Jupiter of
- between 2 and 3. ]]
+ between 2 and 3. ]]
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Jupiter Family Comets",
- Version = "1.0",
- Description = [[ RenderableSmallBody asset with data from from JPL Horizons
- contiaining Jupiter-family group.]],
- Author = "JPL Small-Body Database hosted by California Institute of Technology",
- URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
- License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
- All documents available from this server may be protected under the U.S. and
- Foreign Copyright Laws.]],
- Identifiers = {"sssb_sssb_data_jupiter-family_comet"}
+ Name = "Jupiter Family Comets",
+ Version = "1.0",
+ Description = [[ RenderableSmallBody asset with data from from JPL Horizons
+ contiaining Jupiter-family group.]],
+ Author = "JPL Small-Body Database hosted by California Institute of Technology",
+ URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
+ License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
+ All documents available from this server may be protected under the U.S. and
+ Foreign Copyright Laws.]],
+ Identifiers = {"sssb_sssb_data_jupiter-family_comet"}
}
diff --git a/data/assets/scene/solarsystem/sssb/jupiter_trojan_asteroid.asset b/data/assets/scene/solarsystem/sssb/jupiter_trojan_asteroid.asset
index 6663cd38a2..0389c0338d 100644
--- a/data/assets/scene/solarsystem/sssb/jupiter_trojan_asteroid.asset
+++ b/data/assets/scene/solarsystem/sssb/jupiter_trojan_asteroid.asset
@@ -2,29 +2,29 @@ local assetHelper = asset.require('util/asset_helper')
local sharedSssb = asset.require('./sssb_shared')
local filepath = sharedSssb.downloadSssbDatabaseFile(asset, 'jupiter_trojan_asteroid',
- 'sssb_data_jupiter_trojan_asteroid')
+ 'sssb_data_jupiter_trojan_asteroid')
local object = sharedSssb.createSssbGroupObject('sssb_data_jupiter_trojan_asteroid.csv',
- "Jupiter Trojan Asteroids", filepath, { 0.5, 0.8, 0.5 })
+ "Jupiter Trojan Asteroids", filepath, { 0.5, 0.8, 0.5 })
object.Renderable.Enabled = false
object.Renderable.SegmentQuality = 1
object.Renderable.TrailFade = 5
object.GUI.Description = [[ Asteroids trapped in Jupiter's L4/L5 Lagrange points
- (semimajor axis of between 4.6 and 5.5 au), with an eccentricity of less than 0.3. ]]
+ (semimajor axis of between 4.6 and 5.5 au), with an eccentricity of less than 0.3. ]]
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Jupiter Trojan Asteroids",
- Version = "1.0",
- Description = [[ RenderableSmallBody asset with data from from JPL Horizons
- contiaining Jupiter Trojan group.]],
- Author = "JPL Small-Body Database hosted by California Institute of Technology",
- URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
- License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
- All documents available from this server may be protected under the U.S. and
- Foreign Copyright Laws.]],
- Identifiers = {"sssb_sssb_data_jupiter_trojan_asteroid"}
+ Name = "Jupiter Trojan Asteroids",
+ Version = "1.0",
+ Description = [[ RenderableSmallBody asset with data from from JPL Horizons
+ contiaining Jupiter Trojan group.]],
+ Author = "JPL Small-Body Database hosted by California Institute of Technology",
+ URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
+ License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
+ All documents available from this server may be protected under the U.S. and
+ Foreign Copyright Laws.]],
+ Identifiers = {"sssb_sssb_data_jupiter_trojan_asteroid"}
}
diff --git a/data/assets/scene/solarsystem/sssb/main_belt_asteroid.asset b/data/assets/scene/solarsystem/sssb/main_belt_asteroid.asset
index 580b7b5fbb..7634f0ca92 100644
--- a/data/assets/scene/solarsystem/sssb/main_belt_asteroid.asset
+++ b/data/assets/scene/solarsystem/sssb/main_belt_asteroid.asset
@@ -2,30 +2,30 @@ local assetHelper = asset.require('util/asset_helper')
local sharedSssb = asset.require('./sssb_shared')
local filepath = sharedSssb.downloadSssbDatabaseFile(asset, 'main_belt_asteroid',
- 'sssb_data_main_belt_asteroid')
+ 'sssb_data_main_belt_asteroid')
local object = sharedSssb.createSssbGroupObject('sssb_data_main_belt_asteroid.csv',
- "Main Asteroid Belt", filepath, { 0.0, 0.5, 0.0 })
+ "Main Asteroid Belt", filepath, { 0.0, 0.5, 0.0 })
object.Renderable.Enabled = false
object.Renderable.SegmentQuality = 1
object.Renderable.TrailFade = 0.1
object.Renderable.UpperLimit = 50000
object.GUI.Description = [[ Asteroids with a semi-major axis of between 2.0 and 3.2 au,
- and a perihelion distance greater than 1.666 au. ]]
+ and a perihelion distance greater than 1.666 au. ]]
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Main Asteroid Belt",
- Version = "1.0",
- Description = [[ RenderableSmallBody asset with data from from JPL Horizons
- contiaining Main Asteroid Belt group.]],
- Author = "JPL Small-Body Database hosted by California Institute of Technology",
- URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
- License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
- All documents available from this server may be protected under the U.S. and
- Foreign Copyright Laws.]],
- Identifiers = {"sssb_sssb_data_main_belt_asteroid"}
+ Name = "Main Asteroid Belt",
+ Version = "1.0",
+ Description = [[ RenderableSmallBody asset with data from from JPL Horizons
+ contiaining Main Asteroid Belt group.]],
+ Author = "JPL Small-Body Database hosted by California Institute of Technology",
+ URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
+ License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
+ All documents available from this server may be protected under the U.S. and
+ Foreign Copyright Laws.]],
+ Identifiers = {"sssb_sssb_data_main_belt_asteroid"}
}
diff --git a/data/assets/scene/solarsystem/sssb/mars-crossing_asteroid.asset b/data/assets/scene/solarsystem/sssb/mars-crossing_asteroid.asset
index dd3252f7c2..f731c32ab2 100644
--- a/data/assets/scene/solarsystem/sssb/mars-crossing_asteroid.asset
+++ b/data/assets/scene/solarsystem/sssb/mars-crossing_asteroid.asset
@@ -2,29 +2,29 @@ local assetHelper = asset.require('util/asset_helper')
local sharedSssb = asset.require('./sssb_shared')
local filepath = sharedSssb.downloadSssbDatabaseFile(asset, 'mars-crossing_asteroid',
- 'sssb_data_mars-crossing_asteroid')
+ 'sssb_data_mars-crossing_asteroid')
local object = sharedSssb.createSssbGroupObject('sssb_data_mars-crossing_asteroid.csv',
- "Mars-crossing Asteroids", filepath, { 0.814, 0.305, 0.220 })
+ "Mars-crossing Asteroids", filepath, { 0.814, 0.305, 0.220 })
object.Renderable.Enabled = false
object.Renderable.SegmentQuality = 1
object.Renderable.TrailFade = 13
object.GUI.Description = [[ Asteroids that cross the orbit of Mars, with a semi-major axis
- of less than 3.2 au, and a perihelion distance of between 1.3 and 1.666 au. ]]
+ of less than 3.2 au, and a perihelion distance of between 1.3 and 1.666 au. ]]
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Mars-Crossing Asteroids",
- Version = "1.0",
- Description = [[ RenderableSmallBody asset with data from from JPL Horizons
- contiaining Mars-Crossing group.]],
- Author = "JPL Small-Body Database hosted by California Institute of Technology",
- URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
- License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
- All documents available from this server may be protected under the U.S. and
- Foreign Copyright Laws.]],
- Identifiers = {"sssb_sssb_data_mars-crossing_asteroid"}
+ Name = "Mars-Crossing Asteroids",
+ Version = "1.0",
+ Description = [[ RenderableSmallBody asset with data from from JPL Horizons
+ containing Mars-Crossing group.]],
+ Author = "JPL Small-Body Database hosted by California Institute of Technology",
+ URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
+ License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
+ All documents available from this server may be protected under the U.S. and
+ Foreign Copyright Laws.]],
+ Identifiers = {"sssb_sssb_data_mars-crossing_asteroid"}
}
diff --git a/data/assets/scene/solarsystem/sssb/outer_main_belt_asteroid.asset b/data/assets/scene/solarsystem/sssb/outer_main_belt_asteroid.asset
index e792b3d556..6c01440fd6 100644
--- a/data/assets/scene/solarsystem/sssb/outer_main_belt_asteroid.asset
+++ b/data/assets/scene/solarsystem/sssb/outer_main_belt_asteroid.asset
@@ -2,15 +2,15 @@ local assetHelper = asset.require('util/asset_helper')
local sharedSssb = asset.require('./sssb_shared')
local filepath = sharedSssb.downloadSssbDatabaseFile(
- asset,
- 'outer_main_belt_asteroid',
- 'sssb_data_outer_main_belt_asteroid'
+ asset,
+ 'outer_main_belt_asteroid',
+ 'sssb_data_outer_main_belt_asteroid'
)
local object = sharedSssb.createSssbGroupObject(
- 'sssb_data_outer_main_belt_asteroid.csv',
- "Outer Main Asteroid Belt",
- filepath,
- { 0.4, 0.4, 1.0 }
+ 'sssb_data_outer_main_belt_asteroid.csv',
+ "Outer Main Asteroid Belt",
+ filepath,
+ { 0.4, 0.4, 1.0 }
)
object.Renderable.Enabled = false
object.Renderable.SegmentQuality = 1
@@ -22,14 +22,14 @@ assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Outer Main Asteroid Belt",
- Version = "1.0",
- Description = [[ RenderableSmallBody asset with data from from JPL Horizons
- contiaining Outer Main Asteroid Belt group.]],
- Author = "JPL Small-Body Database hosted by California Institute of Technology",
- URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
- License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
- All documents available from this server may be protected under the U.S.
- and Foreign Copyright Laws.]],
- Identifiers = {"sssb_sssb_data_outer_main_belt_asteroid"}
+ Name = "Outer Main Asteroid Belt",
+ Version = "1.0",
+ Description = [[ RenderableSmallBody asset with data from from JPL Horizons
+ contiaining Outer Main Asteroid Belt group.]],
+ Author = "JPL Small-Body Database hosted by California Institute of Technology",
+ URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
+ License = [[JPL-authored documents are sponsored by NASA under Contract NAS7-030010.
+ All documents available from this server may be protected under the U.S.
+ and Foreign Copyright Laws.]],
+ Identifiers = {"sssb_sssb_data_outer_main_belt_asteroid"}
}
diff --git a/data/assets/scene/solarsystem/sssb/pha.asset b/data/assets/scene/solarsystem/sssb/pha.asset
index 514396b4b2..04ce9a44e2 100644
--- a/data/assets/scene/solarsystem/sssb/pha.asset
+++ b/data/assets/scene/solarsystem/sssb/pha.asset
@@ -3,33 +3,33 @@ local sharedSssb = asset.require('./sssb_shared')
local filepath = sharedSssb.downloadSssbDatabaseFile(asset, 'pha', 'sssb_data_pha')
local object = sharedSssb.createSssbGroupObject('sssb_data_pha.csv',
- "Potentially Hazardous Asteroids",
- filepath,
- { 0.98, 0.09, 0.06}
+ "Potentially Hazardous Asteroids",
+ filepath,
+ { 0.98, 0.09, 0.06}
)
object.Renderable.Enabled = false
object.Renderable.SegmentQuality = 3
object.Renderable.TrailFade = 17
object.GUI.Description = [[ Asteroids that are deemed potentially hazardous to Earth
- based on their close approaches. All asteroids with an Earth Minimum Orbit
- Intersection Distance (MOID) of 0.05 au or less, and with an absolute magnitude (H)
- of 22.0 or less. ]]
+ based on their close approaches. All asteroids with an Earth Minimum Orbit
+ Intersection Distance (MOID) of 0.05 au or less, and with an absolute magnitude (H)
+ of 22.0 or less. ]]
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Potentially-Hazardous Asteroids",
- Version = "1.0",
- Description = [[ RenderableSmallBody asset with data from from JPL Horizons
- contiaining Potentially Hazardous group. ]],
- Author = [[JPL Small-Body Database hosted by California Institute of
- Technology]],
- URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
- License = [[JPL-authored documents are sponsored by NASA under Contract
- NAS7-030010. All documents available from this server may be protected
- under the U.S. and Foreign Copyright Laws.]],
- Identifiers = {"sssb_sssb_data_pha"}
+ Name = "Potentially-Hazardous Asteroids",
+ Version = "1.0",
+ Description = [[ RenderableSmallBody asset with data from from JPL Horizons
+ contiaining Potentially Hazardous group. ]],
+ Author = [[JPL Small-Body Database hosted by California Institute of
+ Technology]],
+ URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
+ License = [[JPL-authored documents are sponsored by NASA under Contract
+ NAS7-030010. All documents available from this server may be protected
+ under the U.S. and Foreign Copyright Laws.]],
+ Identifiers = {"sssb_sssb_data_pha"}
}
diff --git a/data/assets/scene/solarsystem/sssb/sssb_shared.asset b/data/assets/scene/solarsystem/sssb/sssb_shared.asset
index ea494d0fff..9ba25174e9 100644
--- a/data/assets/scene/solarsystem/sssb/sssb_shared.asset
+++ b/data/assets/scene/solarsystem/sssb/sssb_shared.asset
@@ -1,39 +1,39 @@
local transforms = asset.require('scene/solarsystem/sun/transforms')
function downloadSssbDatabaseFile(sceneAsset, name, identifier)
- assert(sceneAsset, "'asset' needs to be provided")
- assert(name, "'name' needs to be provided")
- assert(identifier, "'identifier'needs to be provided")
+ assert(sceneAsset, "'asset' needs to be provided")
+ assert(name, "'name' needs to be provided")
+ assert(identifier, "'identifier'needs to be provided")
- return sceneAsset.syncedResource({
- Name = "Small SolarSystem Body Data (" .. name .. ")",
- Type = "HttpSynchronization",
- Identifier = identifier,
- Version = 1
- })
+ return sceneAsset.syncedResource({
+ Name = "Small SolarSystem Body Data (" .. name .. ")",
+ Type = "HttpSynchronization",
+ Identifier = identifier,
+ Version = 1
+ })
end
local createSssbGroupObject = function(filename, guiName, sssbFolder, trailColor)
- assert(filename, "'filename' needs to be provided")
- assert(sssbFolder, "'sssbFolder' needs to be provided")
- trailColor = trailColor or { 0.75, 0.1, 0.1 }
+ assert(filename, "'filename' needs to be provided")
+ assert(sssbFolder, "'sssbFolder' needs to be provided")
+ trailColor = trailColor or { 0.75, 0.1, 0.1 }
- local filenameSansExt = filename:gsub(filename:match("(%.%w+)$"), "")
- return {
- Identifier = 'sssb_'..filenameSansExt,
- Parent = transforms.SunECLIPJ2000.Identifier,
- Renderable = {
- Type = "RenderableSmallBody",
- Path = sssbFolder.."/"..filename,
- Segments = 200,
- Color = trailColor,
- TrailFade = 0.5,
- },
- GUI = {
- Path = "/Solar System/Small Bodies",
- Name = guiName
- }
+ local filenameSansExt = filename:gsub(filename:match("(%.%w+)$"), "")
+ return {
+ Identifier = 'sssb_'..filenameSansExt,
+ Parent = transforms.SunECLIPJ2000.Identifier,
+ Renderable = {
+ Type = "RenderableSmallBody",
+ Path = sssbFolder.."/"..filename,
+ Segments = 200,
+ Color = trailColor,
+ TrailFade = 0.5,
+ },
+ GUI = {
+ Path = "/Solar System/Small Bodies",
+ Name = guiName
}
+ }
end
asset.export("downloadSssbDatabaseFile", downloadSssbDatabaseFile)
diff --git a/data/assets/scene/solarsystem/sssb/swifttuttle.asset b/data/assets/scene/solarsystem/sssb/swifttuttle.asset
index 971c822bb2..f0d97c6fdc 100644
--- a/data/assets/scene/solarsystem/sssb/swifttuttle.asset
+++ b/data/assets/scene/solarsystem/sssb/swifttuttle.asset
@@ -2,61 +2,61 @@ local assetHelper = asset.require('util/asset_helper')
local sunTransforms = asset.require('scene/solarsystem/sun/transforms')
local sync = asset.syncedResource({
- Name = "Swift Tuttle Orbit",
- Type = "HttpSynchronization",
- Identifier = "swift_tuttle_horizons",
- Version = 1
+ Name = "Swift Tuttle Orbit",
+ Type = "HttpSynchronization",
+ Identifier = "swift_tuttle_horizons",
+ Version = 1
})
local SwiftTuttleTrail = {
- Identifier = "SwiftTuttleTrail",
- Parent = sunTransforms.SolarSystemBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailTrajectory",
- Translation = {
- Type = "HorizonsTranslation",
- HorizonsTextFile = sync .. "/horizons_swifttuttle.dat"
- },
- Color = { 0.9, 0.9, 0.0 },
- StartTime = "1879 JUN 27 00:00:00",
- EndTime = "1879 JUN 27 00:00:00",
- SampleInterval = 60
+ Identifier = "SwiftTuttleTrail",
+ Parent = sunTransforms.SolarSystemBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailTrajectory",
+ Translation = {
+ Type = "HorizonsTranslation",
+ HorizonsTextFile = sync .. "/horizons_swifttuttle.dat"
},
- GUI = {
- Name = "Swift Tuttle Trail",
- Path = "/Solar System/SSSB"
- }
+ Color = { 0.9, 0.9, 0.0 },
+ StartTime = "1879 JUN 27 00:00:00",
+ EndTime = "1879 JUN 27 00:00:00",
+ SampleInterval = 60
+ },
+ GUI = {
+ Name = "Swift Tuttle Trail",
+ Path = "/Solar System/SSSB"
+ }
}
local SwiftTuttlePosition = {
- Identifier = "SwiftTuttlePosition",
- Parent = sunTransforms.SolarSystemBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "HorizonsTranslation",
- HorizonsTextFile = sync .. "/horizons_swifttuttle.dat"
- },
- },
- GUI = {
- Name = "Swift Tuttle Position",
- Path = "/Solar System/SSSB"
+ Identifier = "SwiftTuttlePosition",
+ Parent = sunTransforms.SolarSystemBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "HorizonsTranslation",
+ HorizonsTextFile = sync .. "/horizons_swifttuttle.dat"
}
+ },
+ GUI = {
+ Name = "Swift Tuttle Position",
+ Path = "/Solar System/SSSB"
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, {
- SwiftTuttlePosition, SwiftTuttleTrail
+ SwiftTuttlePosition, SwiftTuttleTrail
})
asset.meta = {
- Name = "Swift Tuttle",
- Version = "1.0",
- Description = [[ Position and Trail of Swift Tuttle from 1879 JUN 27
- to 1879 JUN 27. Data from JPL Horizons]],
- Author = "OpenSpace Team",
- URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
- License = [[ JPL-authored documents are sponsored by NASA under Contract
+ Name = "Swift Tuttle",
+ Version = "1.0",
+ Description = [[ Position and Trail of Swift Tuttle from 1879 JUN 27
+ to 1879 JUN 27. Data from JPL Horizons]],
+ Author = "OpenSpace Team",
+ URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
+ License = [[ JPL-authored documents are sponsored by NASA under Contract
NAS7-030010. All documents available from this server may be protected
under the U.S. and Foreign Copyright Laws."]],
- Identifiers = {"SwiftTuttlePosition", "SwiftTuttleTrail"}
+ Identifiers = {"SwiftTuttlePosition", "SwiftTuttleTrail"}
}
diff --git a/data/assets/scene/solarsystem/sssb/tesla_roadster.asset b/data/assets/scene/solarsystem/sssb/tesla_roadster.asset
index 105a489659..19b8ac2c44 100644
--- a/data/assets/scene/solarsystem/sssb/tesla_roadster.asset
+++ b/data/assets/scene/solarsystem/sssb/tesla_roadster.asset
@@ -2,62 +2,62 @@ local assetHelper = asset.require('util/asset_helper')
local sunTransforms = asset.require('scene/solarsystem/sun/transforms')
local orbit = asset.syncedResource({
- Name = "Tesla Roadster Orbit",
- Type = "HttpSynchronization",
- Identifier = "tesla_horizons",
- Version = 1
+ Name = "Tesla Roadster Orbit",
+ Type = "HttpSynchronization",
+ Identifier = "tesla_horizons",
+ Version = 1
})
local TeslaRoadsterTrail = {
- Identifier = "TeslaRoadsterTrail",
- Parent = sunTransforms.SolarSystemBarycenter.Identifier,
- Renderable = {
- Type = "RenderableTrailTrajectory",
- Translation = {
- Type = "HorizonsTranslation",
- HorizonsTextFile = orbit .. "/horizons_tesla.dat"
- },
- Color = { 0.9, 0.9, 0.0 },
- StartTime = "2018 FEB 8 00:00:00",
- EndTime = "2022 FEB 7 00:00:00",
- SampleInterval = 3000,
- TimeStampSubsampleFactor = 1
+ Identifier = "TeslaRoadsterTrail",
+ Parent = sunTransforms.SolarSystemBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderableTrailTrajectory",
+ Translation = {
+ Type = "HorizonsTranslation",
+ HorizonsTextFile = orbit .. "/horizons_tesla.dat"
},
- GUI = {
- Name = "Tesla Roadster Trail",
- Path = "/Solar System/SSSB"
- }
+ Color = { 0.9, 0.9, 0.0 },
+ StartTime = "2018 FEB 8 00:00:00",
+ EndTime = "2022 FEB 7 00:00:00",
+ SampleInterval = 3000,
+ TimeStampSubsampleFactor = 1
+ },
+ GUI = {
+ Name = "Tesla Roadster Trail",
+ Path = "/Solar System/SSSB"
+ }
}
local TeslaPosition = {
- Identifier = "TeslaPosition",
- Parent = sunTransforms.SolarSystemBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "HorizonsTranslation",
- HorizonsTextFile = orbit .. "/horizons_tesla.dat"
- },
- },
- GUI = {
- Name = "Tesla Roadster",
- Path = "/Solar System/SSSB",
- Description = [[Position and Trail of Tesla Roadster from 2018 FEB 8
- to 2022 FEB 7 00:00:00. Data from JPL Horizons.]]
+ Identifier = "TeslaPosition",
+ Parent = sunTransforms.SolarSystemBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "HorizonsTranslation",
+ HorizonsTextFile = orbit .. "/horizons_tesla.dat"
}
+ },
+ GUI = {
+ Name = "Tesla Roadster",
+ Path = "/Solar System/SSSB",
+ Description = [[Position and Trail of Tesla Roadster from 2018 FEB 8
+ to 2022 FEB 7 00:00:00. Data from JPL Horizons.]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { TeslaPosition, TeslaRoadsterTrail })
asset.meta = {
- Name = "Tesla Roadster",
- Version = "1.0",
- Description = [[ Position and Trail of Tesla Roadster from 2018 FEB 8
- to 2022 FEB 7 00:00:00. Data from JPL Horizons.]],
- Author = "OpenSpace Team",
- URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
- License = [[ JPL-authored documents are sponsored by NASA under Contract
+ Name = "Tesla Roadster",
+ Version = "1.0",
+ Description = [[ Position and Trail of Tesla Roadster from 2018 FEB 8
+ to 2022 FEB 7 00:00:00. Data from JPL Horizons.]],
+ Author = "OpenSpace Team",
+ URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
+ License = [[ JPL-authored documents are sponsored by NASA under Contract
NAS7-030010. All documents available from this server may be protected
under the U.S. and Foreign Copyright Laws.]],
- Identifiers = {"TeslaPosition", "TeslaRoadsterTrail"}
+ Identifiers = {"TeslaPosition", "TeslaRoadsterTrail"}
}
diff --git a/data/assets/scene/solarsystem/sssb/transneptunian_object_asteroid.asset b/data/assets/scene/solarsystem/sssb/transneptunian_object_asteroid.asset
index 50a9dc8959..dd8252f2d4 100644
--- a/data/assets/scene/solarsystem/sssb/transneptunian_object_asteroid.asset
+++ b/data/assets/scene/solarsystem/sssb/transneptunian_object_asteroid.asset
@@ -2,37 +2,36 @@ local assetHelper = asset.require('util/asset_helper')
local sharedSssb = asset.require('./sssb_shared')
local filepath = sharedSssb.downloadSssbDatabaseFile(asset,
- 'transneptunian_object_asteroid',
- 'sssb_data_transneptunian_object_asteroid'
+ 'transneptunian_object_asteroid',
+ 'sssb_data_transneptunian_object_asteroid'
)
local object = sharedSssb.createSssbGroupObject(
- 'sssb_data_transneptunian_object_asteroid.csv',
- "Transneptunian Object Asteroids",
- filepath,
- {0.56, 0.64, 0.95 }
+ 'sssb_data_transneptunian_object_asteroid.csv',
+ "Transneptunian Object Asteroids",
+ filepath,
+ { 0.56, 0.64, 0.95 }
)
object.Renderable.Enabled = false
object.Renderable.SegmentQuality = 8
object.Renderable.TrailFade = 10
object.GUI.Description = [[ Any minor or dwarf planets in the solar system that orbit
- the Sun at a greater average distance than Neptune (semi-major axis
- of 30.1 AU). ]]
+ the Sun at a greater average distance than Neptune (semi-major axis of 30.1 AU). ]]
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
- Name = "Trans-Neptunian Asteroids",
- Version = "1.0",
- Description = [[ RenderableSmallBody asset with data from from JPL Horizons
- contiaining Trans-Neptunian group. ]],
- Author = [[JPL Small-Body Database hosted by California Institute of
- Technology]],
- URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
- License = [[ JPL-authored documents are sponsored by NASA under Contract
- NAS7-030010. All documents available from this server may be protected
- under the U.S. and Foreign Copyright Laws."]],
- Identifiers = {"sssb_sssb_data_transneptunian_object_asteroid"}
+ Name = "Trans-Neptunian Asteroids",
+ Version = "1.0",
+ Description = [[ RenderableSmallBody asset with data from from JPL Horizons
+ contiaining Trans-Neptunian group. ]],
+ Author = [[JPL Small-Body Database hosted by California Institute of
+ Technology]],
+ URL = "https://ssd.jpl.nasa.gov/sbdb_query.cgi",
+ License = [[ JPL-authored documents are sponsored by NASA under Contract
+ NAS7-030010. All documents available from this server may be protected
+ under the U.S. and Foreign Copyright Laws."]],
+ Identifiers = {"sssb_sssb_data_transneptunian_object_asteroid"}
}
diff --git a/data/assets/scene/solarsystem/sun/default_layers.asset b/data/assets/scene/solarsystem/sun/default_layers.asset
index c28573d81c..0b9ded96b0 100644
--- a/data/assets/scene/solarsystem/sun/default_layers.asset
+++ b/data/assets/scene/solarsystem/sun/default_layers.asset
@@ -5,15 +5,15 @@ local colorLayer = asset.require(colorLayersPath .. "/sun_texture")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
- openspace.setPropertyValueSingle("Scene.Sun.Renderable.Layers.ColorLayers." .. colorLayer.layer.Identifier .. ".Enabled", true)
+ openspace.setPropertyValueSingle("Scene.Sun.Renderable.Layers.ColorLayers." .. colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
- Name = "Default Sun layers",
- Version = "1.0",
- Description = [[ Default Sun layers renderable globe.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Default Sun layers",
+ Version = "1.0",
+ Description = [[ Default Sun layers renderable globe.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/sun/glare.asset b/data/assets/scene/solarsystem/sun/glare.asset
index 3d817fe120..827ab90509 100644
--- a/data/assets/scene/solarsystem/sun/glare.asset
+++ b/data/assets/scene/solarsystem/sun/glare.asset
@@ -6,41 +6,41 @@ asset.require("spice/base")
local SunGlare = {
- Identifier = "SunGlare",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Renderable = {
- Type = "RenderablePlaneImageLocal",
- Size = 1.3*10^10.5,
- Origin = "Center",
- Billboard = true,
- Texture = textures .. "/halo.png",
- BlendMode = "Additive",
- Opacity = 0.65,
- RenderableType = "PreDeferredTransparency"
- },
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "SUN",
- Observer = "SSB"
- }
- },
- GUI = {
- Name = "Sun Glare",
- Path = "/Solar System/Sun",
- Description = [[ Sun glare effect. Enabled by default instead of sun orb.]]
+ Identifier = "SunGlare",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Renderable = {
+ Type = "RenderablePlaneImageLocal",
+ Size = 1.3*10^10.5,
+ Origin = "Center",
+ Billboard = true,
+ Texture = textures .. "/halo.png",
+ BlendMode = "Additive",
+ Opacity = 0.65,
+ RenderableType = "PreDeferredTransparency"
+ },
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "SUN",
+ Observer = "SSB"
}
+ },
+ GUI = {
+ Name = "Sun Glare",
+ Path = "/Solar System/Sun",
+ Description = [[ Sun glare effect. Enabled by default instead of sun orb.]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { SunGlare })
asset.meta = {
- Name = "Sun Glare",
- Version = "1.0",
- Description = [[ Image plane with sun glare effect.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"SunGlare"}
+ Name = "Sun Glare",
+ Version = "1.0",
+ Description = [[ Image plane with sun glare effect.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"SunGlare"}
}
diff --git a/data/assets/scene/solarsystem/sun/habitablezone.asset b/data/assets/scene/solarsystem/sun/habitablezone.asset
index 1816f4500b..7c64aa0241 100644
--- a/data/assets/scene/solarsystem/sun/habitablezone.asset
+++ b/data/assets/scene/solarsystem/sun/habitablezone.asset
@@ -3,33 +3,33 @@ local transforms = asset.require("./transforms")
local textures = asset.require('scene/milkyway/habitable_zones/habitable_zone_textures').TexturesPath
local HabitableZone = {
- Identifier = "SunHabitableZone",
- Parent = transforms.SunECLIPJ2000.Identifier,
- Renderable = {
- Type = "RenderableHabitableZone",
- Enabled = false,
- Texture = textures .. "/hot_to_cold_faded.png",
- EffectiveTemperature = 5780, -- Kelvin
- Luminosity = 1, -- solar
- Opacity = 0.1,
- Optimistic = true
- },
- GUI = {
- Name = "Sun Habitable Zone",
- Path = "/Solar System/Sun",
- Description = "Habitable zone for the sun in our solar system."
- }
+ Identifier = "SunHabitableZone",
+ Parent = transforms.SunECLIPJ2000.Identifier,
+ Renderable = {
+ Type = "RenderableHabitableZone",
+ Enabled = false,
+ Texture = textures .. "/hot_to_cold_faded.png",
+ EffectiveTemperature = 5780, -- Kelvin
+ Luminosity = 1, -- solar
+ Opacity = 0.1,
+ Optimistic = true
+ },
+ GUI = {
+ Name = "Sun Habitable Zone",
+ Path = "/Solar System/Sun",
+ Description = "Habitable zone for the sun in our solar system."
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { HabitableZone })
asset.meta = {
- Name = "Sun Habitable Zone",
- Version = "1.0",
- Description = [[ The habitable zone around our sun, computed using formula and
+ Name = "Sun Habitable Zone",
+ Version = "1.0",
+ Description = [[ The habitable zone around our sun, computed using formula and
coefficients by Kopparapu et al. (2015) https://arxiv.org/abs/1404.5292]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"SunHabitableZone"}
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"SunHabitableZone"}
}
diff --git a/data/assets/scene/solarsystem/sun/layers/colorlayers/sun_texture.asset b/data/assets/scene/solarsystem/sun/layers/colorlayers/sun_texture.asset
index a9e550212b..3a37a2a610 100644
--- a/data/assets/scene/solarsystem/sun/layers/colorlayers/sun_texture.asset
+++ b/data/assets/scene/solarsystem/sun/layers/colorlayers/sun_texture.asset
@@ -2,22 +2,22 @@ local texturesPath = asset.require("./../../sun_textures").TexturesPath
local globeIdentifier = asset.require("./../../sun").Sun.Identifier
local layer = {
- Identifier = "Texture",
- FilePath = texturesPath .. "/sun.jpg",
+ Identifier = "Texture",
+ FilePath = texturesPath .. "/sun.jpg",
}
asset.onInitialize(function ()
- openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
+ openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
- Name = "Sun Texture",
- Version = "1.0",
- Description = [[ Default Sun texture for renderable globe.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Sun Texture",
+ Version = "1.0",
+ Description = [[ Default Sun texture for renderable globe.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/sun/marker.asset b/data/assets/scene/solarsystem/sun/marker.asset
index f392f82ad9..1c6648c2eb 100644
--- a/data/assets/scene/solarsystem/sun/marker.asset
+++ b/data/assets/scene/solarsystem/sun/marker.asset
@@ -6,33 +6,33 @@ asset.require("spice/base")
local SunMarker = {
- Identifier = "SunMarker",
- Parent = transforms.SolarSystemBarycenter.Identifier,
- Renderable = {
- Enabled = false,
- Type = "RenderablePlaneImageLocal",
- Size = 3.0E11,
- Origin = "Center",
- Billboard = true,
- Texture = textures .. "/marker.png",
- BlendMode = "Additive"
- },
- GUI = {
- Name = "Sun Marker",
- Path = "/Solar System/Sun",
- Description = [[ Sun marker with name, sized for Solar System view]]
- }
+ Identifier = "SunMarker",
+ Parent = transforms.SolarSystemBarycenter.Identifier,
+ Renderable = {
+ Enabled = false,
+ Type = "RenderablePlaneImageLocal",
+ Size = 3.0E11,
+ Origin = "Center",
+ Billboard = true,
+ Texture = textures .. "/marker.png",
+ BlendMode = "Additive"
+ },
+ GUI = {
+ Name = "Sun Marker",
+ Path = "/Solar System/Sun",
+ Description = [[ Sun marker with name, sized for Solar System view]]
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { SunMarker })
asset.meta = {
- Name = "Sun marker",
- Version = "1.0",
- Description = [[ Marker for the sun, with a stick and label.]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"SunMarker"}
+ Name = "Sun marker",
+ Version = "1.0",
+ Description = [[ Marker for the sun, with a stick and label.]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"SunMarker"}
}
diff --git a/data/assets/scene/solarsystem/sun/sun.asset b/data/assets/scene/solarsystem/sun/sun.asset
index 36569f6092..7eae833e2d 100644
--- a/data/assets/scene/solarsystem/sun/sun.asset
+++ b/data/assets/scene/solarsystem/sun/sun.asset
@@ -3,61 +3,61 @@ local transforms = asset.require("./transforms")
asset.require("spice/base")
local Sun = {
- Identifier = "Sun",
- Parent = transforms.SunIAU.Identifier,
- Renderable = {
- Type = "RenderableGlobe",
- Enabled = false,
- Radii = { 6.957E8, 6.957E8, 6.957E8 },
- SegmentsPerPatch = 64,
- Layers = {},
- PerformShading = false
- },
- GUI = {
- Name = "Sun",
- Path = "/Solar System/Sun",
- Description = "Globe for the sun in our solar system."
- }
+ Identifier = "Sun",
+ Parent = transforms.SunIAU.Identifier,
+ Renderable = {
+ Type = "RenderableGlobe",
+ Enabled = false,
+ Radii = { 6.957E8, 6.957E8, 6.957E8 },
+ SegmentsPerPatch = 64,
+ Layers = {},
+ PerformShading = false
+ },
+ GUI = {
+ Name = "Sun",
+ Path = "/Solar System/Sun",
+ Description = "Globe for the sun in our solar system."
+ }
}
local SunLabel = {
- Identifier = "SunLabel",
- Parent = Sun.Identifier,
- Renderable = {
- Enabled = false,
- Type = "RenderableLabels",
- LabelText = "Sun",
- FontSize = 100.0,
- LabelSize = 13.127,
- LabelMaxSize = 100.0,
- LabelMinSize = 1.0,
- LabelOrientationOption = "Camera View Direction",
- BlendMode = "Additive",
- EnableFading = true,
- FadeStartUnit = "Pm",
- FadeStartDistance = 2.841,
- FadeStartSpeed = 1.375,
- FadeEndUnit = "pc",
- FadeEndDistance = 1.326,
- FadeEndSpeed = 1.0
- },
- Tag = { "solarsystem_labels" },
- GUI = {
- Name = "Sun Label",
- Path = "/Solar System/Sun",
- Description = "Label for the sun in our solar system."
- }
+ Identifier = "SunLabel",
+ Parent = Sun.Identifier,
+ Renderable = {
+ Enabled = false,
+ Type = "RenderableLabels",
+ LabelText = "Sun",
+ FontSize = 100.0,
+ LabelSize = 13.127,
+ LabelMaxSize = 100.0,
+ LabelMinSize = 1.0,
+ LabelOrientationOption = "Camera View Direction",
+ BlendMode = "Additive",
+ EnableFading = true,
+ FadeStartUnit = "Pm",
+ FadeStartDistance = 2.841,
+ FadeStartSpeed = 1.375,
+ FadeEndUnit = "pc",
+ FadeEndDistance = 1.326,
+ FadeEndSpeed = 1.0
+ },
+ Tag = { "solarsystem_labels" },
+ GUI = {
+ Name = "Sun Label",
+ Path = "/Solar System/Sun",
+ Description = "Label for the sun in our solar system."
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Sun, SunLabel })
asset.meta = {
- Name = "Sun",
- Version = "1.0",
- Description = [[ The Sun and label]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"Sun" , "SunLabel"}
+ Name = "Sun",
+ Version = "1.0",
+ Description = [[ The Sun and label]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"Sun" , "SunLabel"}
}
diff --git a/data/assets/scene/solarsystem/sun/sun_textures.asset b/data/assets/scene/solarsystem/sun/sun_textures.asset
index b38fdab4b0..fd698e1aea 100644
--- a/data/assets/scene/solarsystem/sun/sun_textures.asset
+++ b/data/assets/scene/solarsystem/sun/sun_textures.asset
@@ -1,18 +1,18 @@
local TexturesPath = asset.syncedResource({
- Type = "HttpSynchronization",
- Name = "Sun textures",
- Identifier = "sun_textures",
- Version = 4
+ Type = "HttpSynchronization",
+ Name = "Sun textures",
+ Identifier = "sun_textures",
+ Version = 4
})
asset.export("TexturesPath", TexturesPath)
asset.meta = {
- Name = "Sun Textures",
- Version = "4.0",
- Description = [[ Default Sun textures]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license"
+ Name = "Sun Textures",
+ Version = "4.0",
+ Description = [[ Default Sun textures]],
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license"
}
diff --git a/data/assets/scene/solarsystem/sun/transforms.asset b/data/assets/scene/solarsystem/sun/transforms.asset
index fe661015d9..29ab4120b8 100644
--- a/data/assets/scene/solarsystem/sun/transforms.asset
+++ b/data/assets/scene/solarsystem/sun/transforms.asset
@@ -5,78 +5,78 @@ asset.require("spice/base")
-- Barycenter of the solar system, expressed in the Galactic frame
local SolarSystemBarycenter = {
- Identifier = "SolarSystemBarycenter",
- -- No parent; this node is attached to the scene graph root
- TimeFrame = { -- Using Spice kernels for 1850-2150
- Type = "TimeFrameInterval",
- Start = "1850-JAN-01",
- End = "2150-JAN-01"
- },
- GUI = {
- Name = "Solar System Barycenter",
- Path = "/Solar System",
- Description = [[Barycenter of the solar system, expressed in the Galactic frame]],
- Hidden = true
- }
+ Identifier = "SolarSystemBarycenter",
+ -- No parent; this node is attached to the scene graph root
+ TimeFrame = { -- Using Spice kernels for 1850-2150
+ Type = "TimeFrameInterval",
+ Start = "1850-JAN-01",
+ End = "2150-JAN-01"
+ },
+ GUI = {
+ Name = "Solar System Barycenter",
+ Path = "/Solar System",
+ Description = [[Barycenter of the solar system, expressed in the Galactic frame]],
+ Hidden = true
+ }
}
-- Spice frame for the Sun
local SunIAU = {
- Identifier = "SunIAU",
- Parent = SolarSystemBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "SUN",
- Observer = "SSB"
- },
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "IAU_SUN",
- DestinationFrame = "GALACTIC"
- }
+ Identifier = "SunIAU",
+ Parent = SolarSystemBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "SUN",
+ Observer = "SSB"
},
- GUI = {
- Name = "SUN IAU",
- Path = "/Solar System/Sun",
- Description = [[Spice frame for the Sun]],
- Hidden = true
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_SUN",
+ DestinationFrame = "GALACTIC"
}
+ },
+ GUI = {
+ Name = "SUN IAU",
+ Path = "/Solar System/Sun",
+ Description = [[Spice frame for the Sun]],
+ Hidden = true
+ }
}
local SunECLIPJ2000 = {
- Identifier = "SunECLIPJ2000",
- Parent = SolarSystemBarycenter.Identifier,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = "SUN",
- Observer = "SSB"
- },
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "ECLIPJ2000",
- DestinationFrame = "GALACTIC"
- }
+ Identifier = "SunECLIPJ2000",
+ Parent = SolarSystemBarycenter.Identifier,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = "SUN",
+ Observer = "SSB"
},
- GUI = {
- Name = "SUN J2000",
- Path = "/Solar System/Sun",
- Description = [[Spice rotation for Mean ecliptic and equinox of J2000]],
- Hidden = true
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "ECLIPJ2000",
+ DestinationFrame = "GALACTIC"
}
+ },
+ GUI = {
+ Name = "SUN J2000",
+ Path = "/Solar System/Sun",
+ Description = [[Spice rotation for Mean ecliptic and equinox of J2000]],
+ Hidden = true
+ }
}
assetHelper.registerSceneGraphNodesAndExport(asset, { SolarSystemBarycenter, SunIAU, SunECLIPJ2000 })
asset.meta = {
- Name = "Sun Transforms",
- Version = "1.0",
- Description = [[ Sun transforms: Solar System Barycenter, SUN IAU and
+ Name = "Sun Transforms",
+ Version = "1.0",
+ Description = [[ Sun transforms: Solar System Barycenter, SUN IAU and
SUN J2000]],
- Author = "OpenSpace Team",
- URL = "http://openspaceproject.com",
- License = "MIT license",
- Identifiers = {"SolarSystemBarycenter", "SunIAU", "SunECLIPJ2000"}
+ Author = "OpenSpace Team",
+ URL = "http://openspaceproject.com",
+ License = "MIT license",
+ Identifiers = {"SolarSystemBarycenter", "SunIAU", "SunECLIPJ2000"}
}
diff --git a/data/assets/spice/base.asset b/data/assets/spice/base.asset
index 2f4199a0d7..9a9f9a31e1 100644
--- a/data/assets/spice/base.asset
+++ b/data/assets/spice/base.asset
@@ -3,28 +3,28 @@ local assetHelper = asset.require("util/asset_helper")
local syncedDirectory = asset.syncedResource({
- Name = "General SPK Kernels",
- Type = "HttpSynchronization",
- Identifier = "general_spk",
- Version = 1
+ Name = "General SPK Kernels",
+ Type = "HttpSynchronization",
+ Identifier = "general_spk",
+ Version = 1
})
local kernels = {
- asset.localResource("naif0012.tls"),
- -- Leapseconds:
- asset.localResource("pck00010.tpc"),
- syncedDirectory .. "/de430_1850-2150.bsp"
+ asset.localResource("naif0012.tls"),
+ -- Leapseconds:
+ asset.localResource("pck00010.tpc"),
+ syncedDirectory .. "/de430_1850-2150.bsp"
}
assetHelper.registerSpiceKernels(asset, kernels)
asset.meta = {
- Name = "SPICE Base",
- Version = "1.0",
- Description = [[ This asset contains the spice base kernels. With positions
+ Name = "SPICE Base",
+ Version = "1.0",
+ Description = [[ This asset contains the spice base kernels. With positions
for Solar System bodies from 1850 to 2150]],
- Author = "OpenSpace Team",
- URL = "https://naif.jpl.nasa.gov/naif/data_generic.html",
- License = "NASA"
+ Author = "OpenSpace Team",
+ URL = "https://naif.jpl.nasa.gov/naif/data_generic.html",
+ License = "NASA"
}
diff --git a/data/assets/util/asset_helper.asset b/data/assets/util/asset_helper.asset
index e5cf1582e6..840f845b13 100644
--- a/data/assets/util/asset_helper.asset
+++ b/data/assets/util/asset_helper.asset
@@ -1,179 +1,179 @@
local tableLength = function(table)
- local count = 0
- for _ in pairs(table) do count = count + 1 end
- return count
+ local count = 0
+ for _ in pairs(table) do count = count + 1 end
+ return count
end
local registerSpiceKernels = function (spiceAsset, kernels)
- spiceAsset.onInitialize(function ()
- for i, kernel in ipairs(kernels) do
- openspace.spice.loadKernel(kernel)
- end
- end)
- spiceAsset.onDeinitialize(function ()
- for i = #kernels, 1, -1 do
- local kernel = kernels[i]
- openspace.spice.unloadKernel(kernel)
- end
- end)
+ spiceAsset.onInitialize(function ()
+ for i, kernel in ipairs(kernels) do
+ openspace.spice.loadKernel(kernel)
+ end
+ end)
+ spiceAsset.onDeinitialize(function ()
+ for i = #kernels, 1, -1 do
+ local kernel = kernels[i]
+ openspace.spice.unloadKernel(kernel)
+ end
+ end)
end
local registerSceneGraphNodes = function (sceneAsset, nodes, override)
- override = override or false
- if not override then
- if tableLength(nodes) == 0 then
- openspace.printWarning(sceneAsset.filePath .. ": Register function was called with an empty node list. Pass 'true' as third argument to silence this warning.")
- return
- end
+ override = override or false
+ if not override then
+ if tableLength(nodes) == 0 then
+ openspace.printWarning(sceneAsset.filePath .. ": Register function was called with an empty node list. Pass 'true' as third argument to silence this warning.")
+ return
end
+ end
- sceneAsset.onInitialize(function ()
- for i, node in ipairs(nodes) do
- openspace.addSceneGraphNode(node)
- end
- end)
- sceneAsset.onDeinitialize(function ()
- for i = #nodes, 1, -1 do
- node = nodes[i]
- openspace.removeSceneGraphNode(node.Identifier)
- end
- end)
+ sceneAsset.onInitialize(function ()
+ for i, node in ipairs(nodes) do
+ openspace.addSceneGraphNode(node)
+ end
+ end)
+ sceneAsset.onDeinitialize(function ()
+ for i = #nodes, 1, -1 do
+ node = nodes[i]
+ openspace.removeSceneGraphNode(node.Identifier)
+ end
+ end)
end
local registerScreenSpaceRenderables = function (sceneAsset, renderables, override)
- override = override or false
- if not override then
- if tableLength(renderables) == 0 then
- openspace.printWarning(sceneAsset.filePath .. ": Register function was called with an empty node list. Pass 'true' as third argument to silence this warning.")
- return
- end
+ override = override or false
+ if not override then
+ if tableLength(renderables) == 0 then
+ openspace.printWarning(sceneAsset.filePath .. ": Register function was called with an empty node list. Pass 'true' as third argument to silence this warning.")
+ return
end
+ end
- sceneAsset.onInitialize(function ()
- for i, node in ipairs(renderables) do
- openspace.addScreenSpaceRenderable(node)
- end
- end)
- sceneAsset.onDeinitialize(function ()
- for i = #renderables, 1, -1 do
- renderable = renderables[i]
- openspace.removeScreenSpaceRenderable(renderable.Identifier)
- end
- end)
+ sceneAsset.onInitialize(function ()
+ for i, node in ipairs(renderables) do
+ openspace.addScreenSpaceRenderable(node)
+ end
+ end)
+ sceneAsset.onDeinitialize(function ()
+ for i = #renderables, 1, -1 do
+ renderable = renderables[i]
+ openspace.removeScreenSpaceRenderable(renderable.Identifier)
+ end
+ end)
end
local registerDashboardItems = function (dashboardAsset, items)
- dashboardAsset.onInitialize(
- function ()
- for i, item in ipairs(items) do
- openspace.dashboard.addDashboardItem(item)
- end
- end
- )
- dashboardAsset.onDeinitialize(function ()
- for i = #items, 1, -1 do
- local item = items[i]
- openspace.dashboard.removeDashboardItem(item.Identifier)
- end
- end)
+ dashboardAsset.onInitialize(
+ function ()
+ for i, item in ipairs(items) do
+ openspace.dashboard.addDashboardItem(item)
+ end
+ end
+ )
+ dashboardAsset.onDeinitialize(function ()
+ for i = #items, 1, -1 do
+ local item = items[i]
+ openspace.dashboard.removeDashboardItem(item.Identifier)
+ end
+ end)
end
local registerSceneGraphNodesAndExport = function (sceneAsset, nodes, override)
- override = override or false
- if not override then
- if tableLength(nodes) == 0 then
- openspace.printWarning(sceneAsset.filePath .. ": Register function was called with an empty node list. Pass 'true' as third argument to silence this warning.")
- return
- end
+ override = override or false
+ if not override then
+ if tableLength(nodes) == 0 then
+ openspace.printWarning(sceneAsset.filePath .. ": Register function was called with an empty node list. Pass 'true' as third argument to silence this warning.")
+ return
end
+ end
+ for i, node in ipairs(nodes) do
+ if not node.Identifier then
+ openspace.printError("Could not load asset as Identifier was missing")
+ end
+ end
+
+ sceneAsset.onInitialize(function ()
for i, node in ipairs(nodes) do
- if not node.Identifier then
- openspace.printError("Could not load asset as Identifier was missing")
- end
+ openspace.addSceneGraphNode(node)
end
-
- sceneAsset.onInitialize(function ()
- for i, node in ipairs(nodes) do
- openspace.addSceneGraphNode(node)
- end
- end)
- sceneAsset.onDeinitialize(function ()
- for i = #nodes, 1, -1 do
- local node = nodes[i]
- openspace.removeSceneGraphNode(node.Identifier)
- end
- end)
-
- for i, node in ipairs(nodes) do
- sceneAsset.export(node.Identifier, node)
+ end)
+ sceneAsset.onDeinitialize(function ()
+ for i = #nodes, 1, -1 do
+ local node = nodes[i]
+ openspace.removeSceneGraphNode(node.Identifier)
end
+ end)
+
+ for i, node in ipairs(nodes) do
+ sceneAsset.export(node.Identifier, node)
+ end
end
local requireAll = function (sceneAsset, directory)
- function string.ends(String,End)
- return End=='' or string.sub(String,-string.len(End))==End
+ function string.ends(String,End)
+ return End=='' or string.sub(String,-string.len(End))==End
+ end
+
+ local result = {}
+
+ local files = openspace.walkDirectoryFiles(sceneAsset.localResource('') .. directory, true)
+ for _, file in pairs(files) do
+ if file:ends('.asset') then
+ openspace.printDebug("Requiring: " .. file:sub(file:find(directory), -7))
+ local exports = sceneAsset.require(file:sub(1, -7))
+ table.insert(result, exports)
end
+ end
- local result = {}
-
- local files = openspace.walkDirectoryFiles(sceneAsset.localResource('') .. directory, true)
- for _, file in pairs(files) do
- if file:ends('.asset') then
- openspace.printDebug("Requiring: " .. file:sub(file:find(directory), -7))
- local exports = sceneAsset.require(file:sub(1, -7))
- table.insert(result, exports)
- end
- end
-
- return result
+ return result
end
local getDefaultLightSources = function (solarSystemBarycenterIdentifier)
- local sourceList = {
- {
- Type = "SceneGraphLightSource",
- Identifier = "Sun",
- Node = solarSystemBarycenterIdentifier,
- Intensity = 1.0
- },
- {
- Identifier = "Camera",
- Type = "CameraLightSource",
- Intensity = 0.5
- }
+ local sourceList = {
+ {
+ Type = "SceneGraphLightSource",
+ Identifier = "Sun",
+ Node = solarSystemBarycenterIdentifier,
+ Intensity = 1.0
+ },
+ {
+ Identifier = "Camera",
+ Type = "CameraLightSource",
+ Intensity = 0.5
}
- return sourceList
+ }
+ return sourceList
end
local createModelPart = function (parent, sunLightSourceNode, models, geometry, texture, performShading)
- local lightSources = {}
- if performShading then
- lightSources[1] = {
- Type = "SceneGraphLightSource",
- Identifier = "Sun",
- Node = sunLightSourceNode,
- Intensity = 1.0
- }
- end
- return {
- Identifier = parent .. "-" .. geometry,
- Parent = parent,
- Renderable = {
- Type = "RenderableModel",
- GeometryFile = models .. "/" .. geometry .. ".obj",
- LightSources = lightSources,
- PerformShading = performShading,
- DisableFaceCulling = true
- },
- GUI = {
- Hidden = true
- }
+ local lightSources = {}
+ if performShading then
+ lightSources[1] = {
+ Type = "SceneGraphLightSource",
+ Identifier = "Sun",
+ Node = sunLightSourceNode,
+ Intensity = 1.0
}
+ end
+ return {
+ Identifier = parent .. "-" .. geometry,
+ Parent = parent,
+ Renderable = {
+ Type = "RenderableModel",
+ GeometryFile = models .. "/" .. geometry .. ".obj",
+ LightSources = lightSources,
+ PerformShading = performShading,
+ DisableFaceCulling = true
+ },
+ GUI = {
+ Hidden = true
+ }
+ }
end
asset.export("registerSceneGraphNodes", registerSceneGraphNodes)
diff --git a/data/assets/util/debug_helper.asset b/data/assets/util/debug_helper.asset
index 68b04f3197..6c75714d06 100644
--- a/data/assets/util/debug_helper.asset
+++ b/data/assets/util/debug_helper.asset
@@ -1,128 +1,120 @@
local identifierGeneratorFunction = function (suffix)
- local nextIndex = 0
- return function (specification)
- nextIndex = nextIndex + 1
- return specification.Identifier or
- (specification.Parent .. suffix .. nextIndex)
- end
+ local nextIndex = 0
+ return function (specification)
+ nextIndex = nextIndex + 1
+ return specification.Identifier or
+ (specification.Parent .. suffix .. nextIndex)
+ end
end
local generateGridIdentifier = identifierGeneratorFunction("Grid")
local addGrid = function (specification)
- local identifier = specification.Identifier or
- generateGridIdentifier(specification)
+ local identifier = specification.Identifier or generateGridIdentifier(specification)
- local name = specification.Name
- local color = specification.Color
- local parent = specification.Parent
- local scale = specification.Scale
- local position = specification.Position
- local rotation = specification.Rotation
+ local name = specification.Name
+ local color = specification.Color
+ local parent = specification.Parent
+ local scale = specification.Scale
+ local position = specification.Position
+ local rotation = specification.Rotation
- local grid = {
- Identifier = identifier,
- Parent = parent,
- Transform = {
- Scale = {
- Type = "StaticScale",
- Scale = scale;
- },
- Translation = {
- Type = "StaticTranslation",
- Position = position
- },
- Rotation = {
- Type = "StaticRotation",
- Rotation = rotation
- }
- },
- Renderable = {
- Type = "RenderableSphericalGrid",
- Enabled = true,
- LineWidth = 2.0,
- Color = color
- },
- GUI = {
- Name = name,
- Path = "/Other/Grids"
- }
+ local grid = {
+ Identifier = identifier,
+ Parent = parent,
+ Transform = {
+ Scale = {
+ Type = "StaticScale",
+ Scale = scale
+ },
+ Translation = {
+ Type = "StaticTranslation",
+ Position = position
+ },
+ Rotation = {
+ Type = "StaticRotation",
+ Rotation = rotation
+ }
+ },
+ Renderable = {
+ Type = "RenderableSphericalGrid",
+ Enabled = true,
+ LineWidth = 2.0,
+ Color = color
+ },
+ GUI = {
+ Name = name,
+ Path = "/Other/Grids"
}
- openspace.addSceneGraphNode(grid)
- return identifier;
+ }
+ openspace.addSceneGraphNode(grid)
+ return identifier;
end
local generateAxesIdentifier = identifierGeneratorFunction("Axes")
local addCartesianAxes = function (specification)
- local identifier = specification.Identifier or
- generateAxesIdentifier(specification)
+ local identifier = specification.Identifier or generateAxesIdentifier(specification)
- local name = specification.Name or specification.Identifier
- local parent = specification.Parent or "Root"
- local scale = specification.Scale or 1.0
- local position = specification.Position or { 0.0, 0.0, 0.0 }
- local rotation = specification.Rotation or { 0.0, 0.0, 0.0 }
+ local name = specification.Name or specification.Identifier
+ local parent = specification.Parent or "Root"
+ local scale = specification.Scale or 1.0
+ local position = specification.Position or { 0.0, 0.0, 0.0 }
+ local rotation = specification.Rotation or { 0.0, 0.0, 0.0 }
- local axes = {
- Identifier = identifier,
- Parent = parent,
- Transform = {
- Scale = {
- Type = "StaticScale",
- Scale = scale;
- },
- Translation = {
- Type = "StaticTranslation",
- Position = position
- },
- Rotation = {
- Type = "StaticRotation",
- Rotation = rotation
- }
- },
- Renderable = {
- Type = "RenderableCartesianAxes",
- Enabled = true,
- XColor = { 1.0, 0.0, 0.0 },
- YColor = { 0.0, 1.0, 0.0 },
- ZColor = { 0.0, 0.0, 1.0 }
- },
- GUI = {
- Name = name,
- Path = "/Other/Coordinate Systems"
- }
+ local axes = {
+ Identifier = identifier,
+ Parent = parent,
+ Transform = {
+ Scale = {
+ Type = "StaticScale",
+ Scale = scale
+ },
+ Translation = {
+ Type = "StaticTranslation",
+ Position = position
+ },
+ Rotation = {
+ Type = "StaticRotation",
+ Rotation = rotation
+ }
+ },
+ Renderable = {
+ Type = "RenderableCartesianAxes",
+ Enabled = true,
+ XColor = { 1.0, 0.0, 0.0 },
+ YColor = { 0.0, 1.0, 0.0 },
+ ZColor = { 0.0, 0.0, 1.0 }
+ },
+ GUI = {
+ Name = name,
+ Path = "/Other/Coordinate Systems"
}
- openspace.addSceneGraphNode(axes)
- return identifier;
+ }
+ openspace.addSceneGraphNode(axes)
+ return identifier;
end
-local registerNode = function(
- containerAsset,
- nodeCreationFunction,
- identifierGeneratorFunction,
- specification
-)
- local identifier = specification.Identifier or
- identifierGeneratorFunction(specification)
+local registerNode = function(containerAsset, nodeCreationFunction, identifierGeneratorFunction, specification)
+ local identifier = specification.Identifier or identifierGeneratorFunction(specification)
- specification.Identifier = identifier
+ specification.Identifier = identifier
- containerAsset.onInitialize(function ()
- nodeCreationFunction(specification)
- end)
- containerAsset.onDeinitialize(function ()
- openspace.removeSceneGraphNode(identifier)
- end)
+ containerAsset.onInitialize(function ()
+ nodeCreationFunction(specification)
+ end)
+ containerAsset.onDeinitialize(function ()
+ openspace.removeSceneGraphNode(identifier)
+ end)
end
local registerGrid = function(gridAsset, specification)
- registerNode(gridAsset, addGrid, generateGridIdentifier, specification)
+ registerNode(gridAsset, addGrid, generateGridIdentifier, specification)
end
local registerCartesianAxes = function(axesAsset, specification)
- registerNode(axesAsset, addCartesianAxes, generateAxesIdentifier, specification)
+ registerNode(axesAsset, addCartesianAxes, generateAxesIdentifier, specification)
end
asset.export("addGrid", addGrid)
@@ -130,4 +122,3 @@ asset.export("registerGrid", registerGrid)
asset.export("addCartesianAxes", addCartesianAxes)
asset.export("registerCartesianAxes", registerCartesianAxes)
-
diff --git a/data/assets/util/default_joystick.asset b/data/assets/util/default_joystick.asset
index 2c55c2dc42..e511364fff 100644
--- a/data/assets/util/default_joystick.asset
+++ b/data/assets/util/default_joystick.asset
@@ -17,49 +17,49 @@ local propertyHelper = asset.require('./property_helper')
local XBoxController = {
- LeftThumbStick = { 0 , 1 },
- RightThumbStick = { 2, 3 },
- LeftTrigger = 4,
- RightTrigger = 5,
- A = 0,
- B = 1,
- X = 2,
- Y = 3,
- LB = 4,
- RB = 5,
- Select = 6,
- Start = 7,
- LeftStick = 8,
- RightStick = 9,
- DPad = {
- Up = 10,
- Right = 11,
- Down = 12,
- Left = 13
- }
+ LeftThumbStick = { 0 , 1 },
+ RightThumbStick = { 2, 3 },
+ LeftTrigger = 4,
+ RightTrigger = 5,
+ A = 0,
+ B = 1,
+ X = 2,
+ Y = 3,
+ LB = 4,
+ RB = 5,
+ Select = 6,
+ Start = 7,
+ LeftStick = 8,
+ RightStick = 9,
+ DPad = {
+ Up = 10,
+ Right = 11,
+ Down = 12,
+ Left = 13
+ }
}
local PS4Controller = {
- LeftThumbStick = { 0 , 1 },
- RightThumbStick = { 2, 5 },
- LeftTrigger = 3,
- RightTrigger = 4,
- A = 3, -- Triangle
- B = 0, -- Square
- X = 2, -- Circle
- Y = 1, -- Cross
- LB = 4,
- RB = 5,
- Select = 9, -- options
- Start = 12, -- PS button
- LeftStick = 10,
- RightStick = 11,
- DPad = {
- Up = 14,
- Right = 15,
- Down = 16,
- Left = 17
- }
+ LeftThumbStick = { 0 , 1 },
+ RightThumbStick = { 2, 5 },
+ LeftTrigger = 3,
+ RightTrigger = 4,
+ A = 3, -- Triangle
+ B = 0, -- Square
+ X = 2, -- Circle
+ Y = 1, -- Cross
+ LB = 4,
+ RB = 5,
+ Select = 9, -- options
+ Start = 12, -- PS button
+ LeftStick = 10,
+ RightStick = 11,
+ DPad = {
+ Up = 14,
+ Right = 15,
+ Down = 16,
+ Left = 17
+ }
}
-- Variables to store the state of the joystick between frames
@@ -69,106 +69,106 @@ Joystick.State.IsInRollMode = false
Joystick.State.Axis = {}
local bindLocalRoll = function(axis)
-return [[
- -- We only want to store the current state in the first mode that is enabled, otherwise we will overwrite the backup
- if not Joystick.State.IsInRollMode then
- -- Save current axis state
- Joystick.State.Axis.Type, Joystick.State.Axis.Inverted, Joystick.State.Axis.Normalized = openspace.navigation.joystickAxis(]] .. axis .. [[)
- end
+ return [[
+ -- We only want to store the current state in the first mode that is enabled, otherwise we will overwrite the backup
+ if not Joystick.State.IsInRollMode then
+ -- Save current axis state
+ Joystick.State.Axis.Type, Joystick.State.Axis.Inverted, Joystick.State.Axis.Normalized = openspace.navigation.joystickAxis(]] .. axis .. [[)
+ end
- -- Set new axis state
- openspace.navigation.bindJoystickAxis(]] .. axis .. [[, "LocalRoll X", true);
- Joystick.State.IsInRollMode = true
- ]]
+ -- Set new axis state
+ openspace.navigation.bindJoystickAxis(]] .. axis .. [[, "LocalRoll X", true);
+ Joystick.State.IsInRollMode = true
+ ]]
end
local bindGlobalRoll = function(axis)
- return [[
- -- We only want to store the current state in the first mode that is enabled, otherwise we will overwrite the backup
- if not Joystick.State.IsInRollMode then
- -- Save current axis state
- Joystick.State.Axis.Type, Joystick.State.Axis.Inverted, Joystick.State.Axis.Normalized = openspace.navigation.joystickAxis(]] .. axis .. [[)
- end
+ return [[
+ -- We only want to store the current state in the first mode that is enabled, otherwise we will overwrite the backup
+ if not Joystick.State.IsInRollMode then
+ -- Save current axis state
+ Joystick.State.Axis.Type, Joystick.State.Axis.Inverted, Joystick.State.Axis.Normalized = openspace.navigation.joystickAxis(]] .. axis .. [[)
+ end
- -- Set new axis state
- openspace.navigation.bindJoystickAxis(]] .. axis .. [[, "GlobalRoll X", true);
- Joystick.State.IsInRollMode = true
- ]]
+ -- Set new axis state
+ openspace.navigation.bindJoystickAxis(]] .. axis .. [[, "GlobalRoll X", true);
+ Joystick.State.IsInRollMode = true
+ ]]
end
local unbindRoll = function(axis)
- return [[
- -- Reset previous state
- openspace.navigation.bindJoystickAxis(]] .. axis .. [[, Joystick.State.Axis.Type, Joystick.State.Axis.Inverted, Joystick.State.Axis.Normalized);
-]]
+ return [[
+ -- Reset previous state
+ openspace.navigation.bindJoystickAxis(]] .. axis .. [[, Joystick.State.Axis.Type, Joystick.State.Axis.Inverted, Joystick.State.Axis.Normalized);
+ ]]
end
asset.onInitialize(function()
- -- Set the controller to the connected controller
- -- Currently: XBoxController or PS4Controller
- local controller = XBoxController;
+ -- Set the controller to the connected controller
+ -- Currently: XBoxController or PS4Controller
+ local controller = XBoxController;
- openspace.navigation.setAxisDeadZone(controller.LeftThumbStick[1], 0.15)
- openspace.navigation.setAxisDeadZone(controller.LeftThumbStick[2], 0.15)
- openspace.navigation.setAxisDeadZone(controller.RightThumbStick[1], 0.15)
- openspace.navigation.setAxisDeadZone(controller.RightThumbStick[2], 0.15)
- openspace.navigation.setAxisDeadZone(controller.LeftTrigger, 0.15)
- openspace.navigation.setAxisDeadZone(controller.RightTrigger, 0.15)
+ openspace.navigation.setAxisDeadZone(controller.LeftThumbStick[1], 0.15)
+ openspace.navigation.setAxisDeadZone(controller.LeftThumbStick[2], 0.15)
+ openspace.navigation.setAxisDeadZone(controller.RightThumbStick[1], 0.15)
+ openspace.navigation.setAxisDeadZone(controller.RightThumbStick[2], 0.15)
+ openspace.navigation.setAxisDeadZone(controller.LeftTrigger, 0.15)
+ openspace.navigation.setAxisDeadZone(controller.RightTrigger, 0.15)
- openspace.navigation.bindJoystickAxis(controller.LeftThumbStick[1], "Orbit X");
- openspace.navigation.bindJoystickAxis(controller.LeftThumbStick[2], "Orbit Y", true);
- openspace.navigation.bindJoystickAxis(controller.RightThumbStick[1], "Pan X", true);
- openspace.navigation.bindJoystickAxis(controller.RightThumbStick[2], "Pan Y", true);
- openspace.navigation.bindJoystickAxis(controller.LeftTrigger, "Zoom Out", false, true);
- openspace.navigation.bindJoystickAxis(controller.RightTrigger, "Zoom In", false, true);
+ openspace.navigation.bindJoystickAxis(controller.LeftThumbStick[1], "Orbit X");
+ openspace.navigation.bindJoystickAxis(controller.LeftThumbStick[2], "Orbit Y", true);
+ openspace.navigation.bindJoystickAxis(controller.RightThumbStick[1], "Pan X", true);
+ openspace.navigation.bindJoystickAxis(controller.RightThumbStick[2], "Pan Y", true);
+ openspace.navigation.bindJoystickAxis(controller.LeftTrigger, "Zoom Out", false, true);
+ openspace.navigation.bindJoystickAxis(controller.RightTrigger, "Zoom In", false, true);
- openspace.navigation.bindJoystickButton(
- controller.LB,
- bindLocalRoll(controller.RightThumbStick[1]),
- "Switch to local roll mode"
- )
- openspace.navigation.bindJoystickButton(
- controller.LB,
- unbindRoll(controller.RightThumbStick[1]),
- "Switch back to normal mode",
- "Release"
- )
- openspace.navigation.bindJoystickButton(
- controller.RB,
- bindGlobalRoll(controller.RightThumbStick[1]),
- "Switch to global roll mode"
- )
- openspace.navigation.bindJoystickButton(
- controller.RB,
- unbindRoll(controller.RightThumbStick[1]),
- "Switch back to normal mode",
- "Release"
- )
+ openspace.navigation.bindJoystickButton(
+ controller.LB,
+ bindLocalRoll(controller.RightThumbStick[1]),
+ "Switch to local roll mode"
+ )
+ openspace.navigation.bindJoystickButton(
+ controller.LB,
+ unbindRoll(controller.RightThumbStick[1]),
+ "Switch back to normal mode",
+ "Release"
+ )
+ openspace.navigation.bindJoystickButton(
+ controller.RB,
+ bindGlobalRoll(controller.RightThumbStick[1]),
+ "Switch to global roll mode"
+ )
+ openspace.navigation.bindJoystickButton(
+ controller.RB,
+ unbindRoll(controller.RightThumbStick[1]),
+ "Switch back to normal mode",
+ "Release"
+ )
- openspace.navigation.bindJoystickButton(
- controller.A,
- propertyHelper.invert('NavigationHandler.OrbitalNavigator.Friction.ZoomFriction'),
- "Toggle zoom friction"
- )
- openspace.navigation.bindJoystickButton(
- controller.B,
- propertyHelper.invert('NavigationHandler.OrbitalNavigator.Friction.RotationalFriction'),
- "Toggle rotational friction"
- )
- openspace.navigation.bindJoystickButton(
- controller.DPad.Left,
- propertyHelper.invert('NavigationHandler.OrbitalNavigator.Friction.RollFriction'),
- "Toggle roll friction"
- )
+ openspace.navigation.bindJoystickButton(
+ controller.A,
+ propertyHelper.invert('NavigationHandler.OrbitalNavigator.Friction.ZoomFriction'),
+ "Toggle zoom friction"
+ )
+ openspace.navigation.bindJoystickButton(
+ controller.B,
+ propertyHelper.invert('NavigationHandler.OrbitalNavigator.Friction.RotationalFriction'),
+ "Toggle rotational friction"
+ )
+ openspace.navigation.bindJoystickButton(
+ controller.DPad.Left,
+ propertyHelper.invert('NavigationHandler.OrbitalNavigator.Friction.RollFriction'),
+ "Toggle roll friction"
+ )
- openspace.navigation.bindJoystickButton(
- controller.X,
- "openspace.setPropertyValue('NavigationHandler.Origin', 'Earth')",
- "Switch target to Earth"
- )
- openspace.navigation.bindJoystickButton(
- controller.Y,
- "openspace.setPropertyValue('NavigationHandler.Origin', 'Mars')",
- "Switch target to Mars"
- )
+ openspace.navigation.bindJoystickButton(
+ controller.X,
+ "openspace.setPropertyValue('NavigationHandler.Origin', 'Earth')",
+ "Switch target to Earth"
+ )
+ openspace.navigation.bindJoystickButton(
+ controller.Y,
+ "openspace.setPropertyValue('NavigationHandler.Origin', 'Mars')",
+ "Switch target to Mars"
+ )
end)
diff --git a/data/assets/util/default_keybindings.asset b/data/assets/util/default_keybindings.asset
index 57d90ddaa2..d178200ed0 100644
--- a/data/assets/util/default_keybindings.asset
+++ b/data/assets/util/default_keybindings.asset
@@ -2,154 +2,154 @@ local sceneHelper = asset.require('./scene_helper')
local propertyHelper = asset.require('./property_helper')
local Keybindings = {
- {
- Key = "F1",
- Name = "Show Native GUI",
- Command = propertyHelper.invert('Modules.ImGUI.Main.Enabled'),
- Documentation = "Shows or hides the native UI",
- GuiPath = "/Native GUI",
- Local = true
- },
- {
- Key = "ESC",
- Name = "Toggle Shutdown",
- Command = "openspace.toggleShutdown()",
- Documentation = "Toggles the shutdown that will stop OpenSpace after a grace period. Press again to cancel the shutdown during this period.",
- Local = true
- },
- {
- Key = "PRINT_SCREEN",
- Name = "Take Screenshot",
- Command = "openspace.takeScreenshot()",
- Documentation = "Saves the contents of the screen to a file in the ${SCREENSHOTS} directory.",
- GuiPath = "/Rendering",
- Local = true
- },
- {
- Key = "F12",
- Name = "Take Screenshot",
- Command = "openspace.takeScreenshot()",
- Documentation = "Saves the contents of the screen to a file in the ${SCREENSHOTS} directory.",
- GuiPath = "/Rendering",
- Local = true
- },
- {
- Key = "SPACE",
- Name = "Toggle Pause (Interpolated)",
- Command = "openspace.time.interpolateTogglePause()",
- Documentation = "Smoothly starts and stops the simulation time.",
- GuiPath = "/Simulation Speed",
- Local = true
- },
- {
- Key = "Shift+SPACE",
- Name = "Toggle Pause (Immediate)",
- Command = "openspace.time.togglePause()",
- Documentation = "Immediately starts and stops the simulation time.",
- GuiPath = "/Simulation Speed",
- Local = true
- },
- {
- Key = "f",
- Name = "Toggle Rotation friction",
- Command = propertyHelper.invert('NavigationHandler.OrbitalNavigator.Friction.RotationalFriction'),
- Documentation = "Toggles the rotational friction of the camera. If it is disabled, the camera rotates around the focus object indefinitely.",
- GuiPath = "/Navigation",
- Local = false
- },
- {
- Key = "Shift+f",
- Name = "Toggle Zoom Friction",
- Command = propertyHelper.invert('NavigationHandler.OrbitalNavigator.Friction.ZoomFriction'),
- Documentation = "Toggles the zoom friction of the camera. If it is disabled, the camera rises up from or closes in towards the focus object indefinitely.",
- GuiPath = "/Navigation",
- Local = false
- },
- {
- Key = "Ctrl+f",
- Name = "Toggle Roll Friction",
- Command = propertyHelper.invert('NavigationHandler.OrbitalNavigator.Friction.RollFriction'),
- Documentation = "Toggles the roll friction of the camera. If it is disabled, the camera rolls around its own axis indefinitely.",
- GuiPath = "/Navigation",
- Local = false
- },
- {
- Key = "w",
- Name = "Fade to/from black",
- Command = "if openspace.getPropertyValue('RenderEngine.BlackoutFactor') > 0.5 then openspace.setPropertyValueSingle('RenderEngine.BlackoutFactor', 0.0, 3) else openspace.setPropertyValueSingle('RenderEngine.BlackoutFactor', 1.0, 3) end",
- Documentation = "Toggles the fade to black within 3 seconds or shows the rendering after 3 seconds.",
- GuiPath = "/Rendering",
- Local = false
- },
- {
- Key = "Tab",
- Name = "Toggle main GUI",
- Command = propertyHelper.invert('Modules.CefWebGui.Visible'),
- Documentation = "Toggles the main GUI",
- GuiPath = "/GUI",
- Local = true
- },
- {
- Key = "Shift+Tab",
- Name = "Toggle dashboard and overlays",
- Command =
+ {
+ Key = "F1",
+ Name = "Show Native GUI",
+ Command = propertyHelper.invert('Modules.ImGUI.Main.Enabled'),
+ Documentation = "Shows or hides the native UI",
+ GuiPath = "/Native GUI",
+ Local = true
+ },
+ {
+ Key = "ESC",
+ Name = "Toggle Shutdown",
+ Command = "openspace.toggleShutdown()",
+ Documentation = "Toggles the shutdown that will stop OpenSpace after a grace period. Press again to cancel the shutdown during this period.",
+ Local = true
+ },
+ {
+ Key = "PRINT_SCREEN",
+ Name = "Take Screenshot",
+ Command = "openspace.takeScreenshot()",
+ Documentation = "Saves the contents of the screen to a file in the ${SCREENSHOTS} directory.",
+ GuiPath = "/Rendering",
+ Local = true
+ },
+ {
+ Key = "F12",
+ Name = "Take Screenshot",
+ Command = "openspace.takeScreenshot()",
+ Documentation = "Saves the contents of the screen to a file in the ${SCREENSHOTS} directory.",
+ GuiPath = "/Rendering",
+ Local = true
+ },
+ {
+ Key = "SPACE",
+ Name = "Toggle Pause (Interpolated)",
+ Command = "openspace.time.interpolateTogglePause()",
+ Documentation = "Smoothly starts and stops the simulation time.",
+ GuiPath = "/Simulation Speed",
+ Local = true
+ },
+ {
+ Key = "Shift+SPACE",
+ Name = "Toggle Pause (Immediate)",
+ Command = "openspace.time.togglePause()",
+ Documentation = "Immediately starts and stops the simulation time.",
+ GuiPath = "/Simulation Speed",
+ Local = true
+ },
+ {
+ Key = "f",
+ Name = "Toggle Rotation friction",
+ Command = propertyHelper.invert('NavigationHandler.OrbitalNavigator.Friction.RotationalFriction'),
+ Documentation = "Toggles the rotational friction of the camera. If it is disabled, the camera rotates around the focus object indefinitely.",
+ GuiPath = "/Navigation",
+ Local = false
+ },
+ {
+ Key = "Shift+f",
+ Name = "Toggle Zoom Friction",
+ Command = propertyHelper.invert('NavigationHandler.OrbitalNavigator.Friction.ZoomFriction'),
+ Documentation = "Toggles the zoom friction of the camera. If it is disabled, the camera rises up from or closes in towards the focus object indefinitely.",
+ GuiPath = "/Navigation",
+ Local = false
+ },
+ {
+ Key = "Ctrl+f",
+ Name = "Toggle Roll Friction",
+ Command = propertyHelper.invert('NavigationHandler.OrbitalNavigator.Friction.RollFriction'),
+ Documentation = "Toggles the roll friction of the camera. If it is disabled, the camera rolls around its own axis indefinitely.",
+ GuiPath = "/Navigation",
+ Local = false
+ },
+ {
+ Key = "w",
+ Name = "Fade to/from black",
+ Command = "if openspace.getPropertyValue('RenderEngine.BlackoutFactor') > 0.5 then openspace.setPropertyValueSingle('RenderEngine.BlackoutFactor', 0.0, 3) else openspace.setPropertyValueSingle('RenderEngine.BlackoutFactor', 1.0, 3) end",
+ Documentation = "Toggles the fade to black within 3 seconds or shows the rendering after 3 seconds.",
+ GuiPath = "/Rendering",
+ Local = false
+ },
+ {
+ Key = "Tab",
+ Name = "Toggle main GUI",
+ Command = propertyHelper.invert('Modules.CefWebGui.Visible'),
+ Documentation = "Toggles the main GUI",
+ GuiPath = "/GUI",
+ Local = true
+ },
+ {
+ Key = "Shift+Tab",
+ Name = "Toggle dashboard and overlays",
+ Command =
[[local isEnabled = openspace.getPropertyValue('Dashboard.IsEnabled');
openspace.setPropertyValueSingle('Dashboard.IsEnabled', not isEnabled);
openspace.setPropertyValueSingle("RenderEngine.ShowLog", not isEnabled);
openspace.setPropertyValueSingle("RenderEngine.ShowVersion", not isEnabled);
openspace.setPropertyValueSingle("RenderEngine.ShowCamera", not isEnabled)]],
- Documentation = "Toggles the dashboard and overlays",
- GuiPath = "/GUI",
- Local = true
- },
- {
- Key = "Alt+R",
- Name = "Toggle rendering on master",
- Command = propertyHelper.invert('RenderEngine.DisableMasterRendering'),
- Documentation = "Toggles the rendering on master",
- GuiPath = "/Rendering",
- Local = true
- },
- {
- Key = "Right",
- Name = "Next Delta Time Step (Interpolate)",
- Command = "openspace.time.interpolateNextDeltaTimeStep()",
- Documentation = "Smoothly interpolates the simulation speed to the next delta time step, if one exists.",
- GuiPath = "/Simulation Speed",
- Local = true
- },
- {
- Key = "Shift+Right",
- Name = "Next Delta Time Step (Immediate)",
- Command = "openspace.time.setNextDeltaTimeStep()",
- Documentation = "Immediately set the simulation speed to the next delta time step, if one exists.",
- GuiPath = "/Simulation Speed",
- Local = true
- },
- {
- Key = "Left",
- Name = "Previous Delta Time Step (Interpolate)",
- Command = "openspace.time.interpolatePreviousDeltaTimeStep()",
- Documentation = "Smoothly interpolates the simulation speed to the previous delta time step, if one exists.",
- GuiPath = "/Simulation Speed",
- Local = true
- },
- {
- Key = "Shift+Left",
- Name = "Previous Delta Time Step (Immediate)",
- Command = "openspace.time.setPreviousDeltaTimeStep()",
- Documentation = "Immediately set the simulation speed to the previous delta time step, if one exists.",
- GuiPath = "/Simulation Speed",
- Local = true
- }
+ Documentation = "Toggles the dashboard and overlays",
+ GuiPath = "/GUI",
+ Local = true
+ },
+ {
+ Key = "Alt+R",
+ Name = "Toggle rendering on master",
+ Command = propertyHelper.invert('RenderEngine.DisableMasterRendering'),
+ Documentation = "Toggles the rendering on master",
+ GuiPath = "/Rendering",
+ Local = true
+ },
+ {
+ Key = "Right",
+ Name = "Next Delta Time Step (Interpolate)",
+ Command = "openspace.time.interpolateNextDeltaTimeStep()",
+ Documentation = "Smoothly interpolates the simulation speed to the next delta time step, if one exists.",
+ GuiPath = "/Simulation Speed",
+ Local = true
+ },
+ {
+ Key = "Shift+Right",
+ Name = "Next Delta Time Step (Immediate)",
+ Command = "openspace.time.setNextDeltaTimeStep()",
+ Documentation = "Immediately set the simulation speed to the next delta time step, if one exists.",
+ GuiPath = "/Simulation Speed",
+ Local = true
+ },
+ {
+ Key = "Left",
+ Name = "Previous Delta Time Step (Interpolate)",
+ Command = "openspace.time.interpolatePreviousDeltaTimeStep()",
+ Documentation = "Smoothly interpolates the simulation speed to the previous delta time step, if one exists.",
+ GuiPath = "/Simulation Speed",
+ Local = true
+ },
+ {
+ Key = "Shift+Left",
+ Name = "Previous Delta Time Step (Immediate)",
+ Command = "openspace.time.setPreviousDeltaTimeStep()",
+ Documentation = "Immediately set the simulation speed to the previous delta time step, if one exists.",
+ GuiPath = "/Simulation Speed",
+ Local = true
+ }
}
asset.onInitialize(function()
- sceneHelper.bindKeys(Keybindings)
+ sceneHelper.bindKeys(Keybindings)
end)
asset.onDeinitialize(function ()
- sceneHelper.unbindKeys(Keybindings)
+ sceneHelper.unbindKeys(Keybindings)
end)
asset.export("DefaultKeybindings", Keybindings)
diff --git a/data/assets/util/generate_bookmarks.asset b/data/assets/util/generate_bookmarks.asset
index d17307d5a6..8736ef7d11 100644
--- a/data/assets/util/generate_bookmarks.asset
+++ b/data/assets/util/generate_bookmarks.asset
@@ -5,78 +5,78 @@ local getBookmarks = function (guiPath, bookmarkfile)
local notFirstLine = false;
local PARSEC_CONSTANT = 3.0856776E16;
for line in io.lines(openspace.absPath(bookmarkfile)) do
- if (notFirstLine) then
- local matchstring = '(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-)$'
- local group, name, globe, lat, lon, altitude, x, y, z, scale, linewidth = line:match(matchstring)
+ if (notFirstLine) then
+ local matchstring = '(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-)$'
+ local group, name, globe, lat, lon, altitude, x, y, z, scale, linewidth = line:match(matchstring)
- scale = (scale == '' and 75000 or scale)
- linewidth = (linewidth == '' and 2.0 or tonumber(linewidth))
- group = (group == '' and globe or group)
+ scale = (scale == '' and 75000 or scale)
+ linewidth = (linewidth == '' and 2.0 or tonumber(linewidth))
+ group = (group == '' and globe or group)
- local parent = (globe == '' and 'Root' or globe)
+ local parent = (globe == '' and 'Root' or globe)
- local sgn = {
- Identifier = guiPath .. '-' .. name,
- Parent = parent,
- Transform = {
- Scale = {
- Type = 'StaticScale',
- Scale = tonumber(scale);
- },
- Rotation = {
- Type = "StaticRotation",
- Rotation = {
- -0.05487554, 0.4941095, -0.8676661,
- -0.9938214 , -0.1109906, -0.0003515167,
- -0.09647644, 0.8622859, 0.4971472
- }
+ local sgn = {
+ Identifier = guiPath .. '-' .. name,
+ Parent = parent,
+ Transform = {
+ Scale = {
+ Type = 'StaticScale',
+ Scale = tonumber(scale);
+ },
+ Rotation = {
+ Type = "StaticRotation",
+ Rotation = {
+ -0.05487554, 0.4941095, -0.8676661,
+ -0.9938214 , -0.1109906, -0.0003515167,
+ -0.09647644, 0.8622859, 0.4971472
}
- },
- Renderable = {
- Type = 'RenderableSphericalGrid',
- Enabled = false,
- Opacity = 0.3,
- Color = { 0.3, 0.84, 1.0},
- LineWidth = linewidth
- },
- GUI = {
- Name = name,
- Path = '/' .. guiPath
+ }
+ },
+ Renderable = {
+ Type = 'RenderableSphericalGrid',
+ Enabled = false,
+ Opacity = 0.3,
+ Color = { 0.3, 0.84, 1.0},
+ LineWidth = linewidth
+ },
+ GUI = {
+ Name = name,
+ Path = '/' .. guiPath
+ }
+ }
+
+ if (group ~= '') then
+ sgn.GUI.Path = sgn.GUI.Path .. '/' .. group
+ end
+
+ if (globe == '') then
+ sgn.Transform.Translation = {
+ Type = 'StaticTranslation',
+ Position = {
+ tonumber(x) * PARSEC_CONSTANT,
+ tonumber(y) * PARSEC_CONSTANT,
+ tonumber(z) * PARSEC_CONSTANT
}
}
-
- if (group ~= '') then
- sgn.GUI.Path = sgn.GUI.Path .. '/' .. group
- end
-
- if (globe == '') then
- sgn.Transform.Translation = {
- Type = 'StaticTranslation',
- Position = {
- tonumber(x) * PARSEC_CONSTANT,
- tonumber(y) * PARSEC_CONSTANT,
- tonumber(z) * PARSEC_CONSTANT
- }
- }
- else
- sgn.Transform.Translation = {
- Type = 'GlobeTranslation',
- Globe = globe,
- Latitude = tonumber(lat),
- Longitude = tonumber(lon)
- }
- if (altitude == nil) then
- sgn.Transform.Translation.UseHeightMap = true;
- else
- sgn.Transform.Translation.UseHeightMap = false;
- sgn.Transform.Translation.Altitude = tonumber(altitude);
- end
- end
-
- table.insert(genBookmarks, sgn);
else
- notFirstLine = true
+ sgn.Transform.Translation = {
+ Type = 'GlobeTranslation',
+ Globe = globe,
+ Latitude = tonumber(lat),
+ Longitude = tonumber(lon)
+ }
+ if (altitude == nil) then
+ sgn.Transform.Translation.UseHeightMap = true;
+ else
+ sgn.Transform.Translation.UseHeightMap = false;
+ sgn.Transform.Translation.Altitude = tonumber(altitude);
+ end
end
+
+ table.insert(genBookmarks, sgn);
+ else
+ notFirstLine = true
+ end
end
return genBookmarks
end
diff --git a/data/assets/util/ipac.asset b/data/assets/util/ipac.asset
index 5d9140d4eb..223fbf47f9 100644
--- a/data/assets/util/ipac.asset
+++ b/data/assets/util/ipac.asset
@@ -1,18 +1,18 @@
asset.onInitialize(function()
- openspace.clearKeys()
- openspace.bindKey("RIGHT", "openspace.navigation.addGlobalRotation(-5.0, 0.0)");
- openspace.bindKey("LEFT", "openspace.navigation.addGlobalRotation(5.0, 0.0)");
- openspace.bindKey("UP", "openspace.navigation.addGlobalRotation(0.0, 5.0)");
- openspace.bindKey("DOWN", "openspace.navigation.addGlobalRotation(0.0, -5.0)");
+ openspace.clearKeys()
+ openspace.bindKey("RIGHT", "openspace.navigation.addGlobalRotation(-5.0, 0.0)");
+ openspace.bindKey("LEFT", "openspace.navigation.addGlobalRotation(5.0, 0.0)");
+ openspace.bindKey("UP", "openspace.navigation.addGlobalRotation(0.0, 5.0)");
+ openspace.bindKey("DOWN", "openspace.navigation.addGlobalRotation(0.0, -5.0)");
- openspace.bindKey("CTRL+RIGHT", "openspace.navigation.addLocalRotation(-5.0, 0.0)");
- openspace.bindKey("CTRL+LEFT", "openspace.navigation.addLocalRotation(5.0, 0.0)");
- openspace.bindKey("CTRL+UP", "openspace.navigation.addLocalRotation(0.0, 5.0)");
- openspace.bindKey("CTRL+DOWN", "openspace.navigation.addLocalRotation(0.0, -5.0)");
+ openspace.bindKey("CTRL+RIGHT", "openspace.navigation.addLocalRotation(-5.0, 0.0)");
+ openspace.bindKey("CTRL+LEFT", "openspace.navigation.addLocalRotation(5.0, 0.0)");
+ openspace.bindKey("CTRL+UP", "openspace.navigation.addLocalRotation(0.0, 5.0)");
+ openspace.bindKey("CTRL+DOWN", "openspace.navigation.addLocalRotation(0.0, -5.0)");
- openspace.bindKey("ALT+UP", "openspace.navigation.addTruckMovement(0.0, 5.0)");
- openspace.bindKey("ALT+DOWN", "openspace.navigation.addTruckMovement(0.0, -5.0)");
+ openspace.bindKey("ALT+UP", "openspace.navigation.addTruckMovement(0.0, 5.0)");
+ openspace.bindKey("ALT+DOWN", "openspace.navigation.addTruckMovement(0.0, -5.0)");
- openspace.bindKey("SPACE", "openspace.setPropertyValueSingle('NavigationHandler.OrbitalNavigator.Aim', '');openspace.setPropertyValueSingle('NavigationHandler.OrbitalNavigator.Anchor', 'Moon');openspace.setPropertyValueSingle('NavigationHandler.OrbitalNavigator.RetargetAnchor', nil);")
- openspace.bindKey("Z", "openspace.setPropertyValueSingle('NavigationHandler.OrbitalNavigator.Aim', '');openspace.setPropertyValueSingle('NavigationHandler.OrbitalNavigator.Anchor', 'Earth');openspace.setPropertyValueSingle('NavigationHandler.OrbitalNavigator.RetargetAnchor', nil);")
+ openspace.bindKey("SPACE", "openspace.setPropertyValueSingle('NavigationHandler.OrbitalNavigator.Aim', '');openspace.setPropertyValueSingle('NavigationHandler.OrbitalNavigator.Anchor', 'Moon');openspace.setPropertyValueSingle('NavigationHandler.OrbitalNavigator.RetargetAnchor', nil);")
+ openspace.bindKey("Z", "openspace.setPropertyValueSingle('NavigationHandler.OrbitalNavigator.Aim', '');openspace.setPropertyValueSingle('NavigationHandler.OrbitalNavigator.Anchor', 'Earth');openspace.setPropertyValueSingle('NavigationHandler.OrbitalNavigator.RetargetAnchor', nil);")
end)
diff --git a/data/assets/util/launcher_images.asset b/data/assets/util/launcher_images.asset
index 6db2ae994c..32098b0c64 100644
--- a/data/assets/util/launcher_images.asset
+++ b/data/assets/util/launcher_images.asset
@@ -1,7 +1,7 @@
local DataPath = asset.syncedResource({
- Name = "Launcher Images",
- Type = "HttpSynchronization",
- Identifier = "launcher_images",
- Version = 1
+ Name = "Launcher Images",
+ Type = "HttpSynchronization",
+ Identifier = "launcher_images",
+ Version = 1
})
asset.export("DataPath", DataPath)
diff --git a/data/assets/util/procedural_globe.asset b/data/assets/util/procedural_globe.asset
index 4c34de326a..282ffccf1f 100644
--- a/data/assets/util/procedural_globe.asset
+++ b/data/assets/util/procedural_globe.asset
@@ -2,119 +2,119 @@ asset.require('spice/base')
local createGlobeWithoutName = function(identifier, parent, parentSpiceName, spiceName,
radii, tags, trailTags, guiPath, trailColor, orbitPeriod, kernels)
- return {
- Identifier = identifier,
- Parent = parent,
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Target = spiceName,
- Observer = parentSpiceName,
- Kernels = kernels
- }
- },
- Renderable = {
- Type = "RenderableGlobe",
- Radii = radii,
- SegmentsPerPatch = 64,
- Layers = {},
- Tag = tags
- },
- GUI = {
- Path = guiPath
+ return {
+ Identifier = identifier,
+ Parent = parent,
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = spiceName,
+ Observer = parentSpiceName,
+ Kernels = kernels
}
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = radii,
+ SegmentsPerPatch = 64,
+ Layers = {},
+ Tag = tags
+ },
+ GUI = {
+ Path = guiPath
+ }
+ },
+ {
+ Identifier = identifier .. "Trail",
+ Parent = parent,
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Target = spiceName,
+ Observer = parentSpiceName
+ },
+ Color = trailColor,
+ Period = orbitPeriod,
+ Resolution = 1000,
+ Tag = trailTags,
},
- {
- Identifier = identifier .. "Trail",
- Parent = parent,
- Renderable = {
- Type = "RenderableTrailOrbit",
- Translation = {
- Type = "SpiceTranslation",
- Target = spiceName,
- Observer = parentSpiceName
- },
- Color = trailColor,
- Period = orbitPeriod,
- Resolution = 1000,
- Tag = trailTags,
- },
- GUI = {
- Path = guiPath
- }
+ GUI = {
+ Path = guiPath
}
+ }
end
local createGlobeWithName = function(identifier, name, parent, parentSpiceName, spiceName,
radii, tags, trailTags, guiPath, trailColor, orbitPeriod, kernels, layers)
- g, t = createGlobeWithoutName(identifier, parent, parentSpiceName, spiceName, radii,
- tags, trailTags, guiPath, trailColor, orbitPeriod, kernels, layers)
- g.GUI.Name = name
- t.GUI.Name = name .. " Trail"
+ g, t = createGlobeWithoutName(identifier, parent, parentSpiceName, spiceName, radii,
+ tags, trailTags, guiPath, trailColor, orbitPeriod, kernels, layers)
+ g.GUI.Name = name
+ t.GUI.Name = name .. " Trail"
- return g, t
+ return g, t
end
asset.export("createGlobeWithoutName", createGlobeWithoutName)
asset.export("createGlobeWithName", createGlobeWithName)
local createGlobes = function(t)
- for _,v in pairs(t) do
- if type(v) ~= "table" then
- local warning = "The table passed to 'createGlobes' was not a table of tables"
- openspace.printWarning(warning)
- -- We return an empty table of tables to silence a potential future warning
- return {{}}
- end
+ for _,v in pairs(t) do
+ if type(v) ~= "table" then
+ local warning = "The table passed to 'createGlobes' was not a table of tables"
+ openspace.printWarning(warning)
+ -- We return an empty table of tables to silence a potential future warning
+ return {{}}
+ end
+ end
+
+ local result = {}
+
+ for i, v in ipairs(t) do
+ local globe = nil
+ local trail = nil
+ if not v.Layers then
+ v.Layers = {}
+ end
+ if not v.TrailTags then
+ v.TrailTags = {}
+ end
+ if v.Name then
+ globe, trail = createGlobeWithName(
+ v.Identifier,
+ v.GUI.Name,
+ v.Parent.Identifier,
+ v.Parent.Spice,
+ v.Spice,
+ v.Radii,
+ v.Tags,
+ v.TrailTags,
+ v.GUI.Path,
+ v.TrailColor,
+ v.OrbitPeriod,
+ v.Kernels,
+ v.Layers
+ )
+ else
+ globe, trail = createGlobeWithoutName(
+ v.Identifier,
+ v.Parent.Identifier,
+ v.Parent.Spice,
+ v.Spice,
+ v.Radii,
+ v.Tags,
+ v.TrailTags,
+ v.GUI.Path,
+ v.TrailColor,
+ v.OrbitPeriod,
+ v.Kernels,
+ v.Layers
+ )
end
- local result = {}
-
- for i, v in ipairs(t) do
- local globe = nil
- local trail = nil
- if not v.Layers then
- v.Layers = {}
- end
- if not v.TrailTags then
- v.TrailTags = {}
- end
- if v.Name then
- globe, trail = createGlobeWithName(
- v.Identifier,
- v.GUI.Name,
- v.Parent.Identifier,
- v.Parent.Spice,
- v.Spice,
- v.Radii,
- v.Tags,
- v.TrailTags,
- v.GUI.Path,
- v.TrailColor,
- v.OrbitPeriod,
- v.Kernels,
- v.Layers
- )
- else
- globe, trail = createGlobeWithoutName(
- v.Identifier,
- v.Parent.Identifier,
- v.Parent.Spice,
- v.Spice,
- v.Radii,
- v.Tags,
- v.TrailTags,
- v.GUI.Path,
- v.TrailColor,
- v.OrbitPeriod,
- v.Kernels,
- v.Layers
- )
- end
-
- table.insert(result, globe)
- table.insert(result, trail)
- end
- return result
+ table.insert(result, globe)
+ table.insert(result, trail)
+ end
+ return result
end
asset.export("createGlobes", createGlobes)
diff --git a/data/assets/util/property_helper.asset b/data/assets/util/property_helper.asset
index 50feeeb5d3..0c13e098de 100644
--- a/data/assets/util/property_helper.asset
+++ b/data/assets/util/property_helper.asset
@@ -1,44 +1,44 @@
-- Function that returns the string that inverts the fully qualified boolean property 'property'
local invert = function(prop)
- local escaped_property = "'" .. prop .. "'"
- return "openspace.setPropertyValueSingle(" .. escaped_property .. ", not openspace.getPropertyValue(" .. escaped_property .. "));"
+ local escaped_property = "'" .. prop .. "'"
+ return "openspace.setPropertyValueSingle(" .. escaped_property .. ", not openspace.getPropertyValue(" .. escaped_property .. "));"
end
-- Function that returns the string that increments the 'property' by the 'value'
local increment = function(prop, value)
- local v = value or 1
- local escaped_property = "'" .. prop .. "'"
- return "openspace.setPropertyValueSingle(" .. escaped_property .. ", openspace.getPropertyValue(" .. escaped_property .. ") + " .. v .. ");"
+ local v = value or 1
+ local escaped_property = "'" .. prop .. "'"
+ return "openspace.setPropertyValueSingle(" .. escaped_property .. ", openspace.getPropertyValue(" .. escaped_property .. ") + " .. v .. ");"
end
-- Function that returns the string that decrements the 'property' by the 'value'
local decrement = function(prop, value)
- return increment(prop, -value)
+ return increment(prop, -value)
end
local fade = function(prop, value, duration)
- assert(type(prop) == "string", "prop must be a number")
- assert(type(duration) == "number", "duration must be a number")
+ assert(type(prop) == "string", "prop must be a number")
+ assert(type(duration) == "number", "duration must be a number")
- local escaped_property = "'" .. prop .. "'"
- return "openspace.setPropertyValueSingle(" .. escaped_property ..", " .. tostring(value) .. ", " .. tostring(duration) .. ")"
+ local escaped_property = "'" .. prop .. "'"
+ return "openspace.setPropertyValueSingle(" .. escaped_property ..", " .. tostring(value) .. ", " .. tostring(duration) .. ")"
end
local fadeOut = function(prop, duration)
- return fade(prop, 0.0, duration)
+ return fade(prop, 0.0, duration)
end
local fadeIn = function(prop, duration)
- return fade(prop, 1.0, duration)
+ return fade(prop, 1.0, duration)
end
local fadeInOut = function(prop, duration)
- assert(type(prop) == "string", "prop must be a number")
- assert(type(duration) == "number", "duration must be a number")
+ assert(type(prop) == "string", "prop must be a number")
+ assert(type(duration) == "number", "duration must be a number")
- local escaped_property = "'" .. prop .. "'"
- -- If the value is > 0.5 fade out, otherwise fade in
- return "local v = openspace.getPropertyValue(" .. escaped_property .. "); if v <= 0.5 then " .. fadeIn(prop, duration) .. " else " .. fadeOut(prop, duration) .. " end"
+ local escaped_property = "'" .. prop .. "'"
+ -- If the value is > 0.5 fade out, otherwise fade in
+ return "local v = openspace.getPropertyValue(" .. escaped_property .. "); if v <= 0.5 then " .. fadeIn(prop, duration) .. " else " .. fadeOut(prop, duration) .. " end"
end
asset.export('invert', invert)
diff --git a/data/assets/util/renderable_helper.asset b/data/assets/util/renderable_helper.asset
index 31ef99a3df..90e04e9c7f 100644
--- a/data/assets/util/renderable_helper.asset
+++ b/data/assets/util/renderable_helper.asset
@@ -2,12 +2,12 @@ local propertyHelper = asset.require('./property_helper')
-- Function that returns the string that enables/disables the renderable 'renderable'
local toggle = function(renderable)
- return propertyHelper.invert(renderable .. ".Renderable.Enabled")
+ return propertyHelper.invert(renderable .. ".Renderable.Enabled")
end
-- Function that returns the string that sets the enabled property of to
local setEnabled = function(renderable, enabled)
- return "openspace.setPropertyValue('" .. renderable .. ".Renderable.Enabled', " .. (enabled and "true" or "false") .. ");";
+ return "openspace.setPropertyValue('" .. renderable .. ".Renderable.Enabled', " .. (enabled and "true" or "false") .. ");";
end
diff --git a/data/assets/util/scene_helper.asset b/data/assets/util/scene_helper.asset
index 47540c3779..89f6c88a4c 100644
--- a/data/assets/util/scene_helper.asset
+++ b/data/assets/util/scene_helper.asset
@@ -1,108 +1,108 @@
local bindKeys = function(t, ignoreWarning)
- ignoreWarning = ignoreWarning or false
- for _, k in ipairs(t) do
- assert(k.Key, 'No key provided')
- assert(k.Command, 'No command provided for key ' .. k.Key)
+ ignoreWarning = ignoreWarning or false
+ for _, k in ipairs(t) do
+ assert(k.Key, 'No key provided')
+ assert(k.Command, 'No command provided for key ' .. k.Key)
- k.Name = k.Name or k.Key
- k.GuiPath = k.GuiPath or ''
+ k.Name = k.Name or k.Key
+ k.GuiPath = k.GuiPath or ''
- local currentKey = openspace.getKeyBinding(k.Key)
- if (next(currentKey) ~= nil) and (not ignoreWarning) then
- openspace.printWarning('New keybind for "' .. k.Key .. '" is added, but a previous keybind already existed. If you want to silence this warning, pass "true", to this call to bindKeys')
- end
-
- if k.Local then
- openspace.bindKeyLocal(k.Key, k.Command, k.Documentation, k.Name, k.GuiPath)
- else
- openspace.bindKey(k.Key, k.Command, k.Documentation, k.Name, k.GuiPath)
- end
+ local currentKey = openspace.getKeyBinding(k.Key)
+ if (next(currentKey) ~= nil) and (not ignoreWarning) then
+ openspace.printWarning('New keybind for "' .. k.Key .. '" is added, but a previous keybind already existed. If you want to silence this warning, pass "true", to this call to bindKeys')
end
+
+ if k.Local then
+ openspace.bindKeyLocal(k.Key, k.Command, k.Documentation, k.Name, k.GuiPath)
+ else
+ openspace.bindKey(k.Key, k.Command, k.Documentation, k.Name, k.GuiPath)
+ end
+ end
end
asset.export("bindKeys", bindKeys)
local unbindKeys = function(keys)
- -- We check against k and k.Key to provide compatability
- -- for both calls with the same table that goes to bindKeys
- -- as well as the return values from setDeltaTimeKeys
- for _, k in ipairs(keys) do
- openspace.clearKey(k.Key or k)
- end
+ -- We check against k and k.Key to provide compatability
+ -- for both calls with the same table that goes to bindKeys
+ -- as well as the return values from setDeltaTimeKeys
+ for _, k in ipairs(keys) do
+ openspace.clearKey(k.Key or k)
+ end
end
asset.export("unbindKeys", unbindKeys)
--shortcut function
local function has_value (tab, val)
- for index, value in ipairs(tab) do
- -- We grab the first index of our sub-table instead
- if value[1] == val then
- return true
- end
+ for index, value in ipairs(tab) do
+ -- We grab the first index of our sub-table instead
+ if value[1] == val then
+ return true
end
+ end
- return false
+ return false
end
local extractShortcuts = function(names, shortcuts)
- local foundShortcuts = {};
+ local foundShortcuts = {};
- if type(names) ~= "table" then
- openspace.printWarning("scene_helper.extractShortcuts invalid paramater names (not Table)")
+ if type(names) ~= "table" then
+ openspace.printWarning("scene_helper.extractShortcuts invalid paramater names (not Table)")
+ end
+
+ if type(shortcuts) ~= "table" then
+ openspace.printWarning("scene_helper.extractShortcuts invalid paramater shortcuts (not Table)")
+ end
+
+ for _, shortcut in ipairs(shortcuts) do
+ for _, name in ipairs(names ) do
+ if (shortcut.Name == name) then
+ foundShortcuts[#foundShortcuts+1] = shortcut
+ end
end
+ end
- if type(shortcuts) ~= "table" then
- openspace.printWarning("scene_helper.extractShortcuts invalid paramater shortcuts (not Table)")
- end
-
- for _, shortcut in ipairs(shortcuts) do
- for _, name in ipairs(names ) do
- if (shortcut.Name == name) then
- foundShortcuts[#foundShortcuts+1] = shortcut
- end
- end
- end
-
- return foundShortcuts
+ return foundShortcuts
end
asset.export("extractShortcuts", extractShortcuts)
local createKeyBindFromShortcuts = function(key, shortcuts, guipath, title, documentation)
- if type(key) ~= "string" then
- openspace.printWarning("scene_helper.createKeyBindFromShortcuts invalid paramater key (not String)")
+ if type(key) ~= "string" then
+ openspace.printWarning("scene_helper.createKeyBindFromShortcuts invalid paramater key (not String)")
+ end
+
+ if type(shortcuts) ~= "table" or #shortcuts == 0 then
+ openspace.printWarning("scene_helper.createKeyBindFromShortcuts invalid paramater shortcuts (not Table or empty)")
+ end
+
+ -- if type(guipath) ~= "string" then
+ -- guipath = shortcuts[0].GuiPath
+ -- end
+
+ local concatTitle = type(title) ~= "string"
+ local concatDocumentation = type(documentation) ~= "string"
+
+ local keybind = {
+ Key = key,
+ Command = "",
+ Name = name or "",
+ Documentation = documentation or "",
+ GuiPath = guipath or "",
+ Local = false
+ }
+
+ for _, shortcut in ipairs(shortcuts) do
+ keybind.Command = keybind.Command .. shortcut.Command
+ if concatTitle then
+ keybind.Name = keybind.Name .. "/" .. shortcut.Name
+ end
+ if concatDocumentation then
+ keybind.Documentation = keybind.Documentation .. "," .. shortcut.Documentation
end
- if type(shortcuts) ~= "table" or #shortcuts == 0 then
- openspace.printWarning("scene_helper.createKeyBindFromShortcuts invalid paramater shortcuts (not Table or empty)")
- end
+ keybind.Local = keybind.Local and shortcut.Local
+ end
- -- if type(guipath) ~= "string" then
- -- guipath = shortcuts[0].GuiPath
- -- end
-
- local concatTitle = type(title) ~= "string"
- local concatDocumentation = type(documentation) ~= "string"
-
- local keybind = {
- Key = key,
- Command = "",
- Name = name or "",
- Documentation = documentation or "",
- GuiPath = guipath or "",
- Local = false
- }
-
- for _, shortcut in ipairs(shortcuts) do
- keybind.Command = keybind.Command .. shortcut.Command
- if concatTitle then
- keybind.Name = keybind.Name .. "/" .. shortcut.Name
- end
- if concatDocumentation then
- keybind.Documentation = keybind.Documentation .. "," .. shortcut.Documentation
- end
-
- keybind.Local = keybind.Local and shortcut.Local
- end
-
- return keybind
+ return keybind
end
asset.export("createKeyBindFromShortcuts", createKeyBindFromShortcuts)
diff --git a/data/assets/util/screenshots_endpoint.asset b/data/assets/util/screenshots_endpoint.asset
index 40a58e0277..2381816e42 100644
--- a/data/assets/util/screenshots_endpoint.asset
+++ b/data/assets/util/screenshots_endpoint.asset
@@ -1,21 +1,21 @@
asset.onInitialize(function ()
- -- Disable the server, add production gui endpoint, and restart server.
- -- The temporary disabling avoids restarting the server on each property change.
- -- TODO: Add a trigger property to the module to restart the server "manually"
- -- and remove automatic restart on each property change,
- -- since frequent restarting seems to be unstable on mac.
+ -- Disable the server, add production gui endpoint, and restart server.
+ -- The temporary disabling avoids restarting the server on each property change.
+ -- TODO: Add a trigger property to the module to restart the server "manually"
+ -- and remove automatic restart on each property change,
+ -- since frequent restarting seems to be unstable on mac.
- local enabled = openspace.getPropertyValue("Modules.WebGui.ServerProcessEnabled")
- openspace.setPropertyValueSingle("Modules.WebGui.ServerProcessEnabled", false)
+ local enabled = openspace.getPropertyValue("Modules.WebGui.ServerProcessEnabled")
+ openspace.setPropertyValueSingle("Modules.WebGui.ServerProcessEnabled", false)
- local directories = openspace.getPropertyValue("Modules.WebGui.Directories")
- directories[#directories + 1] = "screenshots"
- directories[#directories + 1] = "${SCREENSHOTS}"
- openspace.setPropertyValueSingle("Modules.WebGui.Directories", directories)
- openspace.setPropertyValueSingle("Modules.WebGui.ServerProcessEnabled", enabled)
+ local directories = openspace.getPropertyValue("Modules.WebGui.Directories")
+ directories[#directories + 1] = "screenshots"
+ directories[#directories + 1] = "${SCREENSHOTS}"
+ openspace.setPropertyValueSingle("Modules.WebGui.Directories", directories)
+ openspace.setPropertyValueSingle("Modules.WebGui.ServerProcessEnabled", enabled)
end)
asset.onDeinitialize(function ()
- -- TODO: Remove endpoints. As of 2019-10-29, OpenSpace sometimes
- -- crashes when endpoints are removed while the application is closing.
+ -- TODO: Remove endpoints. As of 2019-10-29, OpenSpace sometimes
+ -- crashes when endpoints are removed while the application is closing.
end)
diff --git a/data/assets/util/script_scheduler_helper.asset b/data/assets/util/script_scheduler_helper.asset
index 4a3727b9b3..e3740daac3 100644
--- a/data/assets/util/script_scheduler_helper.asset
+++ b/data/assets/util/script_scheduler_helper.asset
@@ -3,21 +3,21 @@ local renderableHelper = asset.require('./renderable_helper')
-- Function that schedules scripts setting the enabled property
-- of to at time