Pr/trails (#170)

* Implement new RenderableTrails as abstract base class
  - Implement RenderableTrailsOrbit and RenderableTrailsTrajectory as concrete instances
Remove old RenderableTrails and RenderableTrailsNew classes
Adapt mod files to the new structure

* Addressed Pull Request comments
This commit is contained in:
Alexander Bock
2016-11-23 10:35:46 +01:00
committed by GitHub
parent db923209c3
commit 683fc8ee53
73 changed files with 2002 additions and 1653 deletions

View File

@@ -107,15 +107,20 @@ return {
Name = "EarthTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "EARTH",
Frame = "GALACTIC",
Observer = "SUN",
RGB = { 0.5, 0.8, 1.0},
TropicalOrbitPeriod = 365.242,
EarthOrbitRatio = 1,
DayLength = 24
}
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "EARTH",
Observer = "SUN"
},
Color = { 0.5, 0.8, 1.0 },
-- StartTime = "2016 JUN 01 12:00:00.000",
-- EndTime = "2017 JAN 01 12:00:00.000",
-- SampleInterval = 3600
Period = 365.242,
Resolution = 1000
},
GuiName = "/Solar/EarthTrail"
},
{
Name = "EarthMarker",

View File

@@ -174,16 +174,21 @@ return {
Name = "EarthTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "EARTH",
Frame = "GALACTIC",
Observer = "SUN",
RGB = { 0.5, 0.8, 1.0},
TropicalOrbitPeriod = 365.242,
EarthOrbitRatio = 1,
DayLength = 24
}
}
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "EARTH",
Observer = "SUN"
},
Color = { 0.5, 0.8, 1.0 },
-- StartTime = "2016 JUN 01 12:00:00.000",
-- EndTime = "2017 JAN 01 12:00:00.000",
-- SampleInterval = 3600
Period = 365.242,
Resolution = 1000
},
GuiName = "/Solar/EarthTrail"
},
--[[,
{
Name = "DebugPlane",

View File

@@ -55,14 +55,18 @@ return {
Name = "EarthTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "EARTH",
Frame = "GALACTIC",
Observer = "SUN",
RGB = { 0.5, 0.8, 1.0},
TropicalOrbitPeriod = 365.242,
EarthOrbitRatio = 1,
DayLength = 24
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "EARTH",
Observer = "SUN"
},
Color = { 0.5, 0.8, 1.0 },
-- StartTime = "2016 JUN 01 12:00:00.000",
-- EndTime = "2017 JAN 01 12:00:00.000",
-- SampleInterval = 3600
Period = 365.242,
Resolution = 1000
},
GuiName = "/Solar/EarthTrail"
},

View File

@@ -45,19 +45,15 @@ return {
Name = "CallistoTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "CALLISTO",
Frame = "GALACTIC",
Observer = "JUPITER BARYCENTER",
RGB = { 0.4, 0.3, 0.01 },
TropicalOrbitPeriod = 60 ,
EarthOrbitRatio = 0.045,
DayLength = 9.9259,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "CALLISTO",
Observer = "JUPITER BARYCENTER",
},
Color = { 0.4, 0.3, 0.01 },
Period = 17,
Resolution = 1000
}
}
}

View File

@@ -41,19 +41,15 @@ return {
Name = "EuropaTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "EUROPA",
Frame = "GALACTIC",
Observer = "JUPITER BARYCENTER",
RGB = { 0.5, 0.3, 0.3 },
TropicalOrbitPeriod = 60,
EarthOrbitRatio = 0.01,
DayLength = 9.9259,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "EUROPA",
Observer = "JUPITER BARYCENTER",
},
Color = { 0.5, 0.3, 0.3 },
Period = 85 / 24,
Resolution = 1000
}
}
}

View File

@@ -45,19 +45,15 @@ return {
Name = "GanymedeTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "GANYMEDE",
Frame = "GALACTIC",
Observer = "JUPITER BARYCENTER",
RGB = { 0.4, 0.3, 0.3 },
TropicalOrbitPeriod = 60 ,
EarthOrbitRatio = 0.019,
DayLength = 9.9259,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "GANYMEDE",
Observer = "JUPITER BARYCENTER",
},
Color = { 0.4, 0.3, 0.3 },
Period = 172 / 24,
Resolution = 1000
}
}
}

View File

@@ -45,19 +45,15 @@ return {
Name = "IoTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "IO",
Frame = "GALACTIC",
Observer = "JUPITER BARYCENTER",
RGB = { 0.4, 0.4, 0.2 },
TropicalOrbitPeriod = 40 ,
EarthOrbitRatio = 0.0045,
DayLength = 9.9259,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "IO",
Observer = "JUPITER BARYCENTER",
},
Color = { 0.4, 0.4, 0.2 },
Period = 42 / 24,
Resolution = 1000
}
}
}

