mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-04 09:59:44 -05:00
80 lines
2.1 KiB
Modula-2
80 lines
2.1 KiB
Modula-2
return {
|
|
-- Nix module
|
|
{
|
|
Name = "Nix",
|
|
Parent = "PlutoBarycenter",
|
|
Renderable = {
|
|
Type = "RenderablePlanet",
|
|
Frame = "IAU_PLUTO",
|
|
Body = "NIX",
|
|
Geometry = {
|
|
Type = "SimpleSphere",
|
|
Radius = { 0.45 , 5 },
|
|
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 = "NIX",
|
|
Reference = "ECLIPJ2000",
|
|
Observer = "PLUTO BARYCENTER",
|
|
Kernels = {
|
|
"${SPICE}/NewHorizonsKernels/nh_p4p5_revised.bsp"
|
|
}
|
|
},
|
|
Rotation = {
|
|
Type = "Spice",
|
|
Frame = "IAU_PLUTO",
|
|
Reference = "ECLIPJ2000"
|
|
},
|
|
GuiName = "/Solar/Planets/Nix"
|
|
},
|
|
{
|
|
Name = "NixText",
|
|
Parent = "Nix",
|
|
Renderable = {
|
|
Type = "RenderablePlane",
|
|
Size = {1.0, 6.3},
|
|
Origin = "Center",
|
|
Billboard = true,
|
|
Texture = "textures/Nix-Text.png"
|
|
},
|
|
Ephemeris = {
|
|
Type = "Static",
|
|
Position = {0, 0, 0, 0}
|
|
}
|
|
},
|
|
-- StyxTrail module
|
|
{
|
|
Name = "NixTrail",
|
|
Parent = "PlutoBarycenter",
|
|
Renderable = {
|
|
Type = "RenderableTrail",
|
|
Body = "NIX",
|
|
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/NixTrail"
|
|
}
|
|
|
|
}
|