mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
67 lines
1.8 KiB
Modula-2
67 lines
1.8 KiB
Modula-2
return {
|
|
-- Saturn barycenter module
|
|
{
|
|
Name = "SaturnBarycenter",
|
|
Parent = "SolarSystemBarycenter",
|
|
Ephemeris = {
|
|
Type = "Static"
|
|
}
|
|
},
|
|
|
|
-- Saturn module
|
|
{
|
|
Name = "Saturn",
|
|
Parent = "SaturnBarycenter",
|
|
Renderable = {
|
|
Type = "RenderablePlanet",
|
|
Frame = "IAU_SATURN",
|
|
Body = "SATURN BARYCENTER",
|
|
Geometry = {
|
|
Type = "SimpleSphere",
|
|
Radius = { 5.8232, 7 },
|
|
Segments = 100
|
|
},
|
|
Textures = {
|
|
Type = "simple",
|
|
Color = "textures/saturn.jpg",
|
|
},
|
|
},
|
|
Ephemeris = {
|
|
Type = "Spice",
|
|
Body = "SATURN BARYCENTER",
|
|
Reference = "ECLIPJ2000",
|
|
Observer = "SUN",
|
|
Kernels = {
|
|
"${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
|
}
|
|
},
|
|
Rotation = {
|
|
Type = "Spice",
|
|
Frame = "IAU_SATURN",
|
|
Reference = "ECLIPJ2000"
|
|
},
|
|
GuiName = "/Solar/Planets/Saturn"
|
|
},
|
|
-- SaturnTrail module
|
|
{
|
|
Name = "SaturnTrail",
|
|
Parent = "SaturnBarycenter",
|
|
Renderable = {
|
|
Type = "RenderableTrail",
|
|
Body = "SATURN BARYCENTER",
|
|
Frame = "GALACTIC",
|
|
Observer = "SUN",
|
|
RGB = {0.85,0.75,0.51 },
|
|
TropicalOrbitPeriod = 10746.94 ,
|
|
EarthOrbitRatio = 29.424,
|
|
DayLength = 10.656,
|
|
Textures = {
|
|
Type = "simple",
|
|
Color = "${COMMON_MODULE}/textures/glare_blue.png",
|
|
-- need to add different texture
|
|
},
|
|
},
|
|
GuiName = "/Solar/SaturnTrail"
|
|
}
|
|
}
|