mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 04:58:59 -05:00
Added tags to solar system planets for grouping functionality, and added scale property to some planets
This commit is contained in:
@@ -49,6 +49,7 @@ return {
|
||||
MieColor = {1.0, 1.0, 1.0}
|
||||
}
|
||||
},
|
||||
Tag = {"planet_solarSystem", "planet_terrestrial"},
|
||||
Transform = {
|
||||
Rotation = {
|
||||
Type = "SpiceRotation",
|
||||
@@ -79,7 +80,7 @@ return {
|
||||
-- SampleInterval = 3600
|
||||
Period = 365.242,
|
||||
Resolution = 1000,
|
||||
Tag = "defaultTrails"
|
||||
Tag = {"planetTrail_solarSystem", "planetTrail_terrestrial"}
|
||||
},
|
||||
GuiName = "/Solar/EarthTrail",
|
||||
},
|
||||
|
||||
@@ -35,6 +35,7 @@ return {
|
||||
MieColor = {1.0, 1.0, 1.0}
|
||||
}
|
||||
},
|
||||
Tag = "planet_solarSystem",
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "StaticTranslation",
|
||||
@@ -66,6 +67,6 @@ return {
|
||||
Period = 4330.595,
|
||||
Resolution = 1000,
|
||||
},
|
||||
Tag = "defaultTrails"
|
||||
Tag = "planetTrail_solarSystem"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,12 +35,17 @@ return {
|
||||
MieColor = {1.0, 1.0, 1.0}
|
||||
}
|
||||
},
|
||||
Tag = {"planet_solarSystem", "planet_terrestrial"},
|
||||
Transform = {
|
||||
Rotation = {
|
||||
Type = "SpiceRotation",
|
||||
SourceFrame = "IAU_MARS",
|
||||
DestinationFrame = "GALACTIC",
|
||||
},
|
||||
Scale = {
|
||||
Type = "StaticScale",
|
||||
Scale = 1,
|
||||
},
|
||||
}
|
||||
},
|
||||
-- MarsTrail module
|
||||
@@ -57,7 +62,7 @@ return {
|
||||
Color = { 0.814, 0.305, 0.220 },
|
||||
Period = 686.973,
|
||||
Resolution = 1000,
|
||||
Tag = "defaultTrails"
|
||||
Tag = {"planetTrail_solarSystem", "planetTrail_terrestrial"}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,6 +37,7 @@ return {
|
||||
MieColor = {1.0, 1.0, 1.0}
|
||||
}
|
||||
},
|
||||
Tag = {"planet_solarSystem", "planet_terrestrial"},
|
||||
Transform = {
|
||||
Rotation = {
|
||||
Type = "SpiceRotation",
|
||||
@@ -63,7 +64,7 @@ return {
|
||||
Color = {0.6, 0.5, 0.5 },
|
||||
Period = 87.968,
|
||||
Resolution = 100,
|
||||
Tag = "defaultTrails"
|
||||
Tag = {"planetTrail_solarSystem", "planetTrail_terrestrial"}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,14 +29,19 @@ return {
|
||||
Textures = {
|
||||
Type = "simple",
|
||||
Color = "textures/neptune.jpg",
|
||||
},
|
||||
}
|
||||
},
|
||||
Translation = {
|
||||
Tag = "planet_solarSystem",
|
||||
Transform = {
|
||||
Rotation = {
|
||||
Type = "SpiceRotation",
|
||||
SourceFrame = "IAU_NEPTUNE",
|
||||
DestinationFrame = "GALACTIC"
|
||||
},
|
||||
Scale = {
|
||||
Type = "StaticScale",
|
||||
Scale = 1,
|
||||
},
|
||||
}
|
||||
},
|
||||
-- NeptuneTrail module
|
||||
@@ -53,7 +58,7 @@ return {
|
||||
Color = {0.2, 0.5, 1.0 },
|
||||
Period = 60200,
|
||||
Resolution = 1000,
|
||||
Tag = "defaultTrails"
|
||||
Tag = "planetTrail_solarSystem"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,6 +39,7 @@ return {
|
||||
MieColor = {1.0, 1.0, 1.0}
|
||||
}
|
||||
},
|
||||
Tag = "planet_solarSystem",
|
||||
Transform = {
|
||||
Rotation = {
|
||||
Type = "SpiceRotation",
|
||||
@@ -77,7 +78,7 @@ return {
|
||||
Color = {0.85,0.75,0.51 },
|
||||
Period = 10746.94,
|
||||
Resolution = 1000,
|
||||
Tag = "defaultTrails"
|
||||
Tag = "planetTrail_solarSystem"
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,12 +36,17 @@ return {
|
||||
MieColor = {1.0, 1.0, 1.0}
|
||||
}
|
||||
},
|
||||
Tag = "planet_solarSystem",
|
||||
Transform = {
|
||||
Rotation = {
|
||||
Type = "SpiceRotation",
|
||||
SourceFrame = "IAU_URANUS",
|
||||
DestinationFrame = "ECLIPJ2000",
|
||||
}
|
||||
},
|
||||
Scale = {
|
||||
Type = "StaticScale",
|
||||
Scale = 1,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -59,7 +64,7 @@ return {
|
||||
Color = {0.60, 0.95, 1.00 },
|
||||
Period = 30588.740,
|
||||
Resolution = 1000,
|
||||
Tag = "defaultTrails"
|
||||
Tag = "planetTrail_solarSystem"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,10 +36,17 @@ return {
|
||||
MieColor = {1.0, 1.0, 1.0}
|
||||
}
|
||||
},
|
||||
Rotation = {
|
||||
Type = "SpiceRotation",
|
||||
Frame = "IAU_VENUS",
|
||||
Reference = "GALACTIC"
|
||||
Tag = {"planet_solarSystem", "planet_terrestrial"},
|
||||
Transform = {
|
||||
Rotation = {
|
||||
Type = "SpiceRotation",
|
||||
SourceFrame = "IAU_VENUS",
|
||||
DestinationFrame = "GALACTIC"
|
||||
},
|
||||
Scale = {
|
||||
Type = "StaticScale",
|
||||
Scale = 1,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -57,7 +64,7 @@ return {
|
||||
Color = { 1.0, 0.5, 0.2 },
|
||||
Period = 224.695,
|
||||
Resolution = 1000,
|
||||
Tag = "defaultTrails"
|
||||
Tag = {"planetTrail_solarSystem", "planetTrail_terrestrial"}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user