mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-23 12:40:01 -06:00
65 lines
1.7 KiB
Modula-2
65 lines
1.7 KiB
Modula-2
return {
|
|
-- Uranus barycenter module
|
|
{
|
|
Name = "UranusBarycenter",
|
|
Parent = "SolarSystemBarycenter",
|
|
Transform = {
|
|
Translation = {
|
|
Type = "SpiceTranslation",
|
|
Body = "URANUS BARYCENTER",
|
|
Observer = "SUN",
|
|
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
|
},
|
|
}
|
|
},
|
|
|
|
-- Uranus module
|
|
{
|
|
Name = "Uranus",
|
|
Parent = "UranusBarycenter",
|
|
Renderable = {
|
|
Type = "RenderablePlanet",
|
|
Frame = "IAU_URANUS",
|
|
Body = "URANUS BARYCENTER",
|
|
Geometry = {
|
|
Type = "SimpleSphere",
|
|
Radius = { 2.5362 , 7 },
|
|
Segments = 100
|
|
},
|
|
Textures = {
|
|
Type = "simple",
|
|
Color = "textures/uranus.jpg",
|
|
},
|
|
Atmosphere = {
|
|
Type = "Nishita", -- for example, values missing etc etc
|
|
MieFactor = 1.0,
|
|
MieColor = {1.0, 1.0, 1.0}
|
|
}
|
|
},
|
|
Transform = {
|
|
Rotation = {
|
|
Type = "SpiceRotation",
|
|
SourceFrame = "IAU_URANUS",
|
|
DestinationFrame = "ECLIPJ2000",
|
|
}
|
|
},
|
|
},
|
|
|
|
-- UranusTrail module
|
|
{
|
|
Name = "UranusTrail",
|
|
Parent = "SolarSystemBarycenter",
|
|
Renderable = {
|
|
Type = "RenderableTrailOrbit",
|
|
Translation = {
|
|
Type = "SpiceTranslation",
|
|
Body = "URANUS BARYCENTER",
|
|
Observer = "SUN",
|
|
},
|
|
Color = {0.60, 0.95, 1.00 },
|
|
Period = 30588.740,
|
|
Resolution = 1000
|
|
},
|
|
}
|
|
}
|