View File

@@ -56,19 +56,15 @@ return {
Name = "JupiterTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "JUPITER BARYCENTER",
Frame = "GALACTIC",
Observer = "SUN",
RGB = { 0.8, 0.7, 0.7 },
TropicalOrbitPeriod = 4330.595 ,
EarthOrbitRatio = 11.857,
DayLength = 9.9259,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "JUPITER BARYCENTER",
Observer = "SUN",
},
Color = { 0.8, 0.7, 0.7 },
Period = 4330.595,
Resolution = 1000
}
}
}

View File

@@ -18,15 +18,20 @@ return {
Name = "EarthTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "EARTH",
Frame = "GALACTIC",
Observer = "SUN",
RGB = { 0.5, 0.8, 1.0},
TropicalOrbitPeriod = 365.242,
EarthOrbitRatio = 1,
DayLength = 24
}
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "EARTH",
Observer = "SUN"
},
Color = { 0.5, 0.8, 1.0 },
-- StartTime = "2016 JUN 01 12:00:00.000",
-- EndTime = "2017 JAN 01 12:00:00.000",
-- SampleInterval = 3600
Period = 365.242,
Resolution = 1000
},
GuiName = "/Solar/EarthTrail"
},
-- RenderableGlobe module
{

View File

@@ -9,14 +9,18 @@ return {
Name = "EarthTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "EARTH",
Frame = "GALACTIC",
Observer = "SUN",
RGB = { 0.5, 0.8, 1.0},
TropicalOrbitPeriod = 365.242,
EarthOrbitRatio = 1,
DayLength = 24
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "EARTH",
Observer = "SUN"
},
Color = { 0.5, 0.8, 1.0 },
-- StartTime = "2016 JUN 01 12:00:00.000",
-- EndTime = "2017 JAN 01 12:00:00.000",
-- SampleInterval = 3600
Period = 365.242,
Resolution = 1000
},
GuiName = "/Solar/EarthTrail"
},

View File

@@ -130,16 +130,17 @@ return {
-- MarsTrail module
{
Name = "MarsTrail",
Parent = "Sun",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "MARS BARYCENTER",
Frame = "GALACTIC",
Observer = "SUN",
RGB = { 1, 0.8, 0.5 },
TropicalOrbitPeriod = 686.973,
EarthOrbitRatio = 1.881,
DayLength = 24.6597,
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "MARS BARYCENTER",
Observer = "SUN",
},
Color = { 0.814, 0.305, 0.220 },
Period = 686.973,
Resolution = 1000
}
}
}

View File

@@ -74,14 +74,15 @@ return {
Name = "MercuryTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "MERCURY",
Frame = "GALACTIC",
Observer = "SUN",
RGB = {0.6, 0.5, 0.5 },
TropicalOrbitPeriod = 87.968 ,
EarthOrbitRatio = 0.241,
DayLength = 4222.6,
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "MERCURY",
Observer = "SUN",
},
Color = {0.6, 0.5, 0.5 },
Period = 87.968,
Resolution = 100
}
}
}

View File

@@ -63,14 +63,15 @@ return {
Name = "MoonTrail",
Parent = "EarthBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "MOON",
Frame = "GALACTIC",
Observer = "EARTH BARYCENTER",
RGB = { 0.5, 0.3, 0.3 },
TropicalOrbitPeriod = 60,
EarthOrbitRatio = 0.01,
DayLength = 1.0,
}
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "MOON",
Observer = "EARTH BARYCENTER",
},
Color = { 0.5, 0.3, 0.3 },
Period = 27,
Resolution = 1000
},
}
}

View File

@@ -3,6 +3,14 @@ return {
{
Name = "MarsBarycenter",
Parent = "SolarSystemBarycenter",
Transform = {
Translation = {
Type = "SpiceTranslation",
Body = "MARS BARYCENTER",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
}
}
},
-- Mars module
{
@@ -28,41 +36,27 @@ return {
}
},
Transform = {
Translation = {
Type = "SpiceTranslation",
Body = "MARS BARYCENTER",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
},
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_MARS",
DestinationFrame = "ECLIPJ2000",
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
}
},
-- MarsTrail module
{
Name = "MarsTrail",
Parent = "MarsBarycenter",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "MARS BARYCENTER",
Frame = "GALACTIC",
Observer = "SUN",
RGB = { 1, 0.8, 0.5 },
TropicalOrbitPeriod = 686.973,
EarthOrbitRatio = 1.881,
DayLength = 24.6597,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "MARS BARYCENTER",
Observer = "SUN",
},
Color = { 0.814, 0.305, 0.220 },
Period = 686.973,
Resolution = 1000
}
}
}

