Files
OpenSpace/data/scene/mercury/mercury.mod

67 lines
1.8 KiB
Modula-2

return {
-- Mercury barycenter module
{
Name = "MercuryBarycenter",
Parent = "SolarSystemBarycenter",
Ephemeris = {
Type = "Static"
}
},
-- Mercury module
{
Name = "Mercury",
Parent = "MercuryBarycenter",
Renderable = {
Type = "RenderablePlanet",
Frame = "IAU_MERCURY",
Body = "MERCURY",
Geometry = {
Type = "SimpleSphere",
Radius = { 2.440, 6 },
Segments = 100
},
Textures = {
Type = "simple",
Color = "textures/mercury.jpg",
},
},
Ephemeris = {
Type = "Spice",
Body = "MERCURY",
Reference = "ECLIPJ2000",
Observer = "SUN",
Kernels = {
"${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
}
},
Rotation = {
Type = "Spice",
Frame = "IAU_MERCURY",
Reference = "ECLIPJ2000"
},
GuiName = "/Solar/Planets/Mercury"
},
-- MercuryTrail module
{
Name = "MercuryTrail",
Parent = "MercuryBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "MERCURY",
Frame = "GALACTIC",
Observer = "SUN",
RGB = {0.6, 0.5, 0.5 },
TropicalOrbitPeriod = 87.968 ,
EarthOrbitRatio = 0.241,
DayLength = 4222.6,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
},
GuiName = "/Solar/MercuryTrail"
}
}