mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-08 20:49:53 -06:00
- Remove some power scaled coordaintes. - Remove spice dependency from sphere geometry. - Remove dead code.
69 lines
1.9 KiB
Modula-2
69 lines
1.9 KiB
Modula-2
return {
|
|
-- Mars barycenter module
|
|
{
|
|
Name = "MarsBarycenter",
|
|
Parent = "SolarSystemBarycenter",
|
|
Transform = {
|
|
Translation = {
|
|
Type = "SpiceTranslation",
|
|
Body = "MARS BARYCENTER",
|
|
Observer = "SUN",
|
|
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
|
}
|
|
}
|
|
},
|
|
-- Mars module
|
|
{
|
|
Name = "Mars",
|
|
Parent = "MarsBarycenter",
|
|
Renderable = {
|
|
Type = "RenderablePlanet",
|
|
Frame = "IAU_MARS",
|
|
Body = "MARS BARYCENTER",
|
|
Geometry = {
|
|
Type = "SimpleSphere",
|
|
Radius = 6.390E6,
|
|
Segments = 100
|
|
},
|
|
Textures = {
|
|
Type = "simple",
|
|
Color = "textures/mars.jpg",
|
|
},
|
|
Atmosphere = {
|
|
Type = "Nishita", -- for example, values missing etc etc
|
|
MieFactor = 1.0,
|
|
MieColor = {1.0, 1.0, 1.0}
|
|
}
|
|
},
|
|
Tag = {"planet_solarSystem", "planet_terrestrial"},
|
|
Transform = {
|
|
Rotation = {
|
|
Type = "SpiceRotation",
|
|
SourceFrame = "IAU_MARS",
|
|
DestinationFrame = "GALACTIC",
|
|
},
|
|
Scale = {
|
|
Type = "StaticScale",
|
|
Scale = 1,
|
|
},
|
|
}
|
|
},
|
|
-- MarsTrail module
|
|
{
|
|
Name = "MarsTrail",
|
|
Parent = "SolarSystemBarycenter",
|
|
Renderable = {
|
|
Type = "RenderableTrailOrbit",
|
|
Translation = {
|
|
Type = "SpiceTranslation",
|
|
Body = "MARS BARYCENTER",
|
|
Observer = "SUN",
|
|
},
|
|
Color = { 0.814, 0.305, 0.220 },
|
|
Period = 686.973,
|
|
Resolution = 1000,
|
|
Tag = {"planetTrail_solarSystem", "planetTrail_terrestrial"}
|
|
}
|
|
}
|
|
}
|