View File

@@ -52,19 +52,15 @@ return {
Name = "MercuryTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "MERCURY",
Frame = "GALACTIC",
Observer = "SUN",
RGB = {0.6, 0.5, 0.5 },
TropicalOrbitPeriod = 87.968 ,
EarthOrbitRatio = 0.241,
DayLength = 4222.6,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "MERCURY",
Observer = "SUN",
},
Color = {0.6, 0.5, 0.5 },
Period = 87.968,
Resolution = 100
}
}
}

View File

@@ -698,24 +698,18 @@ return {
-- Dawn Trail Module
{
Name = "DawnTrail2",
Parent = "Root",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "DAWN",
Frame = "GALACTIC",
Observer = "SUN",
-- 3 Dummy values for compilation:
TropicalOrbitPeriod = 10000.0,
EarthOrbitRatio = 1,
DayLength = 50,
-- End of Dummy values
RGB = { 0.7, 0.4, 0.9 },
Textures = {
Type = "simple",
Color = "textures/glare.png"
},
Type = "RenderableTrailTrajectory",
Translation = {
Type = "SpiceTranslation",
Body = "DAWN",
Observer = "SUN",
},
Color = { 0.7, 0.4, 0.9 },
StartTime = "2007 SEP 26 13:28:00",
EndTime = "2012 SEP 12 12:00:00"
EndTime = "2012 SEP 12 12:00:00",
SampleInterval = 3600 * 24
},
},
--

View File

@@ -100,24 +100,16 @@ return {
Name = "VestaTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "VESTA",
Frame = "GALACTIC",
Observer = "SUN",
-- 3 Dummy values for compilation:
TropicalOrbitPeriod = 500.0,
EarthOrbitRatio = 0.2,
DayLength = 2,
-- End of Dummy values
RGB = { 0.7, 0.8, 0.7 },
Textures = {
Type = "simple",
Color = "textures/glare.png"
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "VESTA",
Observer = "SUN",
},
Color = { 0.7, 0.8, 0.7 },
StartTime = "2007 JUL 20 12:00:00",
EndTime = "2018 JAN 22 12:00:00"
EndTime = "2018 JAN 22 12:00:00",
SampleInterval = 3600 * 24
}
}
}

View File

@@ -82,20 +82,15 @@ return {
Name = "CallistoTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "CALLISTO",
Frame = "GALACTIC",
Observer = "JUPITER BARYCENTER",
RGB = { 0.7, 0.4, 0.2 },
TropicalOrbitPeriod = 80 ,
EarthOrbitRatio = 0.04,
DayLength = 9.9259,
LineFade = 2.0,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "CALLISTO",
Observer = "JUPITER BARYCENTER",
},
},
Color = { 0.4, 0.3, 0.01 },
Period = 17,
Resolution = 1000
}
}
}

View File

@@ -82,20 +82,15 @@ return {
Name = "EuropaTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "EUROPA",
Frame = "GALACTIC",
Observer = "JUPITER BARYCENTER",
RGB = { 0.7, 0.4, 0.2 },
TropicalOrbitPeriod = 80 ,
EarthOrbitRatio = 0.009,
DayLength = 9.9259,
LineFade = 2.0,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "EUROPA",
Observer = "JUPITER BARYCENTER",
},
Color = { 0.5, 0.3, 0.3 },
Period = 85 / 24,
Resolution = 1000
}
}
}

View File

@@ -76,20 +76,15 @@ return {
Name = "GanymedeTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "GANYMEDE",
Frame = "GALACTIC",
Observer = "JUPITER BARYCENTER",
RGB = { 0.7, 0.4, 0.2 },
TropicalOrbitPeriod = 80 ,
EarthOrbitRatio = 0.018,
DayLength = 9.9259,
LineFade = 2.0,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "GANYMEDE",
Observer = "JUPITER BARYCENTER",
},
Color = { 0.4, 0.3, 0.3 },
Period = 172 / 24,
Resolution = 1000
}
}
}

View File

@@ -92,20 +92,15 @@ return {
Name = "IoTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "IO",
Frame = "GALACTIC",
Observer = "JUPITER BARYCENTER",
RGB = { 0.7, 0.4, 0.2 },
TropicalOrbitPeriod = 100 ,
EarthOrbitRatio = 0.0045,
DayLength = 9.9259,
LineFade = 2.0,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "IO",
Observer = "JUPITER BARYCENTER",
},
Color = { 0.4, 0.4, 0.2 },
Period = 42 / 24,
Resolution = 1000
}
}
}

