Files
OpenSpace/data/scene/uranus/uranus.mod
Emil Axelsson 4b38b33e18 Clean up code for planet radius and bounding sphere calculation (#289)
- Remove some power scaled coordaintes.
- Remove spice dependency from sphere geometry.
- Remove dead code.
2017-04-18 09:58:27 +02:00

71 lines
1.9 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.5362E7,
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}
}
},
Tag = "planet_solarSystem",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_URANUS",
DestinationFrame = "ECLIPJ2000",
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
},
},
-- 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,
Tag = "planetTrail_solarSystem"
}
}
}