mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-03 17:30:04 -05:00
Update function focusPosition in Camera and add a solar path for OSIRIS REx.
This commit is contained in:
@@ -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"
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user