View File

@@ -115,24 +115,20 @@ return {
},
},
-- JupiterTrail module
{
Name = "JupiterTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "JUPITER BARYCENTER",
Frame = "GALACTIC",
Observer = "SUN",
RGB = { 0.8, 0.7, 0.7 },
TropicalOrbitPeriod = 4330.595 ,
EarthOrbitRatio = 11.857,
DayLength = 9.9259,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
},
}
{
Name = "JupiterTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "JUPITER BARYCENTER",
Observer = "SUN",
},
Color = { 0.8, 0.7, 0.7 },
Period = 4330.595,
Resolution = 1000
}
}
}

View File

@@ -176,26 +176,21 @@ return {
Name = "NewHorizonsTrailPluto",
Parent = "PlutoBarycenter",
Renderable = {
Type = "RenderableTrailNew",
-- Spice
Body = "NEW HORIZONS",
Frame = "GALACTIC",
Observer = "PLUTO BARYCENTER",
-- Optional rendering properties
LineColor = { 1.0, 0.8, 0.4 },
PointColor = { 1.0, 0.8, 0.4 },
LineFade = 0.0, -- [0,1]
RenderPart = 1,
LineWidth = 2,
ShowTimeStamps = true,
RenderFullTrail = true,
-- Time interval
TimeRange = {
Start = "2015 JUL 07 12:00:00",
End = "2015 JUL 17 12:00:00"
Type = "RenderableTrailTrajectory",
Translation = {
Type = "SpiceTranslation",
Body = "NEW HORIZONS",
Observer = "PLUTO BARYCENTER"
},
SampleDeltaTime = 3600, -- Seconds between each point
SubSamples = 3,
Color = { 1.0, 0.8, 0.4 },
ShowFullTrail = true,
StartTime = "2015 JUL 07 12:00:00",
EndTime = "2015 JUL 17 12:00:00",
PointSize = 5,
SampleInterval = 3600,
TimeStampSubsampleFactor = 4,
EnableFade = false,
Rendering = "Lines+Points"
},
},
--[[

View File

@@ -104,19 +104,15 @@ return {
Name = "CharonTrail",
Parent = "PlutoBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "CHARON",
Frame = "GALACTIC",
Observer = "PLUTO BARYCENTER",
RGB = {0.00,0.62,1.00},
TropicalOrbitPeriod = 120 ,
EarthOrbitRatio = 0.03,
DayLength = 1,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "CHARON",
Observer = "PLUTO BARYCENTER",
},
Color = {0.00, 0.62, 1.00},
Period = 6.38725,
Resolution = 1000
},
}
}

View File

@@ -63,20 +63,15 @@ return {
Name = "HydraTrail",
Parent = "PlutoBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "HYDRA",
Frame = "GALACTIC",
Observer = "PLUTO BARYCENTER",
RGB = {0.00,0.62,1.00},
TropicalOrbitPeriod = 150 ,
EarthOrbitRatio = 0.2,
DayLength = 1,
DayLength = 16.11,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "HYDRA",
Observer = "PLUTO BARYCENTER",
},
Color = {0.00, 0.62, 1.00},
Period = 38.20177,
Resolution = 1000
},
}

View File

@@ -58,25 +58,20 @@ return {
},
},
},
-- StyxTrail module
-- KerberosTrail module
{
Name = "KerberosTrail",
Parent = "PlutoBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "KERBEROS",
Frame = "GALACTIC",
Observer = "PLUTO BARYCENTER",
RGB = {0.00,0.62,1.00},
TropicalOrbitPeriod = 150 ,
EarthOrbitRatio = 0.2,
DayLength = 1,
DayLength = 16.11,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "KERBEROS",
Observer = "PLUTO BARYCENTER",
},
Color = {0.00, 0.62, 1.00},
Period = 32.16756,
Resolution = 1000
},
}

View File

@@ -52,25 +52,20 @@ return {
Texture = "textures/Nix-Text.png"
},
},
-- StyxTrail module
-- NixTrail module
{
Name = "NixTrail",
Parent = "PlutoBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "NIX",
Frame = "GALACTIC",
Observer = "PLUTO BARYCENTER",
RGB = {0.00,0.62,1.00},
TropicalOrbitPeriod = 150 ,
EarthOrbitRatio = 0.12,
DayLength = 1,
DayLength = 16.11,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "NIX",
Observer = "PLUTO BARYCENTER",
},
Color = {0.00, 0.62, 1.00},
Period = 24.85463,
Resolution = 1000
},
}

View File

