mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-17 02:50:29 -05:00
82 lines
2.3 KiB
Modula-2
82 lines
2.3 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"
|
|
},
|
|
-- The rings of Saturn
|
|
-- Using the 'Saturn's rings dark side mosaic' as a basis
|
|
{
|
|
Name = "SaturnRings",
|
|
Parent = "Saturn",
|
|
Renderable = {
|
|
Type = "RenderableRings",
|
|
Body = "SATURN BARYCENTER",
|
|
Frame = "IAU_SATURN",
|
|
Texture = "textures/saturn_rings.png",
|
|
Size = { 0.140445100671159, 9.0 }, -- 140445.100671159km
|
|
Offset = { 74500 / 140445.100671159, 1.0 } -- min / max extend
|
|
},
|
|
|
|
},
|
|
-- 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"
|
|
}
|
|
}
|