Update new new horizons to use new renderables.

This commit is contained in:
Kalle Bladin
2016-08-24 11:44:12 -04:00
parent ed98107214
commit e2730a45ea
3 changed files with 39 additions and 8 deletions

View File

@@ -1,18 +1,20 @@
return {
-- Latest image taken by LORRI
--[[
{
Name = "ImagePlane",
Parent = "NewHorizons",
Parent = "PlutoProjection",
Renderable = {
Type = "RenderablePlaneProjection",
Frame = "IAU_JUPITER",
DefaultTarget = "JUPITER",
Frame = "NH_SPACECRAFT",
DefaultTarget = "PLUTO",
Spacecraft = "NEW HORIZONS",
Instrument = "NH_LORRI",
Moving = false,
Texture = "textures/test.jpg",
Texture = "textures/squarefov.png",
},
},
-- LORRI FoV square
{
Name = "ImagePlane2",
@@ -27,6 +29,6 @@ return {
Texture = "textures/squarefov.png",
},
}
]]
}

View File

@@ -184,6 +184,34 @@ return {
GuiName = "/Solar/NewHorizons"
},
{
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"
},
SampleDeltaTime = 3600, -- Seconds between each point
SubSamples = 3,
},
GuiName = "/Solar/NewHorizonsTrailPluto"
},
--[[
-- NewHorizonsPath module
{
Name = "NewHorizonsPathPluto",
@@ -230,5 +258,6 @@ return {
EndTime = "2007 MAR 15 12:00:00"
},
GuiName = "/Solar/NewHorizonsPathJupiter"
},
},
]]
}

View File

@@ -73,14 +73,14 @@ return {
Translation = {
Type = "SpiceEphemeris",
Body = "CHARON",
Reference = "ECLIPJ2000",
Reference = "GALACTIC",
Observer = "PLUTO BARYCENTER",
Kernels = NewHorizonsKernels
},
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_CHARON",
DestinationFrame = "ECLIPJ2000"
DestinationFrame = "GALACTIC"
},
},
GuiName = "/Solar/Planets/Charon"