@@ -237,19 +237,15 @@ return {
Name = "PlutoBarycentricTrail",
Parent = "PlutoBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "PLUTO",
Frame = "GALACTIC",
Observer = "PLUTO BARYCENTER",
RGB = {0.00,0.62,1.00},
TropicalOrbitPeriod = 120 ,
EarthOrbitRatio = 0.03,
DayLength = 1,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "PLUTO",
Observer = "PLUTO BARYCENTER",
},
Color = {0.00, 0.62, 1.00},
Period = 6.38723,
Resolution = 1000
},
},
-- PlutoTrail module
@@ -257,19 +253,17 @@ return {
Name = "PlutoTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "PLUTO BARYCENTER",
Frame = "GALACTIC",
Observer = "SUN",
RGB = { 0.3, 0.7, 0.3 },
TropicalOrbitPeriod = 90588 ,
EarthOrbitRatio = 248.02,
DayLength = 9.9259,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "PLUTO BARYCENTER",
Observer = "SUN",
},
Color = { 0.3, 0.7, 0.3 },
-- Not the actual Period, but the SPICE kernels we have only
-- go back to 1850, about 150 yeays ago
Period = 160 * 365.242,
Resolution = 1000
},
}
}

View File

@@ -64,21 +64,15 @@ return {
Name = "StyxTrail",
Parent = "PlutoBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "STYX",
Frame = "GALACTIC",
Observer = "PLUTO BARYCENTER",
RGB = {0.00,0.62,1.00},
TropicalOrbitPeriod = 150 ,
EarthOrbitRatio = 0.12,
DayLength = 1,
DayLength = 16.11,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "STYX",
Observer = "PLUTO BARYCENTER",
},
Color = {0.00, 0.62, 1.00},
Period = 20.16155,
Resolution = 1000
},
}
}

View File

@@ -97,25 +97,16 @@ return {
Name = "BennuTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrailNew",
-- Spice
Body = BENNU_BODY,
Frame = "GALACTIC",
Observer = "SUN",
-- Optional rendering properties
LineColor = { 0.4, 0.0, 0.7},
PointColor = { 0.4, 0.0, 0.7},
LineFade = 0, -- [0,1]
RenderPart = 0.12,
LineWidth = 2,
ShowTimeStamps = false,
-- Time interval
TimeRange = {
Start = "2015 JAN 01 00:00:00.000",
End = "2023 MAY 31 00:00:00.000",
Type = "RenderableTrailTrajectory",
Translation = {
Type = "SpiceTranslation",
Body = BENNU_BODY,
Observer = "SUN",
},
SampleDeltaTime = 3600, -- Seconds between each point
SubSamples = 0,
Color = { 0.4, 0.0, 0.7},
StartTime = "2015 JAN 01 00:00:00.000",
EndTime = "2023 MAY 31 00:00:00.000",
SampleInterval = 3600,
},
},
}

View File

