mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-05 19:09:23 -05:00
80 lines
2.1 KiB
Modula-2
80 lines
2.1 KiB
Modula-2
return {
|
|
-- Styx module
|
|
{
|
|
Name = "Styx",
|
|
Parent = "PlutoBarycenter",
|
|
Renderable = {
|
|
Type = "RenderablePlanet",
|
|
Frame = "IAU_PLUTO",
|
|
Body = "STYX",
|
|
Geometry = {
|
|
Type = "SimpleSphere",
|
|
Radius = { 0.75 , 4 },
|
|
Segments = 100
|
|
},
|
|
Textures = {
|
|
Type = "simple",
|
|
Color = "textures/gray.jpg",
|
|
},
|
|
Atmosphere = {
|
|
Type = "Nishita", -- for example, values missing etc etc
|
|
MieFactor = 1.0,
|
|
MieColor = {1.0, 1.0, 1.0}
|
|
}
|
|
},
|
|
Ephemeris = {
|
|
Type = "Spice",
|
|
Body = "STYX",
|
|
Reference = "ECLIPJ2000",
|
|
Observer = "PLUTO BARYCENTER",
|
|
Kernels = {
|
|
"${SPICE}/NewHorizonsKernels/nh_p4p5_revised.bsp"
|
|
}
|
|
},
|
|
Rotation = {
|
|
Type = "Spice",
|
|
Frame = "IAU_PLUTO",
|
|
Reference = "ECLIPJ2000"
|
|
},
|
|
GuiName = "/Solar/Planets/Styx"
|
|
},
|
|
{
|
|
Name = "StyxText",
|
|
Parent = "Styx",
|
|
Renderable = {
|
|
Type = "RenderablePlane",
|
|
Size = {1.0, 6.3},
|
|
Origin = "Center",
|
|
Billboard = true,
|
|
Texture = "textures/Styx-Text.png"
|
|
},
|
|
Ephemeris = {
|
|
Type = "Static",
|
|
Position = {1, 0, 1, 6}
|
|
}
|
|
},
|
|
-- StyxTrail module
|
|
{
|
|
Name = "StyxTrail",
|
|
Parent = "PlutoBarycenter",
|
|
Renderable = {
|
|
Type = "RenderableTrail",
|
|
Body = "STYX",
|
|
Frame = "GALACTIC",
|
|
Observer = "PLUTO BARYCENTER",
|
|
RGB = {0.00,0.62,1.00},
|
|
TropicalOrbitPeriod = 150 ,
|
|
EarthOrbitRatio = 0.12,
|
|
DayLength = 1,
|
|
DayLength = 16.11,
|
|
Textures = {
|
|
Type = "simple",
|
|
Color = "${COMMON_MODULE}/textures/glare_blue.png",
|
|
-- need to add different texture
|
|
},
|
|
},
|
|
GuiName = "/Solar/CharonTrail"
|
|
}
|
|
|
|
}
|