Update Venus to make it not be located in the Sun

This commit is contained in:
Alexander Bock
2016-10-29 15:48:05 +02:00
parent 96e27913ca
commit ded3cb20ee
2 changed files with 21 additions and 18 deletions

View File

@@ -3,6 +3,14 @@ return {
{
Name = "MercuryBarycenter",
Parent = "SolarSystemBarycenter",
Transform = {
Translation = {
Type = "SpiceTranslation",
Body = "MERCURY BARYCENTER",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
},
}
},
-- Mercury module
{
@@ -28,12 +36,6 @@ return {
}
},
Transform = {
Translation = {
Type = "SpiceTranslation",
Body = "MERCURY",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
},
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_MERCURY",
@@ -48,7 +50,7 @@ return {
-- MercuryTrail module
{
Name = "MercuryTrail",
Parent = "MercuryBarycenter",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "MERCURY",

View File

@@ -3,8 +3,15 @@ return {
{
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",
@@ -28,25 +35,19 @@ return {
MieColor = {1.0, 1.0, 1.0}
}
},
Ephemeris = {
Type = "Spice",
Body = "VENUS",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
},
Rotation = {
Type = "Spice",
Type = "SpiceRotation",
Frame = "IAU_VENUS",
Reference = "ECLIPJ2000"
Reference = "GALACTIC"
},
},
-- VenusTrail module
{
Name = "VenusTrail",
Parent = "VenusBarycenter",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "VENUS",
Body = "VENUS BARYCENTER",
Frame = "GALACTIC",
Observer = "SUN",
RGB = {1, 0.5, 0.2},