Files
OpenSpace/data/scene/mercury/mercury.mod
Alexander Bock bb5f4d4381 Rename GuiGrouping to GuiPath
Add GuiPath to existing scenegraph nodes
Add option to toggle tree representation
Add caption font to UI
2017-10-13 13:08:59 -04:00

80 lines
2.5 KiB
Modula-2

return {
-- Barycenter module
{
Name = "MercuryBarycenter",
Parent = "SolarSystemBarycenter",
Transform = {
Translation = {
Type = "SpiceTranslation",
Target = "MERCURY",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
}
},
GuiPath = "/Solar System/Planets/Mercury"
},
-- RenderableGlobe module
{
Name = "Mercury",
Parent = "MercuryBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_MERCURY",
DestinationFrame = "GALACTIC"
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = 2439700,
Frame = "IAU_MERCURY",
Body = "MERCURY",
CameraMinHeight = 300,
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
-- University of Utah based servers
{
Name = "Messenger MDIS [Utah]",
FilePath = "map_service_configs/Utah/MessengerMDIS.wms",
Enabled = true
},
{
Name = "Messenger Mosaic [Utah]",
FilePath = "map_service_configs/Utah/MessengerMosaic.wms"
},
-- AWS based servers
{
Name = "Messenger MDIS [AWS]",
FilePath = "map_service_configs/AWS/MessengerMdis.wms",
},
{
Name = "Messenger Mosaic [AWS]",
FilePath = "map_service_configs/AWS/MessengerMosaic.wms",
}
}
}
},
Tag = { "planet_solarSystem", "planet_terrestrial" },
GuiPath = "/Solar System/Planets/Mercury"
},
-- Trail module
{
Name = "MercuryTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Target = "MERCURY",
Observer = "SUN",
},
Color = {0.6, 0.5, 0.5 },
Period = 87.968,
Resolution = 100
},
Tag = { "planetTrail_solarSystem", "planetTrail_terrestrial" },
GuiPath = "/Solar System/Planets/Mercury"
}
}