mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-08 04:20:14 -05:00
bb5f4d4381
Add GuiPath to existing scenegraph nodes Add option to toggle tree representation Add caption font to UI
51 lines
1.5 KiB
Modula-2
51 lines
1.5 KiB
Modula-2
return {
|
|
{
|
|
Name = "Enceladus",
|
|
Parent = "SaturnBarycenter",
|
|
Renderable = {
|
|
Type = "RenderableGlobe",
|
|
Radii = 252000,
|
|
SegmentsPerPatch = 64,
|
|
Layers = {
|
|
ColorLayers = {
|
|
{
|
|
Name = "Enceladus Texture",
|
|
FilePath = "textures/enceladus.jpg",
|
|
Enabled = true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
Transform = {
|
|
Translation = {
|
|
Type = "SpiceTranslation",
|
|
Target = "ENCELADUS",
|
|
Observer = "SATURN BARYCENTER",
|
|
Kernels = "${OPENSPACE_DATA}/spice/sat375.bsp"
|
|
},
|
|
Rotation = {
|
|
Type = "SpiceRotation",
|
|
SourceFrame = "IAU_ENCELADUS",
|
|
DestinationFrame = "GALACTIC"
|
|
}
|
|
},
|
|
GuiPath = "/Solar System/Planets/Saturn/Moons"
|
|
},
|
|
{
|
|
Name = "EnceladusTrail",
|
|
Parent = "SaturnBarycenter",
|
|
Renderable = {
|
|
Type = "RenderableTrailOrbit",
|
|
Translation = {
|
|
Type = "SpiceTranslation",
|
|
Target = "ENCELADUS",
|
|
Observer = "SATURN BARYCENTER",
|
|
},
|
|
Color = { 0.5, 0.3, 0.3 },
|
|
Period = 33 / 24,
|
|
Resolution = 1000
|
|
},
|
|
GuiPath = "/Solar System/Planets/Saturn/Moons"
|
|
}
|
|
}
|