@@ -339,26 +339,17 @@ return {
Name = "OsirisRexTrailEarth",
Parent = "Earth",
Renderable = {
Type = "RenderableTrailNew",
-- Spice
Body = "OSIRIS-REX",
Frame = "IAU_EARTH",
Type = "RenderableTrailTrajectory",
Translation = {
Type = "SpiceTranslation",
Body = "OSIRIS-REX",
Frame = "IAU_EARTH",
Observer = "EARTH",
-- Optional rendering properties
LineColor = { 0.9, 0.9, 0.0 },
PointColor = { 0.9, 0.9, 0.0 },
LineFade = 0.0, -- [0,1]
RenderPart = 1,
LineWidth = 2,
ShowTimeStamps = false,
RenderFullTrail = false,
-- Time interval
TimeRange = {
Start = "2016 SEP 8 23:05:00.50",
End = "2016 SEP 9 00:05:00",
},
SampleDeltaTime = 60, -- Seconds between each point
SubSamples = 59,
Color = { 0.9, 0.9, 0.0 },
StartTime = "2016 SEP 8 23:05:00.50",
EndTime = "2016 SEP 9 00:05:00",
SampleInterval = 60,
},
},
@@ -367,26 +358,16 @@ return {
Name = "OsirisRexTrailSolarSystem",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrailNew",
-- Spice
Body = "OSIRIS-REX",
Frame = "GALACTIC",
Observer = "SUN",
-- Optional rendering properties
LineColor = { 0.2, 0.9, 0.2 },
PointColor = { 0.2, 0.9, 0.2 },
LineFade = 0.0, -- [0,1]
RenderPart = 0.13,
LineWidth = 2,
ShowTimeStamps = false,
RenderFullTrail = false,
-- Time interval
TimeRange = {
Start = "2016 SEP 8 23:05:00.50",
End = "2023 SEP 24 12:00:00",
Type = "RenderableTrailTrajectory",
Translation = {
Type = "SpiceTranslation",
Body = "OSIRIS-REX",
Observer = "SUN",
},
SampleDeltaTime = 3600, -- Seconds between each point
SubSamples = 0,
Color = { 0.2, 0.9, 0.2 },
StartTime = "2016 SEP 8 23:05:00.50",
EndTime = "2023 SEP 24 12:00:00",
SampleInterval = 3600,
},
},
@@ -395,28 +376,16 @@ return {
Name = "OsirisRexTrailBennu",
Parent = "BennuBarycenter",
Renderable = {
Type = "RenderableTrailNew",
-- Spice
Body = "OSIRIS-REX",
Frame = "GALACTIC",
Observer = BENNU_BODY,
-- Optional rendering properties
LineColor = { 0.9, 0.2, 0.9 },
PointColor = { 0.9, 0.2, 0.9 },
LineFade = 0.5, -- [0,1]
RenderPart = 0.06,
LineWidth = 2,
ShowTimeStamps = false,
RenderFullTrail = false,
-- Time interval
TimeRange = {
Start = "2016 SEP 8 23:05:00.50",
End = "2023 SEP 24 12:00:00",
Type = "RenderableTrailTrajectory",
Translation = {
Type = "SpiceTranslation",
Body = "OSIRIS-REX",
Observer = BENNU_BODY,
},
SampleDeltaTime = 3600, -- Seconds between each point
SubSamples = 3,
Color = { 0.9, 0.2, 0.9 },
StartTime = "2016 SEP 8 23:05:00.50",
EndTime = "2023 SEP 24 12:00:00",
SampleInterval = 3600,
},
},
}

View File

@@ -82,34 +82,24 @@ return {
},
},
},
-- 67P Trail Module
-- -- 67P Trail Module
{
Name = "67PTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrailNew",
-- Spice
Body = "CHURYUMOV-GERASIMENKO",
Frame = "GALACTIC",
Observer = "SUN",
-- Optional rendering properties
LineColor = { 0.1, 0.9, 0.2 },
PointColor = { 0.1, 0.9, 0.2 },
LineFade = 0.5, -- [0,1]
RenderPart = 0.5,
LineWidth = 2,
ShowTimeStamps = false,
RenderFullTrail = false,
-- Time interval
TimeRange = {
Start = "2014 JAN 01 00:00:00.000",
End = "2017 JAN 01 00:00:00.000",
Type = "RenderableTrailTrajectory",
Translation = {
Type = "SpiceTranslation",
Body = "CHURYUMOV-GERASIMENKO",
Observer = "SUN",
},
SampleDeltaTime = 3600, -- Seconds between each point
SubSamples = 0,
Color = { 0.1, 0.9, 0.2 },
StartTime = "2014 JAN 01 00:00:00.000",
EndTime = "2017 JAN 01 00:00:00.000",
SampleInterval = 3600,
},
},
--[[
[[
{
Name = "67PTrail",
Parent = "SolarSystemBarycenter",

View File

@@ -365,52 +365,32 @@ return {
Name = "RosettaCometTrail",
Parent = "67PBarycenter",
Renderable = {
Type = "RenderableTrailNew",
-- Spice
Body = "ROSETTA",
Frame = "GALACTIC",
Observer = "CHURYUMOV-GERASIMENKO",
-- Optional rendering properties
LineColor = { 0.288, 0.375, 0.934 },
PointColor = { 0.9, 0.2, 0.9 },
LineFade = 0.0, -- [0,1]
RenderPart = 0.5, -- [0,1]
LineWidth = 2,
ShowTimeStamps = false,
RenderFullTrail = false,
-- Time interval
TimeRange = {
Start = "2014 AUG 01 12:00:00",
End = "2016 SEP 30 12:00:00"
Type = "RenderableTrailTrajectory",
Translation = {
Type = "SpiceTranslation",
Body = "ROSETTA",
Observer = "CHURYUMOV-GERASIMENKO",
},
SampleDeltaTime = 3600, -- Seconds between each point
SubSamples = 3,
Color = { 0.288, 0.375, 0.934 },
StartTime = "2014 AUG 01 12:00:00",
EndTime = "2016 SEP 30 12:00:00",
SampleInterval = 3600,
},
},
{
Name = "PhilaeTrail",
Parent = "67PBarycenter",
Renderable = {
Type = "RenderableTrailNew",
-- Spice
Body = "PHILAE",
Frame = "GALACTIC",
Observer = "CHURYUMOV-GERASIMENKO",
-- Optional rendering properties
LineColor = { 1.0, 1.0, 1.0 },
PointColor = { 0.9, 0.2, 0.9 },
LineFade = 0.0, -- [0,1]
RenderPart = 0.5, -- [0,1]
LineWidth = 2,
ShowTimeStamps = false,
RenderFullTrail = false,
-- Time interval
TimeRange = {
Start = "2014 NOV 12 08:35:00",
End = "2014 NOV 12 17:00:00"
Type = "RenderableTrailTrajectory",
Translation = {
Type = "SpiceTranslation",
Body = "PHILAE",
Observer = "CHURYUMOV-GERASIMENKO",
},
SampleDeltaTime = 2, -- Seconds between each point
SubSamples = 0,
Color = { 0.8, 0.5, 1.0 },
StartTime = "2014 NOV 12 08:35:00",
EndTime = "2014 NOV 12 17:00:00",
SampleInterval = 2,
},
},
{

View File

@@ -47,19 +47,15 @@ return {
Name = "MoonTrail",
Parent = "EarthBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "MOON",
Frame = "GALACTIC",
Observer = "EARTH BARYCENTER",
RGB = { 0.5, 0.3, 0.3 },
TropicalOrbitPeriod = 60,
EarthOrbitRatio = 0.01,
DayLength = 1.0,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "MOON",
Observer = "EARTH BARYCENTER",
},
Color = { 0.5, 0.3, 0.3 },
Period = 27,
Resolution = 1000
},
}
}

View File

@@ -40,19 +40,15 @@ return {
Name = "NeptuneTrail",
Parent = "NeptuneBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "NEPTUNE BARYCENTER",
Frame = "GALACTIC",
Observer = "SUN",
RGB = {0.2, 0.5, 1.0 },
TropicalOrbitPeriod = 59799.9 ,
EarthOrbitRatio = 163.73,
DayLength = 16.11,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "NEPTUNE BARYCENTER",
Observer = "SUN",
},
Color = {0.2, 0.5, 1.0 },
Period = 60200,
Resolution = 1000
},
}
}

View File

@@ -85,42 +85,49 @@ return {
Name = "CharonTrail",
Parent = "PlutoBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "CHARON",
Frame = "GALACTIC",
Observer = "PLUTO BARYCENTER",
RGB = {0.00,0.62,1.00},
TropicalOrbitPeriod = 120 ,
EarthOrbitRatio = 0.03,
DayLength = 1,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "CHARON",
Observer = "PLUTO BARYCENTER",
},
Color = {0.00,0.62,1.00},
Period = 6.38725,
Resolution = 1000,
},
}
--[[
},
-- PlutoTrail module
{
Name = "PlutoTrail",
Name = "PlutoTrailSolarSystem",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "PLUTO BARYCENTER",
Frame = "GALACTIC",
Observer = "SUN",
RGB = {0.58, 0.61, 1.00},
TropicalOrbitPeriod = 59799.9 ,
EarthOrbitRatio = 163.73,
DayLength = 16.11,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "PLUTO BARYCENTER",
Observer = "SUN",
},
Color = {0.58, 0.61, 1.00},
Period = 247.92 * 365.242,
Resolution = 1000
},
GuiName = "/Solar/PlutoTrail"
},
{
Name = "PlutoTrailPluto",
Parent = "PlutoBarycenter",
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "PLUTO",
Observer = "PLUTO BARYCENTER",
},
Color = {0.58, 0.61, 1.00},
Period = 6.38725,
Resolution = 1000
},
GuiName = "/Solar/PlutoTrail"
}
--]]
}

