mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-18 11:30:32 -05:00
83 lines
2.1 KiB
Modula-2
83 lines
2.1 KiB
Modula-2
if UseAccurateNewHorizonsKernels then
|
|
NewHorizonsKernels = {
|
|
"${SPICE}/nh_kernels/spk/NavSE_plu047_od122.bsp"
|
|
}
|
|
else
|
|
NewHorizonsKernels = {
|
|
"${SPICE}/NewHorizonsKernels/nh_p4p5_revised.bsp"
|
|
}
|
|
end
|
|
|
|
return {
|
|
-- Hydra module
|
|
{
|
|
Name = "Hydra",
|
|
Parent = "PlutoBarycenter",
|
|
Renderable = {
|
|
Type = "RenderablePlanet",
|
|
Frame = "IAU_PLUTO",
|
|
Body = "HYDRA",
|
|
Geometry = {
|
|
Type = "SimpleSphere",
|
|
Radius = { 0.53 , 5 },
|
|
Segments = 100
|
|
},
|
|
Textures = {
|
|
Type = "simple",
|
|
Color = "textures/gray.jpg",
|
|
}
|
|
},
|
|
Ephemeris = {
|
|
Type = "Spice",
|
|
Body = "Hydra",
|
|
Reference = "ECLIPJ2000",
|
|
Observer = "PLUTO BARYCENTER",
|
|
Kernels = NewHorizonsKernels
|
|
},
|
|
Rotation = {
|
|
Type = "Spice",
|
|
Frame = "IAU_PLUTO",
|
|
Reference = "ECLIPJ2000"
|
|
},
|
|
GuiName = "/Solar/Planets/Hydra"
|
|
},
|
|
{
|
|
Name = "HydraText",
|
|
Parent = "Hydra",
|
|
Renderable = {
|
|
Type = "RenderablePlane",
|
|
Size = {1.0, 6.3},
|
|
Origin = "Center",
|
|
Billboard = true,
|
|
Texture = "textures/Hydra-Text.png"
|
|
},
|
|
Ephemeris = {
|
|
Type = "Static",
|
|
Position = {1, 0, 1, 6}
|
|
}
|
|
},
|
|
-- HydraTrail module
|
|
{
|
|
Name = "HydraTrail",
|
|
Parent = "PlutoBarycenter",
|
|
Renderable = {
|
|
Type = "RenderableTrail",
|
|
Body = "HYDRA",
|
|
Frame = "GALACTIC",
|
|
Observer = "PLUTO BARYCENTER",
|
|
RGB = {0.00,0.62,1.00},
|
|
TropicalOrbitPeriod = 150 ,
|
|
EarthOrbitRatio = 0.2,
|
|
DayLength = 1,
|
|
DayLength = 16.11,
|
|
Textures = {
|
|
Type = "simple",
|
|
Color = "${COMMON_MODULE}/textures/glare_blue.png",
|
|
-- need to add different texture
|
|
},
|
|
},
|
|
GuiName = "/Solar/HydraTrail"
|
|
}
|
|
|
|
}
|