mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-02 08:49:20 -05:00
4b38b33e18
- Remove some power scaled coordaintes. - Remove spice dependency from sphere geometry. - Remove dead code.
71 lines
1.9 KiB
Modula-2
71 lines
1.9 KiB
Modula-2
return {
|
|
-- Venus barycenter module
|
|
{
|
|
Name = "VenusBarycenter",
|
|
Parent = "SolarSystemBarycenter",
|
|
Transform = {
|
|
Translation = {
|
|
Type = "SpiceTranslation",
|
|
Body = "VENUS BARYCENTER",
|
|
Observer = "SUN",
|
|
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
|
},
|
|
}
|
|
},
|
|
|
|
-- Venus module
|
|
{
|
|
Name = "Venus",
|
|
Parent = "VenusBarycenter",
|
|
Renderable = {
|
|
Type = "RenderablePlanet",
|
|
Frame = "IAU_VENUS",
|
|
Body = "VENUS",
|
|
Geometry = {
|
|
Type = "SimpleSphere",
|
|
Radius = 3.760E6,
|
|
Segments = 100
|
|
},
|
|
Textures = {
|
|
Type = "simple",
|
|
Color = "textures/venus.jpg",
|
|
},
|
|
Atmosphere = {
|
|
Type = "Nishita", -- for example, values missing etc etc
|
|
MieFactor = 1.0,
|
|
MieColor = {1.0, 1.0, 1.0}
|
|
}
|
|
},
|
|
Tag = {"planet_solarSystem", "planet_terrestrial"},
|
|
Transform = {
|
|
Rotation = {
|
|
Type = "SpiceRotation",
|
|
SourceFrame = "IAU_VENUS",
|
|
DestinationFrame = "GALACTIC"
|
|
},
|
|
Scale = {
|
|
Type = "StaticScale",
|
|
Scale = 1,
|
|
},
|
|
},
|
|
},
|
|
|
|
-- VenusTrail module
|
|
{
|
|
Name = "VenusTrail",
|
|
Parent = "SolarSystemBarycenter",
|
|
Renderable = {
|
|
Type = "RenderableTrailOrbit",
|
|
Translation = {
|
|
Type = "SpiceTranslation",
|
|
Body = "VENUS BARYCENTER",
|
|
Observer = "SUN",
|
|
},
|
|
Color = { 1.0, 0.5, 0.2 },
|
|
Period = 224.695,
|
|
Resolution = 1000,
|
|
Tag = {"planetTrail_solarSystem", "planetTrail_terrestrial"}
|
|
}
|
|
}
|
|
}
|