View File

@@ -57,7 +57,7 @@ return {
"jupiter/jupiter",
"saturn/saturn",
"uranus",
"neptune",
-- "neptune",
"stars",
"milkyway",
"missions/rosetta",

View File

@@ -33,14 +33,15 @@ return {
Name = "DioneTrail",
Parent = "SaturnBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "DIONE",
Frame = "GALACTIC",
Observer = "SATURN BARYCENTER",
RGB = { 0.5, 0.3, 0.3 },
TropicalOrbitPeriod = 60,
EarthOrbitRatio = 0.0075,
DayLength = 0.9424218
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "DIONE",
Observer = "SATURN BARYCENTER",
},
Color = { 0.5, 0.3, 0.3 },
Period = 66 / 24,
Resolution = 1000
}
}
}

View File

@@ -33,14 +33,15 @@ return {
Name = "EnceladusTrail",
Parent = "SaturnBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "ENCELADUS",
Frame = "GALACTIC",
Observer = "SATURN BARYCENTER",
RGB = { 0.5, 0.3, 0.3 },
TropicalOrbitPeriod = 60,
EarthOrbitRatio = 0.005,
DayLength = 0.9424218
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "ENCELADUS",
Observer = "SATURN BARYCENTER",
},
Color = { 0.5, 0.3, 0.3 },
Period = 33 / 24,
Resolution = 1000
}
}
}

