mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 04:58:59 -05:00
Update SceneGraphNode to contain rotation information and remove rotation definition from renderable model.
This commit is contained in:
@@ -34,7 +34,18 @@ function preInitialization()
|
||||
openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/lsk/naif0011.tls")
|
||||
openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/pck/bennu_SPH250m.tpc")
|
||||
openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/pck/bennu_v10.tpc")
|
||||
|
||||
|
||||
-- Low res SPK
|
||||
openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/spk/orx_160917_231024_pgaa3_day15m60_v1.bsp")
|
||||
openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/spk/orx_160914_231024_pgaa3_day12m60_v1.bsp")
|
||||
openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/spk/orx_160908_231024_pgaa3_day06m60_v1.bsp")
|
||||
openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/spk/spk_orx_160908_231024_pgaa2_day06m60_v3.bsp")
|
||||
openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/spk/orx_160908_231024_pgaa2_day06m60.bsp")
|
||||
|
||||
openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/spk/OREX_20160908_M60_complete.bsp")
|
||||
openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/spk/OREX_20160904_M45_complete.bsp")
|
||||
|
||||
-- SPK
|
||||
openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/spk/de421.bsp")
|
||||
openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/spk/sb-101955-76.bsp")
|
||||
|
||||
@@ -136,7 +147,7 @@ function preInitialization()
|
||||
-- openspace.time.setTime("2015-07-12T22:19:20.00")
|
||||
-- openspace.time.setTime("2015-07-13T20:59:00.00")
|
||||
-- openspace.time.setTime("2015-07-14T02:41:55.00")
|
||||
openspace.time.setTime("2019-01-13T19:18:00.00")
|
||||
openspace.time.setTime("2016-09-08T00:00:00.00")
|
||||
openspace.time.setDeltaTime(0)
|
||||
end
|
||||
|
||||
|
||||
@@ -19,17 +19,12 @@ return {
|
||||
Type = "simple",
|
||||
Color = "textures/osirisTex.png",
|
||||
},
|
||||
Rotation = {
|
||||
Source = "ORX_SPACECRAFT",
|
||||
Destination = "GALACTIC"
|
||||
},
|
||||
Shading = {
|
||||
PerformShading = true,
|
||||
Fadeable = false,
|
||||
Ghosting = false,
|
||||
},
|
||||
},
|
||||
|
||||
Ephemeris = {
|
||||
Type = "Spice",
|
||||
Body = "OSIRIS-REX",
|
||||
@@ -37,6 +32,10 @@ return {
|
||||
Reference = "GALACTIC",
|
||||
Observer = BENNU_BODY,
|
||||
},
|
||||
Rotation = {
|
||||
Source = "ORX_SPACECRAFT",
|
||||
Destination = "GALACTIC"
|
||||
},
|
||||
|
||||
GuiName = "/Solar/OsirisRex"
|
||||
},
|
||||
@@ -60,7 +59,7 @@ return {
|
||||
DrawLine = true,
|
||||
|
||||
StartTime = "2016 SEP 8 12:00:00",
|
||||
EndTime = "2022 OCT 17 12:00:00"
|
||||
EndTime = "2023 SEP 24 12:00:00"
|
||||
},
|
||||
GuiName = "/Solar/OsirisRexTrail"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user