mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-24 13:09:22 -06:00
95 lines
3.1 KiB
Modula-2
95 lines
3.1 KiB
Modula-2
return {
|
|
-- Moon module
|
|
{
|
|
Name = "Moon",
|
|
Parent = "EarthBarycenter",
|
|
Transform = {
|
|
Translation = {
|
|
Type = "SpiceTranslation",
|
|
Target = "MOON",
|
|
Observer = "EARTH BARYCENTER",
|
|
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
|
},
|
|
Rotation = {
|
|
Type = "SpiceRotation",
|
|
SourceFrame = "IAU_MOON",
|
|
DestinationFrame = "GALACTIC"
|
|
}
|
|
},
|
|
Renderable = {
|
|
Type = "RenderableGlobe",
|
|
Radii = 1738140,
|
|
SegmentsPerPatch = 64,
|
|
Layers = {
|
|
ColorLayers = {
|
|
-- MoonTrek based servers
|
|
{
|
|
Name = "Apollo 16 Metric Cam Image Mosaic",
|
|
FilePath = "map_service_configs/MoonTrek/Apollo16_Metric_Cam_Image_Mosaic.wms"
|
|
},
|
|
-- Utah based servers
|
|
{
|
|
Name = "ClemUvvis",
|
|
FilePath = "map_service_configs/Utah/ClemUvvis.wms"
|
|
},
|
|
{
|
|
Name = "Kaguya",
|
|
FilePath = "map_service_configs/Utah/Kaguya.wms"
|
|
},
|
|
{
|
|
Name = "WAC Utah",
|
|
FilePath = "map_service_configs/Utah/Wac.wms",
|
|
Enabled = true
|
|
}
|
|
},
|
|
HeightLayers = {
|
|
-- LMMP based servers
|
|
-- {
|
|
-- Name = "Lunar Elevation [OnMoon]",
|
|
-- FilePath = "map_service_configs/OnMoonHeight.xml",
|
|
-- Enabled = true,
|
|
-- TilePixelSize = 64,
|
|
-- -- Settings = { Multiplier = 0.5 },
|
|
-- },
|
|
-- Utah based servers
|
|
{
|
|
Name = "LolaDem",
|
|
FilePath = "map_service_configs/Utah/LolaDem.wms",
|
|
Enabled = true,
|
|
TilePixelSize = 64,
|
|
Settings = { Multiplier = 0.5 },
|
|
}
|
|
}
|
|
},
|
|
ShadowGroup = {
|
|
Source1 = {
|
|
Name = "Sun",
|
|
Radius = 696.3E6,
|
|
},
|
|
Caster1 = {
|
|
Name = "Earth",
|
|
Radius = 6.371E6,
|
|
},
|
|
},
|
|
},
|
|
GuiPath = "/Solar System/Planets/Earth/Moon"
|
|
},
|
|
-- MoonTrail module
|
|
{
|
|
Name = "MoonTrail",
|
|
Parent = "EarthBarycenter",
|
|
Renderable = {
|
|
Type = "RenderableTrailOrbit",
|
|
Translation = {
|
|
Type = "SpiceTranslation",
|
|
Target = "MOON",
|
|
Observer = "EARTH BARYCENTER"
|
|
},
|
|
Color = { 0.5, 0.3, 0.3 },
|
|
Period = 27,
|
|
Resolution = 1000
|
|
},
|
|
GuiPath = "/Solar System/Planets/Earth/Moon"
|
|
}
|
|
}
|