View File

@@ -33,14 +33,15 @@ return {
Name = "IapetusTrail",
Parent = "SaturnBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "IAPETUS",
Frame = "GALACTIC",
Observer = "SATURN BARYCENTER",
RGB = { 0.5, 0.3, 0.3 },
TropicalOrbitPeriod = 60,
EarthOrbitRatio = 0.1,
DayLength = 0.9424218
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "IAPETUS",
Observer = "SATURN BARYCENTER",
},
Color = { 0.5, 0.3, 0.3 },
Period = 79,
Resolution = 1000
}
}
}

View File

@@ -33,14 +33,15 @@ return {
Name = "MimasTrail",
Parent = "SaturnBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "MIMAS",
Frame = "GALACTIC",
Observer = "SATURN BARYCENTER",
RGB = { 0.5, 0.3, 0.3 },
TropicalOrbitPeriod = 60,
EarthOrbitRatio = 0.0025,
DayLength = 0.9424218
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "MIMAS",
Observer = "SATURN BARYCENTER",
},
Color = { 0.5, 0.3, 0.3 },
Period = 23 / 24,
Resolution = 1000
}
}
}

View File

@@ -33,14 +33,15 @@ return {
Name = "RheaTrail",
Parent = "SaturnBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "RHEA",
Frame = "GALACTIC",
Observer = "SATURN BARYCENTER",
RGB = { 0.5, 0.3, 0.3 },
TropicalOrbitPeriod = 60,
EarthOrbitRatio = 0.01,
DayLength = 0.9424218
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "RHEA",
Observer = "SATURN BARYCENTER",
},
Color = { 0.5, 0.3, 0.3 },
Period = 108 / 24,
Resolution = 1000
}
}
}

View File

@@ -65,19 +65,15 @@ return {
Name = "SaturnTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "SATURN BARYCENTER",
Frame = "GALACTIC",
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "SATURN BARYCENTER",
Observer = "SUN",
RGB = {0.85,0.75,0.51 },
TropicalOrbitPeriod = 10746.94 ,
EarthOrbitRatio = 29.424,
DayLength = 10.656,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
},
Color = {0.85,0.75,0.51 },
Period = 10746.94,
Resolution = 1000
},
}
}

View File

@@ -33,14 +33,15 @@ return {
Name = "TethysTrail",
Parent = "SaturnBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "TETHYS",
Frame = "GALACTIC",
Observer = "SATURN BARYCENTER",
RGB = { 0.5, 0.3, 0.3 },
TropicalOrbitPeriod = 60,
EarthOrbitRatio = 0.005,
DayLength = 0.9424218
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "TETHYS",
Observer = "SATURN BARYCENTER",
},
Color = { 0.5, 0.3, 0.3 },
Period = 45 / 24,
Resolution = 1000
}
}
}

View File

@@ -33,14 +33,15 @@ return {
Name = "TitanTrail",
Parent = "SaturnBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "TITAN",
Frame = "GALACTIC",
Observer = "SATURN BARYCENTER",
RGB = { 0.5, 0.3, 0.3 },
TropicalOrbitPeriod = 60,
EarthOrbitRatio = 0.05,
DayLength = 0.9424218
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "TITAN",
Observer = "SATURN BARYCENTER",
},
Color = { 0.5, 0.3, 0.3 },
Period = 16,
Resolution = 1000
}
}
}

View File

@@ -51,19 +51,15 @@ return {
Name = "UranusTrail",
Parent = "UranusBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "URANUS BARYCENTER",
Frame = "GALACTIC",
Observer = "SUN",
RGB = {0.60,0.95,1.00 },
TropicalOrbitPeriod = 30588.740 ,
EarthOrbitRatio = 83.749,
DayLength = 17.24,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "URANUS BARYCENTER",
Observer = "SUN",
},
Color = {0.60, 0.95, 1.00 },
Period = 30588.740,
Resolution = 1000
},
}
}

View File

@@ -46,19 +46,15 @@ return {
Name = "VenusTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "VENUS BARYCENTER",
Frame = "GALACTIC",
Observer = "SUN",
RGB = {1, 0.5, 0.2},
TropicalOrbitPeriod = 224.695 ,
EarthOrbitRatio = 0.615,
DayLength = 2802.0,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "VENUS BARYCENTER",
Observer = "SUN",
},
Color = { 1.0, 0.5, 0.2 },
Period = 224.695,
Resolution = 1000
},
}
}