Update function focusPosition in Camera and add a solar path for OSIRIS REx.

This commit is contained in:
Kalle Bladin
2016-08-12 16:13:24 -04:00
parent fd5355b00f
commit b0d8dd59f4
4 changed files with 67 additions and 9 deletions
+61 -2
View File
@@ -40,8 +40,67 @@ return {
GuiName = "/Solar/OsirisRex"
},
{
Name = "ORX_OCAMS_POLYCAM",
Parent = "OsirisRex",
Renderable = {
Type = "RenderableModel",
Body = "OSIRIS-REX",
Geometry = {
Type = "MultiModelGeometry",
GeometryFile = "models/Osiris.obj",
Magnification = 0,
},
Textures = {
Type = "simple",
Color = "textures/osirisTex.png",
},
Shading = {
PerformShading = true,
Fadeable = false,
Ghosting = false,
},
},
Ephemeris = {
Type = "Spice",
Body = "OSIRIS-REX",
-- Reference = "ECLIPJ2000",
Reference = "GALACTIC",
Observer = BENNU_BODY,
},
Rotation = {
Source = "ORX_SPACECRAFT",
Destination = "GALACTIC"
},
GuiName = "/Solar/OsirisRex"
},
{
Name = "OsirisRexPath",
Name = "OsirisRexPathSolar",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderablePath",
Body = "OSIRIS-REX",
Frame = "GALACTIC",
Observer = "SUN",
RGB = { 0.0, 1.0, 0.5},
TimeSteps = 86400, -- Number of seconds in a day
PointSteps = 10, -- Every 10 days
Textures = {
Type = "simple",
Color = "textures/glare_blue.png",
-- need to add different texture
},
DrawLine = true,
StartTime = "2016 SEP 8 12:00:00",
EndTime = "2023 SEP 24 12:00:00"
},
GuiName = "/Solar/OsirisRexPathSolar"
},
{
Name = "OsirisRexPathLocal",
Parent = "Bennu2",
Renderable = {
Type = "RenderablePath",
@@ -61,6 +120,6 @@ return {
StartTime = "2016 SEP 8 12:00:00",
EndTime = "2023 SEP 24 12:00:00"
},
GuiName = "/Solar/OsirisRexTrail"
GuiName = "/Solar/OsirisRexPathLocal"
},
}