diff --git a/.gitignore b/.gitignore
index 1006d42b46..6d74e0d3f1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,17 +34,8 @@ log.html
ScriptLog.txt
data/scene/atmosphereearth/textures
-data/scene/dawn/ceres/textures
-data/scene/dawn/dawn/obj
-data/scene/dawn/dawn/textures
-data/scene/dawn/vestaprojection/textures
-data/scene/dawn/vestaprojection/VestaComet
data/scene/debugglobe/textures
data/scene/earth/textures
-data/scene/juno/juno/Juno.mtl
-data/scene/juno/juno/Juno.obj
-data/scene/juno/juno/spice
-data/scene/juno/juno/textures
data/scene/jupiter/callisto/textures
data/scene/jupiter/europa/textures
data/scene/jupiter/ganymede/textures
@@ -54,31 +45,47 @@ data/scene/mars/textures
data/scene/mercury/textures
data/scene/milkyway/textures
data/scene/milkyway-eso/textures
+data/scene/missions/dawn/ceres/textures
+data/scene/missions/dawn/dawn/obj
+data/scene/missions/dawn/dawn/textures
+data/scene/missions/dawn/vestaprojection/textures
+data/scene/missions/dawn/vestaprojection/VestaComet
+data/scene/missions/juno/juno/Juno.mtl
+data/scene/missions/juno/juno/Juno.obj
+data/scene/missions/juno/juno/spice
+data/scene/missions/juno/juno/textures
+data/scene/missions/newhorizons/jupiter/callisto/textures
+data/scene/missions/newhorizons/jupiter/europa/textures
+data/scene/missions/newhorizons/jupiter/ganymede/textures
+data/scene/missions/newhorizons/jupiter/io/textures
+data/scene/missions/newhorizons/jupiter/jupiter/ProjectionsOfInterest
+data/scene/missions/newhorizons/newhorizons/models
+data/scene/missions/newhorizons/newhorizons/textures
+data/scene/missions/newhorizons/pluto/charon/textures
+data/scene/missions/newhorizons/pluto/pluto/assets
+data/scene/missions/newhorizons/pluto/pluto/full_images
+data/scene/missions/newhorizons/pluto/pluto/images
+data/scene/missions/newhorizons/pluto/pluto/textures
+data/scene/missions/osirisrex/bennu/models
+data/scene/missions/osirisrex/bennu/textures
+data/scene/missions/osirisrex/osirisrex/models
+data/scene/missions/osirisrex/osirisrex/textures
+data/scene/missions/rosetta/67P/obj
+data/scene/missions/rosetta/67P/rosettaimages
+data/scene/missions/rosetta/67P/textures
+data/scene/missions/rosetta/rosetta/rosetta
+data/scene/missions/rosetta/rosetta/textures
data/scene/moon/textures
data/scene/neptune/textures
-data/scene/newhorizons/jupiter/callisto/textures
-data/scene/newhorizons/jupiter/europa/textures
-data/scene/newhorizons/jupiter/ganymede/textures
-data/scene/newhorizons/jupiter/io/textures
-data/scene/newhorizons/jupiter/jupiter/ProjectionsOfInterest
-data/scene/newhorizons/newhorizons/models
-data/scene/newhorizons/newhorizons/textures
-data/scene/newhorizons/pluto/charon/textures
-data/scene/newhorizons/pluto/pluto/assets
-data/scene/newhorizons/pluto/pluto/full_images
-data/scene/newhorizons/pluto/pluto/images
-data/scene/newhorizons/pluto/pluto/textures
-data/scene/osirisrex/bennu/models
-data/scene/osirisrex/bennu/textures
-data/scene/osirisrex/osirisrex/models
-data/scene/osirisrex/osirisrex/textures
data/scene/pluto/textures
-data/scene/saturn/textures
-data/scene/rosetta/67P/obj
-data/scene/rosetta/67P/rosettaimages
-data/scene/rosetta/67P/textures
-data/scene/rosetta/rosetta/rosetta
-data/scene/rosetta/rosetta/textures
+data/scene/saturn/dione/textures
+data/scene/saturn/enceladus/textures
+data/scene/saturn/iapetus/textures
+data/scene/saturn/mimas/textures
+data/scene/saturn/rhea/textures
+data/scene/saturn/saturn/textures
+data/scene/saturn/tethys/textures
+data/scene/saturn/titan/textures
data/scene/stars/colorbv.cmap
data/scene/stars/speck
data/scene/stars/textures
@@ -90,11 +97,11 @@ data/scene/uranus/textures
data/scene/venus/textures
data/scene/volumetricmilkyway/milkyway
data/spice/DawnKernels
-data/spice/jup260.bsp
data/spice/de430_1850-2150.bsp
+data/spice/jup260.bsp
data/spice/MAR063.BSP
data/spice/NewHorizonsKernels
data/spice/nh_kernels
data/spice/OsirisRexKernels
data/spice/Rosetta
-
+data/spice/sat375.bsp
diff --git a/data/scene/atmosphereearth.scene b/data/scene/atmosphereearth.scene
index bc120bbd57..914c040ca7 100644
--- a/data/scene/atmosphereearth.scene
+++ b/data/scene/atmosphereearth.scene
@@ -10,7 +10,7 @@ function preInitialization()
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
openspace.time.setTime(openspace.time.currentWallTime())
- dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
+ dofile(openspace.absPath('${SCRIPTS}/bind_common_keys.lua'))
end
function postInitialization()
diff --git a/data/scene/dawn.scene b/data/scene/dawn.scene
index 74ad519767..6ae70e3fb9 100644
--- a/data/scene/dawn.scene
+++ b/data/scene/dawn.scene
@@ -10,7 +10,7 @@ function preInitialization()
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
openspace.time.setTime("2011 AUG 06 00:00:00")
- dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
+ dofile(openspace.absPath('${SCRIPTS}/bind_common_keys.lua'))
end
function postInitialization()
@@ -46,18 +46,14 @@ return {
"venus",
"earth",
"mars",
- "jupiter",
- "saturn",
+ "jupiter/jupiter",
+ "saturn/saturn",
"uranus",
"neptune",
"pluto",
"stars",
"milkyway",
- "rosetta",
- "67P",
- "dawn",
- "vestaprojection",
- "ceres"
+ "missions/dawn"
}
}
diff --git a/data/scene/debugmodel.scene b/data/scene/debugmodel.scene
deleted file mode 100644
index c53596b87e..0000000000
--- a/data/scene/debugmodel.scene
+++ /dev/null
@@ -1,53 +0,0 @@
--- TextureResolution = "low"
-TextureResolution = "med"
--- TextureResolution = "high"
-
-function preInitialization()
- --[[
- The scripts in this function are executed after the scene is loaded but before the
- scene elements have been initialized, thus they should be used to set the time at
- which the scene should start and other settings that might determine initialization
- critical objects.
- ]]--
-
- dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
-
- openspace.spice.loadKernel("${SPICE}/naif0011.tls")
- openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
-
- openspace.time.setTime("2018-10-25T04:00:00.00")
- openspace.time.setDeltaTime(0)
-end
-
-function postInitialization()
- --[[
- The scripts in this function are executed after all objects in the scene have been
- created and initialized, but before the first render call. This is the place to set
- graphical settings for the renderables.
- ]]--
- openspace.printInfo("Setting default values")
-
- openspace.setPropertyValue("Sun.renderable.enabled", false)
- openspace.setPropertyValue("SunGlare.renderable.enabled", false)
- openspace.setPropertyValue("SunMarker.renderable.enabled", false)
-
- openspace.printInfo("Done setting default values")
-
- openspace.resetCameraDirection()
-end
-
-return {
- ScenePath = ".",
- CommonFolder = "common",
- Camera = {
- Focus = "DebugModel",
- Position = {292946.630948, 377755.961928, 366248.427057},
- Rotation = {0.732615, -0.137003, 0.430036, 0.509485},
- },
- Modules = {
- "sun",
- "stars",
- "debugmodel",
- }
-}
-
diff --git a/data/scene/default-moon.scene b/data/scene/default-moon.scene
deleted file mode 100644
index 90748de3bf..0000000000
--- a/data/scene/default-moon.scene
+++ /dev/null
@@ -1,93 +0,0 @@
-function preInitialization()
- --[[
- The scripts in this function are executed after the scene is loaded but before the
- scene elements have been initialized, thus they should be used to set the time at
- which the scene should start and other settings that might determine initialization
- critical objects.
- ]]--
-
- --YYYY-MM-DDTHH:MN:SS
- --openspace.time.setTime(openspace.time.currentWallTime())
- --[[
- -- March 9, 2016 total eclipse times from land
- -- Palembang, South Sumatra, Indonesia
- -- Partial solar eclipse begins: 6:20 a.m. local Western Indonesian Time
- -- Total solar eclipse begins: 7:20 a.m. local time
- -- Maximum eclipse: 7:21 a.m. local time
- -- Total solar eclipse ends: 7:22 a.m. local time
- -- Partial solar eclipse ends: 8:31 a.m. local time
-
- -- 6:20 -> 23:20 day before in UTC
- ]]--
- openspace.spice.loadKernel("${SPICE}/naif0011.tls")
- openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
-
- openspace.time.setTime("2016-03-08T22:45:00")
-
-
- -- Total Lunar Eclipse Jan 31, 2018 at 10:51:13 UTC
- -- Regions seeing, at least, some parts of the eclipse: North/East Europe,
- -- Asia, Australia, North/East Africa, North America, North/East South America,
- -- Pacific, Atlantic, Indian Ocean, Arctic, Antarctica.
- --openspace.time.setTime("2018-01-31T10:30:00")
-
- --openspace.time.setDeltaTime(200.0)
- dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
-end
-
-function postInitialization()
- --[[
- The scripts in this function are executed after all objects in the scene have been
- created and initialized, but before the first render call. This is the place to set
- graphical settings for the renderables.
- ]]--
- openspace.printInfo("Setting default values")
- openspace.setPropertyValue("Sun.renderable.enabled", false)
- openspace.setPropertyValue("SunMarker.renderable.enabled", false)
- openspace.setPropertyValue("EarthMarker.renderable.enabled", false)
- --openspace.setPropertyValue("Constellation Bounds.renderable.enabled", false)
- openspace.setPropertyValue("PlutoTrail.renderable.enabled", false)
- openspace.setPropertyValue("PlutoTexture.renderable.enabled", false)
-
- openspace.setPropertyValue("MilkyWay.renderable.transparency", 0.55)
- openspace.setPropertyValue("MilkyWay.renderable.segments", 50)
-
- openspace.printInfo("Done setting default values")
-end
-
-return {
- ScenePath = ".",
- CommonFolder = "common",
- Camera = {
- Focus = "Earth",
- --Focus = "Moon",
- Position = {526781518487.171326, 257168309890.072144, -1381125204152.817383},
- Rotation = {-0.106166, 0.981574, -0.084545, 0.134513},
- },
- Modules = {
- "sun",
- "mercury",
- "venus",
- "earth",
- "moon",
- "mars",
- --"jupiter",
- "saturn",
- "uranus",
- "neptune",
- "stars",
- -- "stars-denver",
- "milkyway",
- -- "milkyway-eso",
- --"constellationbounds",
- -- "fieldlines",
- --"io",
- --"europa",
- --"ganymede",
- --"callisto",
- --"gridGalactic",
- --"gridEcliptic",
- --"gridEquatorial",
- }
-}
-
diff --git a/data/scene/default.scene b/data/scene/default.scene
index 9dc1e2802d..65cfc9d82c 100644
--- a/data/scene/default.scene
+++ b/data/scene/default.scene
@@ -10,7 +10,7 @@ function preInitialization()
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
openspace.time.setTime(openspace.time.currentWallTime())
- dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
+ dofile(openspace.absPath('${SCRIPTS}/bind_common_keys.lua'))
end
@@ -21,7 +21,7 @@ function postInitialization()
graphical settings for the renderables.
]]--
openspace.printInfo("Setting default values")
- openspace.setPropertyValue("Sun.renderable.enab`led", true)
+ openspace.setPropertyValue("Sun.renderable.enabled", true)
openspace.setPropertyValue("SunGlare.renderable.enabled", false)
openspace.setPropertyValue("SunMarker.renderable.enabled", false)
openspace.setPropertyValue("EarthMarker.renderable.enabled", false)
@@ -35,17 +35,7 @@ function postInitialization()
openspace.printInfo("Done setting default values")
if openspace.modules.isLoaded("ISWA") then
-
openspace.iswa.addCdfFiles("${OPENSPACE_DATA}/cdflist.json");
-
- --openspace.iswa.addCygnet(7);
-
- --openspace.iswa.addCygnet(-4,"Data","Gm");
- --openspace.iswa.addCygnet(-5,"Data","Gm");
- --openspace.iswa.addCygnet(-6,"Data","Gm");
- --openspace.iswa.addCygnet(-7,"Data","Gm");
- --openspace.iswa.addCygnet(-8,"Data","Gm");
- --openspace.iswa.addCygnet(-9,"Data","Gm");
end
end
@@ -55,8 +45,8 @@ return {
CommonFolder = "common",
Camera = {
Focus = "Earth",
- Position = {526781518487.171326, 257168309890.072144, -1381125204152.817383},
- Rotation = {-0.106166, 0.981574, -0.084545, 0.134513},
+ Position = {505370268486.696167, 1089706179272.719116, -890259148524.319458},
+ Rotation = {0.250635, -0.028751, 0.879269, 0.404030},
},
Modules = {
"sun",
diff --git a/data/scene/earth/earth.mod b/data/scene/earth/earth.mod
index 2a20e2d275..d59d6bec41 100644
--- a/data/scene/earth/earth.mod
+++ b/data/scene/earth/earth.mod
@@ -3,6 +3,14 @@ return {
{
Name = "EarthBarycenter",
Parent = "SolarSystemBarycenter",
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "EARTH",
+ Observer = "SUN",
+ Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
+ }
+ }
},
-- Earth module
{
@@ -30,12 +38,6 @@ return {
}
},
Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Body = "EARTH",
- Observer = "SUN",
- Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
- },
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_EARTH",
@@ -51,7 +53,7 @@ return {
-- EarthTrail module
{
Name = "EarthTrail",
- Parent = "EarthBarycenter",
+ Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "EARTH",
diff --git a/data/scene/fieldlines.scene b/data/scene/fieldlines.scene
index 43068d7b75..3cee4bf1e3 100644
--- a/data/scene/fieldlines.scene
+++ b/data/scene/fieldlines.scene
@@ -10,7 +10,7 @@ function preInitialization()
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
openspace.time.setTime("2015 JAN 01 12:00:00.000")
- dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
+ dofile(openspace.absPath('${SCRIPTS}/bind_common_keys.lua'))
end
function postInitialization()
diff --git a/data/scene/globebrowsing-debug.scene b/data/scene/globebrowsing-debug.scene
deleted file mode 100644
index ef64c4ef0d..0000000000
--- a/data/scene/globebrowsing-debug.scene
+++ /dev/null
@@ -1,46 +0,0 @@
-function preInitialization()
- --[[
- The scripts in this function are executed after the scene is loaded but before the
- scene elements have been initialized, thus they should be used to set the time at
- which the scene should start and other settings that might determine initialization
- critical objects.
- ]]--
-
- --openspace.time.setTime(openspace.time.currentWallTime())
- openspace.spice.loadKernel("${SPICE}/naif0011.tls")
- openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
-
- openspace.time.setTime("2015 NOV 24 00:00:00")
-
-
- dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
-end
-
-function postInitialization()
- openspace.printInfo("Setting default values")
-
- openspace.setInteractionMode('GlobeBrowsing')
-
- openspace.time.setDeltaTime(0)
- openspace.restoreCameraStateFromFile("debugstart.view")
- openspace.resetCameraDirection()
- openspace.gui.show()
-
- openspace.printInfo("Done setting default values")
-end
-
-
-return {
- ScenePath = ".",
- CommonFolder = "common",
- Camera = {
- Focus = "DebugGlobe",
- Position = {3428016.852415, 616607.056698, 60430.587719},
- Rotation = {0.178551, -0.280661, 0.916566, 0.221935},
- },
-
- Modules = {
- "debugglobe"
- }
-}
-
diff --git a/data/scene/globebrowsing.scene b/data/scene/globebrowsing.scene
index b26bbf9099..e26333a9a2 100644
--- a/data/scene/globebrowsing.scene
+++ b/data/scene/globebrowsing.scene
@@ -10,43 +10,42 @@ function preInitialization()
openspace.spice.loadKernel("${SPICE}/naif0011.tls")
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
- openspace.time.setTime("2015 NOV 24 00:00:00")
-
openspace.time.setTime(openspace.time.currentWallTime())
- dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
+ dofile(openspace.absPath('${SCRIPTS}/bind_common_keys.lua'))
- -- Toggle trails
- openspace.bindKey("t",
- helper.property.invert('EarthTrail.renderable.enabled') ..
- helper.property.invert('MarsTrail.renderable.enabled') ..
- helper.property.invert('MoonTrail.renderable.enabled')
- )
-
-- Toggle night texture, shading, atmosphere and water
openspace.bindKey("s",
helper.property.invert('Earth.RenderableGlobe.Layers.NightLayers.Earth at Night 2012.enabled') ..
helper.property.invert('Earth.RenderableGlobe.performShading') ..
helper.property.invert('Earth.RenderableGlobe.atmosphere') ..
- helper.property.invert('Earth.RenderableGlobe.Layers.WaterMasks.MODIS_Water_Mask.enabled')
+ helper.property.invert('Earth.RenderableGlobe.Layers.WaterMasks.MODIS_Water_Mask.enabled'),
+ "Toggle night texture, shading, atmosphere, and water for Earth."
)
-- Toggle background
openspace.bindKey("b",
helper.property.invert('MilkyWay.renderable.enabled') ..
- helper.property.invert('Sun.renderable.enabled') ..
- helper.property.invert('Moon.RenderableGlobe.enabled') ..
- helper.property.invert('Mars.RenderableGlobe.enabled') ..
- helper.property.invert('Stars.renderable.enabled')
+ helper.property.invert('Stars.renderable.enabled'),
+ "Toggle background (Stars and Milkyway)."
)
+ --[[
+ -- Toggle trails
+ openspace.bindKey("o",
+ 'openspace.setPropertyValue("*Trail.renderable.enabled", false)'
+ )
+ openspace.bindKey("p",
+ 'openspace.setPropertyValue("*Trail.renderable.enabled", true)'
+ )
+
+]]
end
function postInitialization()
openspace.printInfo("Setting default values")
openspace.setInteractionMode('GlobeBrowsing')
- --openspace.restoreCameraStateFromFile("camera_lookat_planet.lua")
openspace.setPropertyValue("MilkyWay.renderable.transparency", 0.55)
openspace.setPropertyValue("MilkyWay.renderable.segments", 50)
@@ -60,7 +59,6 @@ function postInitialization()
openspace.setPropertyValue("Earth.RenderableGlobe.Layers.NightLayers.Earth at Night 2012.settings.multiplier", 10)
openspace.resetCameraDirection()
- openspace.time.setDeltaTime(0)
openspace.printInfo("Done setting default values")
end
@@ -70,16 +68,13 @@ return {
ScenePath = ".",
CommonFolder = "common",
Camera = {
- Focus = "Mars",
+ Focus = "Earth",
Position = {138530625167.228241, 42217005217.825005, -46336405755.934372},
Rotation = {0.633883, 0.492158, -0.123913, -0.583625},
},
Modules = {
- "lodearth",
- "lodmoon",
- "lodmars",
- --"lodmercury",
+ "lodglobes",
"sun",
"stars",
"milkyway",
diff --git a/data/scene/juno.scene b/data/scene/juno.scene
index 346b872c2d..f63276e744 100755
--- a/data/scene/juno.scene
+++ b/data/scene/juno.scene
@@ -9,7 +9,6 @@ function preInitialization()
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
openspace.time.setTime("2016-07-05T10:05:00.00")
- openspace.time.setDeltaTime(0)
dofile(openspace.absPath('${SCRIPTS}/common.lua'))
openspace.clearKeys()
@@ -18,8 +17,6 @@ function preInitialization()
1, 5, 10, 20, 40, 90, 360, 720, 2880, 14400,
28800, 57600, 115200, 230400, 460800, 921600, 1843200, 3686400, 7372800, 14745600
})
-
- openspace.bindKey("F6", "openspace.setPropertyValue('Interaction.coordinateSystem', 'Jupiter');");
end
function postInitialization()
@@ -55,12 +52,12 @@ return {
"earth",
"mars",
"jupiter",
- "saturn",
+ "saturn/saturn",
"uranus",
"neptune",
"stars",
"milkyway",
- "juno"
+ "missions/juno"
}
}
diff --git a/data/scene/jupiter/europa/europa.mod b/data/scene/jupiter/europa/europa.mod
index e4dc06dcbc..38d973e463 100644
--- a/data/scene/jupiter/europa/europa.mod
+++ b/data/scene/jupiter/europa/europa.mod
@@ -33,11 +33,7 @@ return {
Type = "SpiceRotation",
SourceFrame = "IAU_EUROPA",
DestinationFrame = "IAU_JUPITER",
- },
- Scale = {
- Type = "StaticScale",
- Scale = 1,
- },
+ }
}
},
-- EuropaTrail module
diff --git a/data/scene/newhorizons/newhorizons/jup260.bsp.torrent b/data/scene/jupiter/jupiter/jup260.bsp.torrent
similarity index 100%
rename from data/scene/newhorizons/newhorizons/jup260.bsp.torrent
rename to data/scene/jupiter/jupiter/jup260.bsp.torrent
diff --git a/data/scene/jupiter/jupiter/jupiter.data b/data/scene/jupiter/jupiter/jupiter.data
index 34dcaf0900..b22e81119b 100644
--- a/data/scene/jupiter/jupiter/jupiter.data
+++ b/data/scene/jupiter/jupiter/jupiter.data
@@ -2,4 +2,7 @@ return {
FileRequest = {
{ Identifier = "jupiter_textures", Destination = "textures", Version = 1 }
},
+ TorrentFiles = {
+ { File = "jup260.bsp.torrent", Destination = "${SPICE}" },
+ }
}
\ No newline at end of file
diff --git a/data/scene/lodearth/textures/test_tile.png b/data/scene/lodearth/textures/test_tile.png
deleted file mode 100644
index cb16c0952f..0000000000
Binary files a/data/scene/lodearth/textures/test_tile.png and /dev/null differ
diff --git a/data/scene/newhorizons/jupiter/callisto/callisto.data b/data/scene/lodglobes/lodcallisto/callisto.data
similarity index 100%
rename from data/scene/newhorizons/jupiter/callisto/callisto.data
rename to data/scene/lodglobes/lodcallisto/callisto.data
diff --git a/data/scene/lodglobes/lodcallisto/lodcallisto.mod b/data/scene/lodglobes/lodcallisto/lodcallisto.mod
new file mode 100644
index 0000000000..7b2ce90f05
--- /dev/null
+++ b/data/scene/lodglobes/lodcallisto/lodcallisto.mod
@@ -0,0 +1,62 @@
+return {
+ -- RenderableGlobe module
+ {
+ Name = "Callisto",
+ Parent = "JupiterBarycenter",
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_CALLISTO",
+ DestinationFrame = "GALACTIC",
+ },
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "CALLISTO",
+ Observer = "JUPITER BARYCENTER",
+ Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
+ },
+ Scale = {
+ Type = "StaticScale",
+ Scale = 1,
+ },
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = {2631000, 2631000, 2631000},
+ CameraMinHeight = 300,
+ InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
+ SegmentsPerPatch = 64,
+ Layers = {
+ ColorLayers = {
+ {
+ Name = "Callisto Texture",
+ FilePath = "textures/callisto.jpg",
+ Enabled = true,
+ MinimumPixelSize = 112,
+ },
+ },
+ GrayScaleLayers = { },
+ GrayScaleColorOverlays = { },
+ NightLayers = { },
+ WaterMasks = { },
+ ColorOverlays = { },
+ HeightLayers = { },
+ },
+ }
+ },
+ -- Trail module
+ {
+ 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,
+ }
+ },
+}
diff --git a/data/scene/lodglobes/lodearth/earth.data b/data/scene/lodglobes/lodearth/earth.data
new file mode 100644
index 0000000000..e168d4c8be
--- /dev/null
+++ b/data/scene/lodglobes/lodearth/earth.data
@@ -0,0 +1,5 @@
+return {
+ FileRequest = {
+ { Identifier = "earth_textures", Destination = "textures", Version = 2 }
+ },
+}
diff --git a/data/scene/lodearth/lodearth.mod b/data/scene/lodglobes/lodearth/lodearth.mod
similarity index 92%
rename from data/scene/lodearth/lodearth.mod
rename to data/scene/lodglobes/lodearth/lodearth.mod
index aecaf518fb..d3622c8e10 100644
--- a/data/scene/lodearth/lodearth.mod
+++ b/data/scene/lodglobes/lodearth/lodearth.mod
@@ -63,12 +63,13 @@ return {
},
{
Type = "Temporal",
- Name = "Temporal MODIS Aqua CorrectedRecflectance TrueColor",
- FilePath = "map_service_configs/GIBS/Temporal_MODIS_Aqua_CorrectedReflectance_TrueColor.xml",
+ Name = "Temporal_GHRSST_L4_MUR_Sea_Surface_Temperature",
+ FilePath = "map_service_configs/GIBS/Temporal_GHRSST_L4_MUR_Sea_Surface_Temperature.xml",
},
{
Name = "VIIRS_SNPP_CorrectedReflectance_TrueColor",
FilePath = "map_service_configs/GIBS/VIIRS_SNPP_CorrectedReflectance_TrueColor.xml",
+ Enabled = true,
},
{
Type = "SingleImage",
@@ -76,12 +77,8 @@ return {
FilePath = "textures/test_tile.png",
},
},
- GrayScaleLayers = {
-
- },
- GrayScaleColorOverlays = {
-
- },
+ GrayScaleLayers = { },
+ GrayScaleColorOverlays = { },
NightLayers = {
{
Name = "Earth at Night 2012",
@@ -113,7 +110,7 @@ return {
Type = "SizeReference",
Name = "Size Reference",
Radii = earthEllipsoid,
- BackgroundImagePath = "../debugglobe/textures/arrows.png",
+ BackgroundImagePath = "../../debugglobe/textures/arrows.png",
},
},
HeightLayers = {
diff --git a/data/scene/lodearth/map_service_configs/ESRI/ESRI_Imagery_World_2D.wms b/data/scene/lodglobes/lodearth/map_service_configs/ESRI/ESRI_Imagery_World_2D.wms
similarity index 83%
rename from data/scene/lodearth/map_service_configs/ESRI/ESRI_Imagery_World_2D.wms
rename to data/scene/lodglobes/lodearth/map_service_configs/ESRI/ESRI_Imagery_World_2D.wms
index ef90f48509..dfaa82712b 100644
--- a/data/scene/lodearth/map_service_configs/ESRI/ESRI_Imagery_World_2D.wms
+++ b/data/scene/lodglobes/lodearth/map_service_configs/ESRI/ESRI_Imagery_World_2D.wms
@@ -13,12 +13,10 @@
512
3
5
-
+ false
\ No newline at end of file
diff --git a/data/scene/lodearth/map_service_configs/ESRI/TERRAIN.wms b/data/scene/lodglobes/lodearth/map_service_configs/ESRI/TERRAIN.wms
similarity index 100%
rename from data/scene/lodearth/map_service_configs/ESRI/TERRAIN.wms
rename to data/scene/lodglobes/lodearth/map_service_configs/ESRI/TERRAIN.wms
diff --git a/data/scene/lodearth/map_service_configs/GIBS/Coastlines.xml b/data/scene/lodglobes/lodearth/map_service_configs/GIBS/Coastlines.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/GIBS/Coastlines.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/GIBS/Coastlines.xml
diff --git a/data/scene/lodearth/map_service_configs/GIBS/GIBS_Aqua_MODIS_true.xml b/data/scene/lodglobes/lodearth/map_service_configs/GIBS/GIBS_Aqua_MODIS_true.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/GIBS/GIBS_Aqua_MODIS_true.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/GIBS/GIBS_Aqua_MODIS_true.xml
diff --git a/data/scene/lodearth/map_service_configs/GIBS/MODIS_Terra_Brightness_Temp_Band31_Day.xml b/data/scene/lodglobes/lodearth/map_service_configs/GIBS/MODIS_Terra_Brightness_Temp_Band31_Day.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/GIBS/MODIS_Terra_Brightness_Temp_Band31_Day.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/GIBS/MODIS_Terra_Brightness_Temp_Band31_Day.xml
diff --git a/data/scene/lodearth/map_service_configs/GIBS/MODIS_Terra_CorrectedReflectance_TrueColor.xml b/data/scene/lodglobes/lodearth/map_service_configs/GIBS/MODIS_Terra_CorrectedReflectance_TrueColor.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/GIBS/MODIS_Terra_CorrectedReflectance_TrueColor.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/GIBS/MODIS_Terra_CorrectedReflectance_TrueColor.xml
diff --git a/data/scene/lodearth/map_service_configs/GIBS/MODIS_Terra_CorrectedReflectance_TrueColor_temporal.xml b/data/scene/lodglobes/lodearth/map_service_configs/GIBS/MODIS_Terra_CorrectedReflectance_TrueColor_temporal.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/GIBS/MODIS_Terra_CorrectedReflectance_TrueColor_temporal.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/GIBS/MODIS_Terra_CorrectedReflectance_TrueColor_temporal.xml
diff --git a/data/scene/lodearth/map_service_configs/GIBS/MODIS_Water_Mask.xml b/data/scene/lodglobes/lodearth/map_service_configs/GIBS/MODIS_Water_Mask.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/GIBS/MODIS_Water_Mask.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/GIBS/MODIS_Water_Mask.xml
diff --git a/data/scene/lodearth/map_service_configs/GIBS/Reference_Features.xml b/data/scene/lodglobes/lodearth/map_service_configs/GIBS/Reference_Features.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/GIBS/Reference_Features.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/GIBS/Reference_Features.xml
diff --git a/data/scene/lodearth/map_service_configs/GIBS/Reference_Labels.xml b/data/scene/lodglobes/lodearth/map_service_configs/GIBS/Reference_Labels.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/GIBS/Reference_Labels.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/GIBS/Reference_Labels.xml
diff --git a/data/scene/lodearth/map_service_configs/GIBS/TERRA_CR_B143_2016-04-12.wms b/data/scene/lodglobes/lodearth/map_service_configs/GIBS/TERRA_CR_B143_2016-04-12.wms
similarity index 100%
rename from data/scene/lodearth/map_service_configs/GIBS/TERRA_CR_B143_2016-04-12.wms
rename to data/scene/lodglobes/lodearth/map_service_configs/GIBS/TERRA_CR_B143_2016-04-12.wms
diff --git a/data/scene/lodearth/map_service_configs/GIBS/Temporal_Aqua_Orbit_Asc.xml b/data/scene/lodglobes/lodearth/map_service_configs/GIBS/Temporal_Aqua_Orbit_Asc.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/GIBS/Temporal_Aqua_Orbit_Asc.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/GIBS/Temporal_Aqua_Orbit_Asc.xml
diff --git a/data/scene/lodglobes/lodearth/map_service_configs/GIBS/Temporal_GHRSST_L4_MUR_Sea_Surface_Temperature.xml b/data/scene/lodglobes/lodearth/map_service_configs/GIBS/Temporal_GHRSST_L4_MUR_Sea_Surface_Temperature.xml
new file mode 100644
index 0000000000..2a4f525511
--- /dev/null
+++ b/data/scene/lodglobes/lodearth/map_service_configs/GIBS/Temporal_GHRSST_L4_MUR_Sea_Surface_Temperature.xml
@@ -0,0 +1,25 @@
+
+ 2002-06-01
+
+ 1d
+ YYYY-MM-DD
+
+
+ http://map1.vis.earthdata.nasa.gov/wmts-geo/GHRSST_L4_MUR_Sea_Surface_Temperature/default/${OpenSpaceTimeId}/EPSG4326_1km/${z}/${y}/${x}.png
+
+
+ -180.0
+ 90
+ 396.0
+ -198
+ 8
+ 2
+ 1
+ top
+
+ EPSG:4326
+ 512
+ 512
+ 4
+
+
\ No newline at end of file
diff --git a/data/scene/lodearth/map_service_configs/GIBS/Temporal_MODIS_Aqua_CorrectedReflectance_TrueColor.xml b/data/scene/lodglobes/lodearth/map_service_configs/GIBS/Temporal_MODIS_Aqua_CorrectedReflectance_TrueColor.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/GIBS/Temporal_MODIS_Aqua_CorrectedReflectance_TrueColor.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/GIBS/Temporal_MODIS_Aqua_CorrectedReflectance_TrueColor.xml
diff --git a/data/scene/lodearth/map_service_configs/GIBS/Temporal_VIIRS_SNPP_CorrectedReflectance_TrueColor.xml b/data/scene/lodglobes/lodearth/map_service_configs/GIBS/Temporal_VIIRS_SNPP_CorrectedReflectance_TrueColor.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/GIBS/Temporal_VIIRS_SNPP_CorrectedReflectance_TrueColor.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/GIBS/Temporal_VIIRS_SNPP_CorrectedReflectance_TrueColor.xml
diff --git a/data/scene/lodearth/map_service_configs/GIBS/VIIRS_CityLights_2012.xml b/data/scene/lodglobes/lodearth/map_service_configs/GIBS/VIIRS_CityLights_2012.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/GIBS/VIIRS_CityLights_2012.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/GIBS/VIIRS_CityLights_2012.xml
diff --git a/data/scene/lodearth/map_service_configs/GIBS/VIIRS_SNPP_CorrectedReflectance_TrueColor.xml b/data/scene/lodglobes/lodearth/map_service_configs/GIBS/VIIRS_SNPP_CorrectedReflectance_TrueColor.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/GIBS/VIIRS_SNPP_CorrectedReflectance_TrueColor.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/GIBS/VIIRS_SNPP_CorrectedReflectance_TrueColor.xml
diff --git a/data/scene/lodearth/map_service_configs/other/ASTER_GDEM_Greyscale_Shaded_Relief.xml b/data/scene/lodglobes/lodearth/map_service_configs/other/ASTER_GDEM_Greyscale_Shaded_Relief.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/other/ASTER_GDEM_Greyscale_Shaded_Relief.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/other/ASTER_GDEM_Greyscale_Shaded_Relief.xml
diff --git a/data/scene/lodearth/map_service_configs/other/Landsat_WELD_CorrectedReflectance_TrueColor_Global_Monthly_v3_STD_temporal.xml b/data/scene/lodglobes/lodearth/map_service_configs/other/Landsat_WELD_CorrectedReflectance_TrueColor_Global_Monthly_v3_STD_temporal.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/other/Landsat_WELD_CorrectedReflectance_TrueColor_Global_Monthly_v3_STD_temporal.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/other/Landsat_WELD_CorrectedReflectance_TrueColor_Global_Monthly_v3_STD_temporal.xml
diff --git a/data/scene/lodearth/map_service_configs/other/MLS_O3_46hPa_Day.xml b/data/scene/lodglobes/lodearth/map_service_configs/other/MLS_O3_46hPa_Day.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/other/MLS_O3_46hPa_Day.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/other/MLS_O3_46hPa_Day.xml
diff --git a/data/scene/lodearth/map_service_configs/other/OpenStreetMap.xml b/data/scene/lodglobes/lodearth/map_service_configs/other/OpenStreetMap.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/other/OpenStreetMap.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/other/OpenStreetMap.xml
diff --git a/data/scene/lodearth/map_service_configs/other/frmt_wms_virtualearth.xml b/data/scene/lodglobes/lodearth/map_service_configs/other/frmt_wms_virtualearth.xml
similarity index 100%
rename from data/scene/lodearth/map_service_configs/other/frmt_wms_virtualearth.xml
rename to data/scene/lodglobes/lodearth/map_service_configs/other/frmt_wms_virtualearth.xml
diff --git a/data/scene/lodearth/map_service_configs/other/test.wms b/data/scene/lodglobes/lodearth/map_service_configs/other/test.wms
similarity index 100%
rename from data/scene/lodearth/map_service_configs/other/test.wms
rename to data/scene/lodglobes/lodearth/map_service_configs/other/test.wms
diff --git a/data/scene/newhorizons/jupiter/europa/europa.data b/data/scene/lodglobes/lodeuropa/europa.data
similarity index 100%
rename from data/scene/newhorizons/jupiter/europa/europa.data
rename to data/scene/lodglobes/lodeuropa/europa.data
diff --git a/data/scene/lodglobes/lodeuropa/lodeuropa.mod b/data/scene/lodglobes/lodeuropa/lodeuropa.mod
new file mode 100644
index 0000000000..6e81a4f224
--- /dev/null
+++ b/data/scene/lodglobes/lodeuropa/lodeuropa.mod
@@ -0,0 +1,62 @@
+return {
+ -- RenderableGlobe module
+ {
+ Name = "Europa",
+ Parent = "JupiterBarycenter",
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_EUROPA",
+ DestinationFrame = "GALACTIC",
+ },
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "EUROPA",
+ Observer = "JUPITER BARYCENTER",
+ Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
+ },
+ Scale = {
+ Type = "StaticScale",
+ Scale = 1,
+ },
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = {1561000, 1561000, 1561000},
+ CameraMinHeight = 300,
+ InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
+ SegmentsPerPatch = 64,
+ Layers = {
+ ColorLayers = {
+ {
+ Name = "Europa Texture",
+ FilePath = "textures/europa.jpg",
+ Enabled = true,
+ MinimumPixelSize = 256,
+ },
+ },
+ GrayScaleLayers = { },
+ GrayScaleColorOverlays = { },
+ NightLayers = { },
+ WaterMasks = { },
+ ColorOverlays = { },
+ HeightLayers = { },
+ },
+ }
+ },
+ -- Trail module
+ {
+ 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,
+ }
+ },
+}
diff --git a/data/scene/newhorizons/jupiter/ganymede/ganymede.data b/data/scene/lodglobes/lodganymede/ganymede.data
similarity index 100%
rename from data/scene/newhorizons/jupiter/ganymede/ganymede.data
rename to data/scene/lodglobes/lodganymede/ganymede.data
diff --git a/data/scene/lodglobes/lodganymede/lodganymede.mod b/data/scene/lodglobes/lodganymede/lodganymede.mod
new file mode 100644
index 0000000000..04c8a79216
--- /dev/null
+++ b/data/scene/lodglobes/lodganymede/lodganymede.mod
@@ -0,0 +1,62 @@
+return {
+ -- RenderableGlobe module
+ {
+ Name = "Ganymede",
+ Parent = "JupiterBarycenter",
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_GANYMEDE",
+ DestinationFrame = "GALACTIC",
+ },
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "GANYMEDE",
+ Observer = "JUPITER BARYCENTER",
+ Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
+ },
+ Scale = {
+ Type = "StaticScale",
+ Scale = 1,
+ },
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = {2631000, 2631000, 2631000},
+ CameraMinHeight = 300,
+ InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
+ SegmentsPerPatch = 64,
+ Layers = {
+ ColorLayers = {
+ {
+ Name = "Ganymede Texture",
+ FilePath = "textures/ganymede.jpg",
+ Enabled = true,
+ MinimumPixelSize = 112,
+ },
+ },
+ GrayScaleLayers = { },
+ GrayScaleColorOverlays = { },
+ NightLayers = { },
+ WaterMasks = { },
+ ColorOverlays = { },
+ HeightLayers = { },
+ },
+ }
+ },
+ -- Trail module
+ {
+ 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,
+ }
+ },
+}
diff --git a/data/scene/newhorizons/jupiter/io/io.data b/data/scene/lodglobes/lodio/io.data
similarity index 100%
rename from data/scene/newhorizons/jupiter/io/io.data
rename to data/scene/lodglobes/lodio/io.data
diff --git a/data/scene/lodglobes/lodio/lodio.mod b/data/scene/lodglobes/lodio/lodio.mod
new file mode 100644
index 0000000000..75f4ade969
--- /dev/null
+++ b/data/scene/lodglobes/lodio/lodio.mod
@@ -0,0 +1,61 @@
+return {
+ -- RenderableGlobe module
+ {
+ Name = "Io",
+ Parent = "JupiterBarycenter",
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_IO",
+ DestinationFrame = "GALACTIC",
+ },
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "IO",
+ Observer = "JUPITER BARYCENTER",
+ Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
+ },
+ Scale = {
+ Type = "StaticScale",
+ Scale = 1,
+ },
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = {1821300, 1821300, 1821300},
+ CameraMinHeight = 300,
+ InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
+ SegmentsPerPatch = 64,
+ Layers = {
+ ColorLayers = {
+ {
+ Name = "Io Texture",
+ FilePath = "textures/io.jpg",
+ Enabled = true,
+ },
+ },
+ GrayScaleLayers = { },
+ GrayScaleColorOverlays = { },
+ NightLayers = { },
+ WaterMasks = { },
+ ColorOverlays = { },
+ HeightLayers = { },
+ },
+ }
+ },
+ -- Trail module
+ {
+ 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,
+ }
+ },
+}
diff --git a/data/scene/lodglobes/lodjupiter/jup260.bsp.torrent b/data/scene/lodglobes/lodjupiter/jup260.bsp.torrent
new file mode 100644
index 0000000000..0c82073d38
Binary files /dev/null and b/data/scene/lodglobes/lodjupiter/jup260.bsp.torrent differ
diff --git a/data/scene/lodglobes/lodjupiter/jupiter.data b/data/scene/lodglobes/lodjupiter/jupiter.data
new file mode 100644
index 0000000000..b22e81119b
--- /dev/null
+++ b/data/scene/lodglobes/lodjupiter/jupiter.data
@@ -0,0 +1,8 @@
+return {
+ FileRequest = {
+ { Identifier = "jupiter_textures", Destination = "textures", Version = 1 }
+ },
+ TorrentFiles = {
+ { File = "jup260.bsp.torrent", Destination = "${SPICE}" },
+ }
+}
\ No newline at end of file
diff --git a/data/scene/lodglobes/lodjupiter/lodjupiter.mod b/data/scene/lodglobes/lodjupiter/lodjupiter.mod
new file mode 100644
index 0000000000..60d573616d
--- /dev/null
+++ b/data/scene/lodglobes/lodjupiter/lodjupiter.mod
@@ -0,0 +1,72 @@
+return {
+ -- Barycenter module
+ {
+ Name = "JupiterBarycenter",
+ Parent = "SolarSystemBarycenter",
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "JUPITER BARYCENTER",
+ Observer = "SUN",
+ Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
+ },
+ },
+ },
+ -- RenderableGlobe module
+ {
+ Name = "Jupiter",
+ Parent = "JupiterBarycenter",
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_JUPITER",
+ DestinationFrame = "GALACTIC",
+ },
+ Translation = {
+ Type = "StaticTranslation",
+ Position = {0, 0, 0}, -- jupiter is at its barycenter
+ },
+ Scale = {
+ Type = "StaticScale",
+ Scale = 1,
+ },
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = {71492000, 71492000, 66854000},
+ CameraMinHeight = 300,
+ InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
+ SegmentsPerPatch = 64,
+ Layers = {
+ ColorLayers = {
+ {
+ Name = "Jupiter Texture",
+ FilePath = "textures/jupiter.jpg",
+ Enabled = true,
+ },
+ },
+ GrayScaleLayers = { },
+ GrayScaleColorOverlays = { },
+ NightLayers = { },
+ WaterMasks = { },
+ ColorOverlays = { },
+ HeightLayers = { },
+ },
+ }
+ },
+ -- Trail 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,
+ }
+ },
+}
\ No newline at end of file
diff --git a/data/scene/lodglobes/lodmars/MAR063.BSP.torrent b/data/scene/lodglobes/lodmars/MAR063.BSP.torrent
new file mode 100644
index 0000000000..50cab2e6bf
Binary files /dev/null and b/data/scene/lodglobes/lodmars/MAR063.BSP.torrent differ
diff --git a/data/scene/lodmars/lodmars.mod b/data/scene/lodglobes/lodmars/lodmars.mod
similarity index 94%
rename from data/scene/lodmars/lodmars.mod
rename to data/scene/lodglobes/lodmars/lodmars.mod
index 4e6469554f..a3f72a6025 100644
--- a/data/scene/lodmars/lodmars.mod
+++ b/data/scene/lodglobes/lodmars/lodmars.mod
@@ -1,6 +1,6 @@
local marsEllipsoid = {3396190.0, 3396190.0, 3376200.0}
return {
- -- Mars barycenter module
+ -- Barycenter module
{
Name = "MarsBarycenter",
Parent = "SolarSystemBarycenter",
@@ -39,7 +39,7 @@ return {
{
Type = "SingleImage",
Name = "Debug Tiles",
- FilePath = "../debugglobe/textures/test_tile.png",
+ FilePath = "../../debugglobe/textures/test_tile.png",
},
{
Name = "MARS_Viking",
@@ -58,7 +58,11 @@ return {
},
GrayScaleColorOverlays = {
- --[[
+ {
+ Name = "Layered Rock Outcrops in Southwest Candor Chasma",
+ FilePath = "map_datasets/HiRISE/Layered_Rock_Outcrops_in_Southwest_Candor_Chasma_Texture.vrt",
+ },
+ --[[
{
Name = "CTX Mosaic",
FilePath = "map_service_configs/CTX_Mosaic.xml",
@@ -69,10 +73,6 @@ return {
FilePath = "map_datasets/CTX/West_Candor_Chasma_longlat_global.vrt",
--Enabled = true,
},
- {
- Name = "Layered Rock Outcrops in Southwest Candor Chasma",
- FilePath = "map_datasets/HiRISE/Layered_Rock_Outcrops_in_Southwest_Candor_Chasma_Texture.vrt",
- },
{
Name = "MER_Meridianni_Endeavor_Basemap_25cm",
FilePath = "map_datasets/Basemap/MER_Meridianni_Endeavor_Basemap_25cm.vrt",
@@ -83,12 +83,8 @@ return {
},
]]
},
- NightLayers = {
-
- },
- WaterMasks = {
-
- },
+ NightLayers = { },
+ WaterMasks = { },
ColorOverlays = {
{
Type = "TileIndex",
@@ -98,10 +94,16 @@ return {
Type = "SizeReference",
Name = "Size Reference",
Radii = marsEllipsoid,
- BackgroundImagePath = "../debugglobe/textures/arrows.png",
+ BackgroundImagePath = "../../debugglobe/textures/arrows.png",
},
},
HeightLayers = {
+ {
+ Name = "Layered Rock Outcrops in Southwest Candor Chasma",
+ FilePath = "map_datasets/HiRISE/Layered_Rock_Outcrops_in_Southwest_Candor_Chasma_Heightmap.vrt",
+ MinimumPixelSize = 90,
+ DoPreProcessing = true,
+ },
--[[
{
Name = "Mola Elevation",
@@ -125,12 +127,6 @@ return {
MinimumPixelSize = 90,
DoPreProcessing = true,
},
- {
- Name = "Layered Rock Outcrops in Southwest Candor Chasma",
- FilePath = "map_datasets/HiRISE/Layered_Rock_Outcrops_in_Southwest_Candor_Chasma_Heightmap.vrt",
- MinimumPixelSize = 90,
- DoPreProcessing = true,
- },
{
Name = "Part of Area Traversed by the Mars Exploration Rover",
FilePath = "map_datasets/HiRISE/Part_of_Area_Traversed_by_the_Mars_Exploration_Rover_Heightmap.vrt",
@@ -140,7 +136,7 @@ return {
},
}
},
- -- MarsTrail module
+ -- Trail module
{
Name = "MarsTrail",
Parent = "Sun",
diff --git a/data/scene/lodmars/map_service_configs/CTX_Mosaic.xml b/data/scene/lodglobes/lodmars/map_service_configs/CTX_Mosaic.xml
similarity index 75%
rename from data/scene/lodmars/map_service_configs/CTX_Mosaic.xml
rename to data/scene/lodglobes/lodmars/map_service_configs/CTX_Mosaic.xml
index 9f7a65afb5..423bd07e9d 100644
--- a/data/scene/lodmars/map_service_configs/CTX_Mosaic.xml
+++ b/data/scene/lodglobes/lodmars/map_service_configs/CTX_Mosaic.xml
@@ -12,4 +12,10 @@
256
256
+
+ ./GDAL_CTX_cache
+ 10
+ .png
+
+ true
\ No newline at end of file
diff --git a/data/scene/lodglobes/lodmars/map_service_configs/MARS_Viking.xml b/data/scene/lodglobes/lodmars/map_service_configs/MARS_Viking.xml
new file mode 100644
index 0000000000..7197faf38e
--- /dev/null
+++ b/data/scene/lodglobes/lodmars/map_service_configs/MARS_Viking.xml
@@ -0,0 +1,10 @@
+
+ http://webgis3.wr.usgs.gov/arcgis/rest/services/Mars_color/MapServer/WMTS/1.0.0/WMTSCapabilities.xml
+
+ -180.0
+ 90
+ 180.0
+ -90
+
+ 3
+
\ No newline at end of file
diff --git a/data/scene/lodmars/map_service_configs/MARS_Viking_MDIM21.xml b/data/scene/lodglobes/lodmars/map_service_configs/MARS_Viking_MDIM21.xml
similarity index 100%
rename from data/scene/lodmars/map_service_configs/MARS_Viking_MDIM21.xml
rename to data/scene/lodglobes/lodmars/map_service_configs/MARS_Viking_MDIM21.xml
diff --git a/data/scene/lodglobes/lodmars/map_service_configs/MDIM21_color.xml b/data/scene/lodglobes/lodmars/map_service_configs/MDIM21_color.xml
new file mode 100644
index 0000000000..caaa46437f
--- /dev/null
+++ b/data/scene/lodglobes/lodmars/map_service_configs/MDIM21_color.xml
@@ -0,0 +1,22 @@
+
+
+ 1.3.0
+ http://planetarymaps.usgs.gov/cgi-bin/mapserv?map=/maps/mars/mars_simp_cyl.map
+ EPSG:4326
+ image/png
+ MDIM21_color
+ TRUE
+
+
+ -180.0
+ 90.0
+ 180.0
+ -90.0
+ 2048
+ 1024
+ bottom
+
+
+
\ No newline at end of file
diff --git a/data/scene/lodglobes/lodmars/map_service_configs/Mars_MGS_MOLA_DEM.xml b/data/scene/lodglobes/lodmars/map_service_configs/Mars_MGS_MOLA_DEM.xml
new file mode 100644
index 0000000000..fbf695ecbd
--- /dev/null
+++ b/data/scene/lodglobes/lodmars/map_service_configs/Mars_MGS_MOLA_DEM.xml
@@ -0,0 +1,17 @@
+
+
+ http://d1poygwgh8gv6r.cloudfront.net/catalog/Mars_MGS_MOLA_DEM_mosaic_global_463m_8/1.0.0//default/default028mm/${z}/${y}/${x}.png
+ image/png
+
+
+ 5
+ 2
+ 1
+ top
+
+ Byte
+ EPSG:4326
+ 256
+ 256
+ 2
+
\ No newline at end of file
diff --git a/data/scene/lodmars/map_service_configs/Mola_Elevation.xml b/data/scene/lodglobes/lodmars/map_service_configs/Mola_Elevation.xml
similarity index 100%
rename from data/scene/lodmars/map_service_configs/Mola_Elevation.xml
rename to data/scene/lodglobes/lodmars/map_service_configs/Mola_Elevation.xml
diff --git a/data/scene/lodglobes/lodmars/mars.data b/data/scene/lodglobes/lodmars/mars.data
new file mode 100644
index 0000000000..afaf7ab69d
--- /dev/null
+++ b/data/scene/lodglobes/lodmars/mars.data
@@ -0,0 +1,8 @@
+return {
+ FileRequest = {
+ { Identifier = "mars_textures", Destination = "textures", Version = 1 }
+ },
+ TorrentFiles = {
+ -- { File = "MAR063.BSP.torrent", Destination = "${SPICE}" }
+ }
+}
\ No newline at end of file
diff --git a/data/scene/lodmercury/lodmercury.mod b/data/scene/lodglobes/lodmercury/lodmercury.mod
similarity index 86%
rename from data/scene/lodmercury/lodmercury.mod
rename to data/scene/lodglobes/lodmercury/lodmercury.mod
index cc8cde9131..d7c76432ed 100644
--- a/data/scene/lodmercury/lodmercury.mod
+++ b/data/scene/lodglobes/lodmercury/lodmercury.mod
@@ -1,5 +1,5 @@
return {
- -- Mercury barycenter module
+ -- Barycenter module
{
Name = "MercuryBarycenter",
Parent = "SolarSystemBarycenter",
@@ -12,7 +12,6 @@ return {
},
},
},
-
-- RenderableGlobe module
{
Name = "Mercury",
@@ -39,6 +38,13 @@ return {
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
+ {
+ Name = "Simple Texture",
+ FilePath = "textures/mercury.jpg",
+ Enabled = true,
+ MinimumPixelSize = 256,
+ },
+ --[[
{
Name = "On Mercury Color",
FilePath = "map_service_configs/OnMercuryColor.xml",
@@ -48,6 +54,7 @@ return {
Name = "On Mercury Image",
FilePath = "map_service_configs/OnMercuryImage.xml",
},
+ ]]
},
GrayScaleLayers = { },
GrayScaleColorOverlays = { },
@@ -55,17 +62,18 @@ return {
WaterMasks = { },
ColorOverlays = { },
HeightLayers = {
+ --[[
{
Name = "On Mercury Height",
FilePath = "map_service_configs/OnMercuryElevationGaskell.xml",
Enabled = true,
},
+ ]]
},
},
},
},
-
- -- MercuryTrail module
+ -- Trail module
{
Name = "MercuryTrail",
Parent = "SolarSystemBarycenter",
diff --git a/data/scene/lodmercury/map_service_configs/OnMercuryColor.xml b/data/scene/lodglobes/lodmercury/map_service_configs/OnMercuryColor.xml
similarity index 100%
rename from data/scene/lodmercury/map_service_configs/OnMercuryColor.xml
rename to data/scene/lodglobes/lodmercury/map_service_configs/OnMercuryColor.xml
diff --git a/data/scene/lodmercury/map_service_configs/OnMercuryElevationGaskell.xml b/data/scene/lodglobes/lodmercury/map_service_configs/OnMercuryElevationGaskell.xml
similarity index 100%
rename from data/scene/lodmercury/map_service_configs/OnMercuryElevationGaskell.xml
rename to data/scene/lodglobes/lodmercury/map_service_configs/OnMercuryElevationGaskell.xml
diff --git a/data/scene/lodmercury/map_service_configs/OnMercuryImage.xml b/data/scene/lodglobes/lodmercury/map_service_configs/OnMercuryImage.xml
similarity index 100%
rename from data/scene/lodmercury/map_service_configs/OnMercuryImage.xml
rename to data/scene/lodglobes/lodmercury/map_service_configs/OnMercuryImage.xml
diff --git a/data/scene/lodglobes/lodmercury/mercury.data b/data/scene/lodglobes/lodmercury/mercury.data
new file mode 100644
index 0000000000..f2df36620b
--- /dev/null
+++ b/data/scene/lodglobes/lodmercury/mercury.data
@@ -0,0 +1,5 @@
+return {
+ FileRequest = {
+ { Identifier = "mercury_textures", Destination = "textures", Version = 1 }
+ },
+}
\ No newline at end of file
diff --git a/data/scene/lodmoon/lodmoon.mod b/data/scene/lodglobes/lodmoon/lodmoon.mod
similarity index 97%
rename from data/scene/lodmoon/lodmoon.mod
rename to data/scene/lodglobes/lodmoon/lodmoon.mod
index 8fc0ce3657..81a594c35b 100644
--- a/data/scene/lodmoon/lodmoon.mod
+++ b/data/scene/lodglobes/lodmoon/lodmoon.mod
@@ -18,7 +18,7 @@ return {
},
Renderable = {
Type = "RenderableGlobe",
- Radii = {1737000, 1737000, 1737000}, -- Moons's radius
+ Radii = {1738140, 1738140, 1735970}, -- Moons's radius
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 5000, -- Useful when having negative height map values
SegmentsPerPatch = 64,
diff --git a/data/scene/lodmoon/map_service_configs/OnMoonColor.xml b/data/scene/lodglobes/lodmoon/map_service_configs/OnMoonColor.xml
similarity index 100%
rename from data/scene/lodmoon/map_service_configs/OnMoonColor.xml
rename to data/scene/lodglobes/lodmoon/map_service_configs/OnMoonColor.xml
diff --git a/data/scene/lodmoon/map_service_configs/OnMoonHeight.xml b/data/scene/lodglobes/lodmoon/map_service_configs/OnMoonHeight.xml
similarity index 100%
rename from data/scene/lodmoon/map_service_configs/OnMoonHeight.xml
rename to data/scene/lodglobes/lodmoon/map_service_configs/OnMoonHeight.xml
diff --git a/data/scene/lodglobes/lodmoon/moon.data b/data/scene/lodglobes/lodmoon/moon.data
new file mode 100644
index 0000000000..f8c7094165
--- /dev/null
+++ b/data/scene/lodglobes/lodmoon/moon.data
@@ -0,0 +1,5 @@
+return {
+ FileRequest = {
+ { Identifier = "moon_textures", Destination = "textures", Version = 1 }
+ },
+}
\ No newline at end of file
diff --git a/data/scene/lodglobes/lodneptune/lodneptune.mod b/data/scene/lodglobes/lodneptune/lodneptune.mod
new file mode 100644
index 0000000000..20531b941b
--- /dev/null
+++ b/data/scene/lodglobes/lodneptune/lodneptune.mod
@@ -0,0 +1,70 @@
+return {
+ -- Barycenter module
+ {
+ Name = "NeptuneBarycenter",
+ Parent = "SolarSystemBarycenter",
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "NEPTUNE BARYCENTER",
+ Observer = "SUN",
+ Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
+ },
+ },
+ },
+ -- RenderableGlobe module
+ {
+ Name = "Neptune",
+ Parent = "NeptuneBarycenter",
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_NEPTUNE",
+ DestinationFrame = "GALACTIC",
+ },
+ Scale = {
+ Type = "StaticScale",
+ Scale = 1,
+ },
+ -- No translation, Neptune is in its barycenter
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = {24764000, 24764000, 24314000},
+ CameraMinHeight = 300,
+ InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
+ SegmentsPerPatch = 64,
+ Layers = {
+ ColorLayers = {
+ {
+ Name = "Texture",
+ FilePath = "textures/neptune.jpg",
+ Enabled = true,
+ MinimumPixelSize = 256,
+ },
+ },
+ GrayScaleLayers = { },
+ GrayScaleColorOverlays = { },
+ NightLayers = { },
+ WaterMasks = { },
+ ColorOverlays = { },
+ HeightLayers = { },
+ },
+ },
+ },
+ -- Trail module
+ {
+ Name = "NeptuneTrail",
+ Parent = "SolarSystemBarycenter",
+ 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,
+ },
+ }
+}
diff --git a/data/scene/lodglobes/lodneptune/neptune.data b/data/scene/lodglobes/lodneptune/neptune.data
new file mode 100644
index 0000000000..60b294047e
--- /dev/null
+++ b/data/scene/lodglobes/lodneptune/neptune.data
@@ -0,0 +1,5 @@
+return {
+ FileRequest = {
+ { Identifier = "neptune_textures", Destination = "textures", Version = 1 }
+ },
+}
\ No newline at end of file
diff --git a/data/scene/lodglobes/lodsaturn/lodsaturn.mod b/data/scene/lodglobes/lodsaturn/lodsaturn.mod
new file mode 100644
index 0000000000..0754afee7c
--- /dev/null
+++ b/data/scene/lodglobes/lodsaturn/lodsaturn.mod
@@ -0,0 +1,80 @@
+return {
+ -- Barycenter module
+ {
+ Name = "SaturnBarycenter",
+ Parent = "SolarSystemBarycenter",
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "SATURN BARYCENTER",
+ Observer = "SUN",
+ Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
+ },
+ },
+ },
+ -- RenderableGlobe module
+ {
+ Name = "Saturn",
+ Parent = "SaturnBarycenter",
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_SATURN",
+ DestinationFrame = "GALACTIC",
+ },
+ Scale = {
+ Type = "StaticScale",
+ Scale = 1,
+ },
+ -- No translation, Saturn is in its barycenter
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = {60268000, 60268000, 54364000},
+ CameraMinHeight = 300,
+ InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
+ SegmentsPerPatch = 64,
+ Layers = {
+ ColorLayers = {
+ {
+ Name = "Saturn Texture",
+ FilePath = "textures/saturn.jpg",
+ Enabled = true,
+ MinimumPixelSize = 256,
+ },
+ },
+ GrayScaleLayers = { },
+ GrayScaleColorOverlays = { },
+ NightLayers = { },
+ WaterMasks = { },
+ ColorOverlays = { },
+ HeightLayers = { },
+ },
+ },
+ },
+ {
+ Name = "SaturnRings",
+ Parent = "Saturn",
+ Renderable = {
+ Type = "RenderableRings",
+ Texture = "textures/saturn_rings.png",
+ Size = 140220000,
+ Offset = { 74500 / 140445.100671159, 1.0 } -- min / max extend
+ },
+ },
+ -- Trail module
+ {
+ Name = "SaturnTrail",
+ Parent = "SolarSystemBarycenter",
+ Renderable = {
+ Type = "RenderableTrail",
+ Body = "SATURN BARYCENTER",
+ Frame = "GALACTIC",
+ Observer = "SUN",
+ RGB = {0.85,0.75,0.51 },
+ TropicalOrbitPeriod = 10746.94 ,
+ EarthOrbitRatio = 29.424,
+ DayLength = 10.656,
+ },
+ }
+}
diff --git a/data/scene/lodglobes/loduranus/loduranus.mod b/data/scene/lodglobes/loduranus/loduranus.mod
new file mode 100644
index 0000000000..1539f2ab0c
--- /dev/null
+++ b/data/scene/lodglobes/loduranus/loduranus.mod
@@ -0,0 +1,70 @@
+return {
+ -- Barycenter module
+ {
+ Name = "UranusBarycenter",
+ Parent = "SolarSystemBarycenter",
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "URANUS BARYCENTER",
+ Observer = "SUN",
+ Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
+ },
+ },
+ },
+ -- RenderableGlobe module
+ {
+ Name = "Uranus",
+ Parent = "UranusBarycenter",
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_URANUS",
+ DestinationFrame = "GALACTIC",
+ },
+ Scale = {
+ Type = "StaticScale",
+ Scale = 1,
+ },
+ -- No translation, Uranus is in its barycenter
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = {25559000, 25559000, 24973000},
+ CameraMinHeight = 300,
+ InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
+ SegmentsPerPatch = 64,
+ Layers = {
+ ColorLayers = {
+ {
+ Name = "Texture",
+ FilePath = "textures/uranus.jpg",
+ Enabled = true,
+ MinimumPixelSize = 256,
+ },
+ },
+ GrayScaleLayers = { },
+ GrayScaleColorOverlays = { },
+ NightLayers = { },
+ WaterMasks = { },
+ ColorOverlays = { },
+ HeightLayers = { },
+ },
+ },
+ },
+ -- Trail module
+ {
+ Name = "UranusTrail",
+ Parent = "SolarSystemBarycenter",
+ 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,
+ },
+ }
+}
diff --git a/data/scene/lodglobes/loduranus/uranus.data b/data/scene/lodglobes/loduranus/uranus.data
new file mode 100644
index 0000000000..1260617597
--- /dev/null
+++ b/data/scene/lodglobes/loduranus/uranus.data
@@ -0,0 +1,5 @@
+return {
+ FileRequest = {
+ { Identifier = "uranus_textures", Destination = "textures", Version = 1 }
+ },
+}
\ No newline at end of file
diff --git a/data/scene/lodglobes/lodvenus/lodvenus.mod b/data/scene/lodglobes/lodvenus/lodvenus.mod
new file mode 100644
index 0000000000..3b3e3f58d1
--- /dev/null
+++ b/data/scene/lodglobes/lodvenus/lodvenus.mod
@@ -0,0 +1,75 @@
+return {
+ -- Barycenter module
+ {
+ Name = "VenusBarycenter",
+ Parent = "SolarSystemBarycenter",
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "VENUS BARYCENTER",
+ Observer = "SUN",
+ Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
+ },
+ },
+ },
+ -- RenderableGlobe module
+ {
+ Name = "Venus",
+ Parent = "VenusBarycenter",
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_VENUS",
+ DestinationFrame = "GALACTIC",
+ },
+ Scale = {
+ Type = "StaticScale",
+ Scale = 1,
+ },
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "VENUS",
+ Observer = "VENUS BARYCENTER",
+ Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
+ },
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = {6051900, 6051900, 6051800},
+ CameraMinHeight = 300,
+ InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
+ SegmentsPerPatch = 64,
+ Layers = {
+ ColorLayers = {
+ {
+ Name = "Venus Texture",
+ FilePath = "textures/venus.jpg",
+ Enabled = true,
+ MinimumPixelSize = 256,
+ },
+ },
+ GrayScaleLayers = { },
+ GrayScaleColorOverlays = { },
+ NightLayers = { },
+ WaterMasks = { },
+ ColorOverlays = { },
+ HeightLayers = { },
+ },
+ },
+ },
+ -- Trail module
+ {
+ Name = "VenusTrail",
+ Parent = "SolarSystemBarycenter",
+ Renderable = {
+ Type = "RenderableTrail",
+ Body = "VENUS",
+ Frame = "GALACTIC",
+ Observer = "SUN",
+ RGB = {1, 0.5, 0.2},
+ TropicalOrbitPeriod = 224.695 ,
+ EarthOrbitRatio = 0.615,
+ DayLength = 2802.0,
+ },
+ }
+}
diff --git a/data/scene/lodglobes/lodvenus/venus.data b/data/scene/lodglobes/lodvenus/venus.data
new file mode 100644
index 0000000000..07753359f6
--- /dev/null
+++ b/data/scene/lodglobes/lodvenus/venus.data
@@ -0,0 +1,5 @@
+return {
+ FileRequest = {
+ { Identifier = "venus_textures", Destination = "textures", Version = 1 }
+ },
+}
\ No newline at end of file
diff --git a/data/scene/lodmoon/map_service_configs/OnMoonGrayscaleOverlay.vrt b/data/scene/lodmoon/map_service_configs/OnMoonGrayscaleOverlay.vrt
deleted file mode 100644
index 6959072a78..0000000000
--- a/data/scene/lodmoon/map_service_configs/OnMoonGrayscaleOverlay.vrt
+++ /dev/null
@@ -1,28 +0,0 @@
-
- GEOGCS["GCS_Moon_2000",DATUM["D_Moon_2000",SPHEROID["Moon_2000_IAU_IAG",1737400.0,0.0]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]
- -1.8000000000000000e+02, 2.1972656250000000e-03, 0.0000000000000000e+00, 9.0000000000000000e+01, 0.0000000000000000e+00, -2.1972656250000000e-03
-
- 0
- 1
- Gray
-
- OnMoonColor.xml
- 1
-
-
-
- 0
-
-
-
- Alpha
-
- white_geo.tif
- 1
-
-
-
-
-
-
-
diff --git a/data/scene/lodmoon/map_service_configs/OnMoonNight.vrt b/data/scene/lodmoon/map_service_configs/OnMoonNight.vrt
deleted file mode 100644
index 0741ac74c3..0000000000
--- a/data/scene/lodmoon/map_service_configs/OnMoonNight.vrt
+++ /dev/null
@@ -1,49 +0,0 @@
-
- GEOGCS["GCS_Moon_2000",DATUM["D_Moon_2000",SPHEROID["Moon_2000_IAU_IAG",1737400.0,0.0]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]
- -1.8000000000000000e+02, 2.1972656250000000e-03, 0.0000000000000000e+00, 9.0000000000000000e+01, 0.0000000000000000e+00, -2.1972656250000000e-03
-
- 0
- 1
- Red
-
- OnMoonColor.xml
- 1
-
-
-
- 0
- 16
- 0
-
-
-
- 0
- 1
- Green
-
- OnMoonColor.xml
- 1
-
-
-
- 0
- 16
- 0
-
-
-
- 0
- 1
- Blue
-
- OnMoonColor.xml
- 1
-
-
-
- 0
- 16
- 0
-
-
-
diff --git a/data/scene/mercury/mercury.mod b/data/scene/mercury/mercury.mod
index ba64f42565..83b2146d18 100644
--- a/data/scene/mercury/mercury.mod
+++ b/data/scene/mercury/mercury.mod
@@ -3,6 +3,14 @@ return {
{
Name = "MercuryBarycenter",
Parent = "SolarSystemBarycenter",
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "MERCURY BARYCENTER",
+ Observer = "SUN",
+ Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
+ },
+ }
},
-- Mercury module
{
@@ -28,12 +36,6 @@ return {
}
},
Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Body = "MERCURY",
- Observer = "SUN",
- Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
- },
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_MERCURY",
@@ -48,7 +50,7 @@ return {
-- MercuryTrail module
{
Name = "MercuryTrail",
- Parent = "MercuryBarycenter",
+ Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "MERCURY",
diff --git a/data/scene/dawn/ceres/DawnKernels.torrent b/data/scene/missions/dawn/ceres/DawnKernels.torrent
similarity index 100%
rename from data/scene/dawn/ceres/DawnKernels.torrent
rename to data/scene/missions/dawn/ceres/DawnKernels.torrent
diff --git a/data/scene/dawn/ceres/ceres.data b/data/scene/missions/dawn/ceres/ceres.data
similarity index 100%
rename from data/scene/dawn/ceres/ceres.data
rename to data/scene/missions/dawn/ceres/ceres.data
diff --git a/data/scene/dawn/ceres/ceres.mod b/data/scene/missions/dawn/ceres/ceres.mod
similarity index 100%
rename from data/scene/dawn/ceres/ceres.mod
rename to data/scene/missions/dawn/ceres/ceres.mod
diff --git a/data/scene/dawn/dawn/DawnKernels.torrent b/data/scene/missions/dawn/dawn/DawnKernels.torrent
similarity index 100%
rename from data/scene/dawn/dawn/DawnKernels.torrent
rename to data/scene/missions/dawn/dawn/DawnKernels.torrent
diff --git a/data/scene/dawn/dawn/dawn.data b/data/scene/missions/dawn/dawn/dawn.data
similarity index 100%
rename from data/scene/dawn/dawn/dawn.data
rename to data/scene/missions/dawn/dawn/dawn.data
diff --git a/data/scene/dawn/dawn/dawn.mod b/data/scene/missions/dawn/dawn/dawn.mod
similarity index 100%
rename from data/scene/dawn/dawn/dawn.mod
rename to data/scene/missions/dawn/dawn/dawn.mod
diff --git a/data/scene/dawn/vestaprojection/VestaComet.torrent b/data/scene/missions/dawn/vestaprojection/VestaComet.torrent
similarity index 100%
rename from data/scene/dawn/vestaprojection/VestaComet.torrent
rename to data/scene/missions/dawn/vestaprojection/VestaComet.torrent
diff --git a/data/scene/dawn/vestaprojection/vestaprojection.data b/data/scene/missions/dawn/vestaprojection/vestaprojection.data
similarity index 100%
rename from data/scene/dawn/vestaprojection/vestaprojection.data
rename to data/scene/missions/dawn/vestaprojection/vestaprojection.data
diff --git a/data/scene/dawn/vestaprojection/vestaprojection.mod b/data/scene/missions/dawn/vestaprojection/vestaprojection.mod
similarity index 100%
rename from data/scene/dawn/vestaprojection/vestaprojection.mod
rename to data/scene/missions/dawn/vestaprojection/vestaprojection.mod
diff --git a/data/scene/juno/juno/juno.mod b/data/scene/missions/juno/juno/juno.mod
similarity index 98%
rename from data/scene/juno/juno/juno.mod
rename to data/scene/missions/juno/juno/juno.mod
index ec95c0c83f..12c2d45131 100644
--- a/data/scene/juno/juno/juno.mod
+++ b/data/scene/missions/juno/juno/juno.mod
@@ -1,144 +1,144 @@
-return {
- -- New Horizons Body module
- {
- Name = "Juno",
- -- Parent = "PlutoBarycenter",
- -- Parent = "JupiterBarycenter",
- Parent = "JupiterBarycenter",
- Renderable = {
- Type = "RenderableModel",
- Body = "JUNO",
- Geometry = {
- Type = "MultiModelGeometry",
- GeometryFile = "Juno.obj",
- Magnification = 4,
- },
- Textures = {
- Type = "simple",
- Color = "textures/gray.png",
- },
- Rotation = {
- Source = "JUNO_SPACECRAFT",
- Destination = "GALACTIC",
- ModelTransform = {
- 1.0, 0.0, 0.0,
- 0.0, 0.0, 1.0,
- 0.0, -1.0, 0.0
- }
- },
- },
-
- Ephemeris = {
- Type = "Spice",
- Body = "JUNO",
- Observer = "JUPITER BARYCENTER",
- Kernels = {
- "spice/JNO_SCLKSCET.00039.tsc",
- "spice/juno_jade_v00.ti",
- "spice/juno_jedi_v00.ti",
- "spice/juno_jiram_v01.ti",
- "spice/juno_junocam_v00.ti",
- "spice/juno_mag_v00.ti",
- "spice/juno_mwr_v01.ti",
- "spice/juno_struct_v01.ti",
- "spice/juno_uvs_v00.ti",
- "spice/juno_v08.tf",
- "spice/juno_waves_v00.ti",
- "spice/juno_mwr_v01.ti",
- "spice/spk_merge_110805_171017_130515.bsp",
- "spice/ck/juno_sc_prl_110930_111028_jc003c01_v01.bc",
- "spice/ck/juno_sc_prl_111028_111125_jc004b00_v01.bc",
- "spice/ck/juno_sc_prl_111125_111223_jc005b00_v01.bc",
- "spice/ck/juno_sc_prl_111223_120127_jc006a02_v01.bc",
- "spice/ck/juno_sc_prl_120127_120217_jc007a00_v01.bc",
- "spice/ck/juno_sc_prl_120217_120316_jc008b00_v02.bc",
- "spice/ck/juno_sc_prl_120316_120413_jc009a00_v01.bc",
- "spice/ck/juno_sc_prl_120413_120511_jc010a04_v01.bc",
- "spice/ck/juno_sc_prl_120511_120608_jc011a01_v02.bc",
- "spice/ck/juno_sc_prl_120608_120706_jc012b01_v01.bc",
- "spice/ck/juno_sc_prl_120706_120802_jc013a01_v01.bc",
- "spice/ck/juno_sc_prl_120802_120824_jc014b01_v01.bc",
- "spice/ck/juno_sc_prl_120824_120928_jc015m00_v01.bc",
- "spice/ck/juno_sc_prl_120919_120928_jc015o00_v01.bc",
- "spice/ck/juno_sc_prl_120928_121026_jc016c03_v01.bc",
- "spice/ck/juno_sc_prl_121026_121123_jc017a01_v01.bc",
- "spice/ck/juno_sc_prl_121123_121221_jc018b01_v01.bc",
- "spice/ck/juno_sc_prl_121221_130118_jc019a01_v01.bc",
- "spice/ck/juno_sc_prl_130118_130215_jc020b01_v01.bc",
- "spice/ck/juno_sc_prl_130315_130412_jc022b01_v01.bc",
- "spice/ck/juno_sc_prl_130412_130510_jc023b03_v01.bc",
- "spice/ck/juno_sc_prl_130510_130607_jc024a01_v01.bc",
- "spice/ck/juno_sc_prl_130607_130705_jc025a00_v01.bc",
- "spice/ck/juno_sc_prl_130705_130802_jc026a01_v01.bc",
- "spice/ck/juno_sc_prl_130726_131020_jx024a02_EFB_v03.bc",
- "spice/ck/juno_sc_prl_130802_130830_jc027a02_v01.bc",
- "spice/ck/juno_sc_prl_130830_130927_jc028a01_v01.bc",
- "spice/ck/juno_sc_prl_130926_131025_jc029a00_v01.bc",
- "spice/ck/juno_sc_prl_130927_131025_jc029c01_v01.bc",
- "spice/ck/juno_sc_prl_131022_131025_jc029f00_v01.bc",
- "spice/ck/juno_sc_prl_131025_131122_jc030b04_v01.bc",
- "spice/ck/juno_sc_prl_131122_131220_jc031b01_v01.bc",
- "spice/ck/juno_sc_prl_131220_140124_jc032a01_v01.bc",
- "spice/ck/juno_sc_prl_140124_140214_jc033a01_v01.bc",
- "spice/ck/juno_sc_prl_140214_140314_jc034b01_v01.bc",
- "spice/ck/juno_sc_prl_140314_140411_jc035a01_v01.bc",
- "spice/ck/juno_sc_prl_140411_140509_jc036b01_v01.bc",
- "spice/ck/juno_sc_prl_140509_140606_jc037b02_v01.bc",
- "spice/ck/juno_sc_prl_140606_140704_jc038a01_v01.bc",
- "spice/ck/juno_sc_prl_140704_140801_jc039b01_v01.bc",
- "spice/ck/juno_sc_prl_140801_140829_jc040a01_v01.bc",
- "spice/ck/juno_sc_prl_140829_140926_jc041a01_v01.bc",
- "spice/ck/juno_sc_prl_140926_141024_jc042a01_v01.bc",
- "spice/ck/juno_sc_prl_141024_141121_jc043a01_v01.bc",
- "spice/ck/juno_sc_prl_141105_141121_jc043m01_v01.bc",
- "spice/ck/juno_sc_prl_141107_141121_jc043s01_v01.bc",
- "spice/ck/juno_sc_prl_141121_141219_jc044a01_v01.bc",
- "spice/ck/juno_sc_prl_141219_150123_jc045a01_v01.bc",
- "spice/ck/juno_sc_prl_150123_150213_jc046a01_v01.bc",
- "spice/ck/juno_sc_prl_150213_150313_jc047a01_v01.bc",
- "spice/ck/juno_sc_prl_150312_150409_jc048a01_v01.bc",
- "spice/ck/juno_sc_prl_150410_150508_jc049a01_v01.bc",
- "spice/ck/juno_sc_prl_150508_150605_jc050a01_v01.bc",
- "spice/ck/juno_sc_prl_150605_150703_jc051a01_v01.bc",
- "spice/ck/juno_sc_prl_150703_150731_jc052a01_v01.bc",
- "spice/ck/juno_sc_prl_150731_150828_jc053a01_v01.bc",
- "spice/ck/juno_sc_prl_150805_150828_jc053m00_v01.bc",
- "spice/ck/juno_sc_prl_150807_150828_jc053s00_v01.bc",
- "spice/ck/juno_sc_prl_150828_150924_jc054a00_v01.bc",
- "spice/ck/juno_sc_prl_150924_151023_jc055a00_v01.bc",
- "spice/ck/juno_sc_prl_151023_151120_jc056a00_v01.bc",
- "spice/ck/juno_sc_prl_151120_151218_jc057a00_v01.bc",
- "spice/ck/juno_sc_prl_151218_160115_jc058a00_v01.bc",
- "spice/ck/juno_sc_prl_160115_160212_jc059a00_v01.bc",
- "spice/ck/juno_sc_prl_160212_160311_jc060a00_v01.bc",
- "spice/ck/juno_sc_prl_160311_160408_jc061a00_v01.bc",
- "spice/ck/juno_sc_prl_160408_160506_jc062a00_v01.bc",
- "spice/ck/juno_sc_prl_160506_160603_jc063a00_v01.bc",
- "spice/ck/juno_sc_prl_160603_160630_jc064a00_v01.bc",
- "spice/ck/juno_sc_prl_160708_160729_jm0001rp_v02.bc",
- "spice/ck/juno_sc_prl_160729_160826_jm0002rp_v01.bc",
- "spice/ck/juno_sc_prl_161115_161213_jx0405rp_v01.bc"
- }
- }
- },
- --NewHorizonsTrail module
- {
- Name = "JunoTrail",
- Parent = "JupiterBarycenter",
- Renderable = {
- Type = "RenderableTrail",
- Body = "JUNO",
- Frame = "GALACTIC",
- Observer = "JUPITER BARYCENTER",
- RGB = { 0.70,0.50,0.20 },
- TropicalOrbitPeriod = 394250.0,
- EarthOrbitRatio = 4.5,
- DayLength = 9.9259,
- TimeStamps = false,
- Textures = {
- Type = "simple",
- Color = "textures/glare_blue.png",
- },
- },
- },
- }
+return {
+ -- New Horizons Body module
+ {
+ Name = "Juno",
+ -- Parent = "PlutoBarycenter",
+ -- Parent = "JupiterBarycenter",
+ Parent = "JupiterBarycenter",
+ Renderable = {
+ Type = "RenderableModel",
+ Body = "JUNO",
+ Geometry = {
+ Type = "MultiModelGeometry",
+ GeometryFile = "Juno.obj",
+ Magnification = 4,
+ },
+ Textures = {
+ Type = "simple",
+ Color = "textures/gray.png",
+ },
+ Rotation = {
+ Source = "JUNO_SPACECRAFT",
+ Destination = "GALACTIC",
+ ModelTransform = {
+ 1.0, 0.0, 0.0,
+ 0.0, 0.0, 1.0,
+ 0.0, -1.0, 0.0
+ }
+ },
+ },
+
+ Ephemeris = {
+ Type = "Spice",
+ Body = "JUNO",
+ Observer = "JUPITER BARYCENTER",
+ Kernels = {
+ "spice/JNO_SCLKSCET.00039.tsc",
+ "spice/juno_jade_v00.ti",
+ "spice/juno_jedi_v00.ti",
+ "spice/juno_jiram_v01.ti",
+ "spice/juno_junocam_v00.ti",
+ "spice/juno_mag_v00.ti",
+ "spice/juno_mwr_v01.ti",
+ "spice/juno_struct_v01.ti",
+ "spice/juno_uvs_v00.ti",
+ "spice/juno_v08.tf",
+ "spice/juno_waves_v00.ti",
+ "spice/juno_mwr_v01.ti",
+ "spice/spk_merge_110805_171017_130515.bsp",
+ "spice/ck/juno_sc_prl_110930_111028_jc003c01_v01.bc",
+ "spice/ck/juno_sc_prl_111028_111125_jc004b00_v01.bc",
+ "spice/ck/juno_sc_prl_111125_111223_jc005b00_v01.bc",
+ "spice/ck/juno_sc_prl_111223_120127_jc006a02_v01.bc",
+ "spice/ck/juno_sc_prl_120127_120217_jc007a00_v01.bc",
+ "spice/ck/juno_sc_prl_120217_120316_jc008b00_v02.bc",
+ "spice/ck/juno_sc_prl_120316_120413_jc009a00_v01.bc",
+ "spice/ck/juno_sc_prl_120413_120511_jc010a04_v01.bc",
+ "spice/ck/juno_sc_prl_120511_120608_jc011a01_v02.bc",
+ "spice/ck/juno_sc_prl_120608_120706_jc012b01_v01.bc",
+ "spice/ck/juno_sc_prl_120706_120802_jc013a01_v01.bc",
+ "spice/ck/juno_sc_prl_120802_120824_jc014b01_v01.bc",
+ "spice/ck/juno_sc_prl_120824_120928_jc015m00_v01.bc",
+ "spice/ck/juno_sc_prl_120919_120928_jc015o00_v01.bc",
+ "spice/ck/juno_sc_prl_120928_121026_jc016c03_v01.bc",
+ "spice/ck/juno_sc_prl_121026_121123_jc017a01_v01.bc",
+ "spice/ck/juno_sc_prl_121123_121221_jc018b01_v01.bc",
+ "spice/ck/juno_sc_prl_121221_130118_jc019a01_v01.bc",
+ "spice/ck/juno_sc_prl_130118_130215_jc020b01_v01.bc",
+ "spice/ck/juno_sc_prl_130315_130412_jc022b01_v01.bc",
+ "spice/ck/juno_sc_prl_130412_130510_jc023b03_v01.bc",
+ "spice/ck/juno_sc_prl_130510_130607_jc024a01_v01.bc",
+ "spice/ck/juno_sc_prl_130607_130705_jc025a00_v01.bc",
+ "spice/ck/juno_sc_prl_130705_130802_jc026a01_v01.bc",
+ "spice/ck/juno_sc_prl_130726_131020_jx024a02_EFB_v03.bc",
+ "spice/ck/juno_sc_prl_130802_130830_jc027a02_v01.bc",
+ "spice/ck/juno_sc_prl_130830_130927_jc028a01_v01.bc",
+ "spice/ck/juno_sc_prl_130926_131025_jc029a00_v01.bc",
+ "spice/ck/juno_sc_prl_130927_131025_jc029c01_v01.bc",
+ "spice/ck/juno_sc_prl_131022_131025_jc029f00_v01.bc",
+ "spice/ck/juno_sc_prl_131025_131122_jc030b04_v01.bc",
+ "spice/ck/juno_sc_prl_131122_131220_jc031b01_v01.bc",
+ "spice/ck/juno_sc_prl_131220_140124_jc032a01_v01.bc",
+ "spice/ck/juno_sc_prl_140124_140214_jc033a01_v01.bc",
+ "spice/ck/juno_sc_prl_140214_140314_jc034b01_v01.bc",
+ "spice/ck/juno_sc_prl_140314_140411_jc035a01_v01.bc",
+ "spice/ck/juno_sc_prl_140411_140509_jc036b01_v01.bc",
+ "spice/ck/juno_sc_prl_140509_140606_jc037b02_v01.bc",
+ "spice/ck/juno_sc_prl_140606_140704_jc038a01_v01.bc",
+ "spice/ck/juno_sc_prl_140704_140801_jc039b01_v01.bc",
+ "spice/ck/juno_sc_prl_140801_140829_jc040a01_v01.bc",
+ "spice/ck/juno_sc_prl_140829_140926_jc041a01_v01.bc",
+ "spice/ck/juno_sc_prl_140926_141024_jc042a01_v01.bc",
+ "spice/ck/juno_sc_prl_141024_141121_jc043a01_v01.bc",
+ "spice/ck/juno_sc_prl_141105_141121_jc043m01_v01.bc",
+ "spice/ck/juno_sc_prl_141107_141121_jc043s01_v01.bc",
+ "spice/ck/juno_sc_prl_141121_141219_jc044a01_v01.bc",
+ "spice/ck/juno_sc_prl_141219_150123_jc045a01_v01.bc",
+ "spice/ck/juno_sc_prl_150123_150213_jc046a01_v01.bc",
+ "spice/ck/juno_sc_prl_150213_150313_jc047a01_v01.bc",
+ "spice/ck/juno_sc_prl_150312_150409_jc048a01_v01.bc",
+ "spice/ck/juno_sc_prl_150410_150508_jc049a01_v01.bc",
+ "spice/ck/juno_sc_prl_150508_150605_jc050a01_v01.bc",
+ "spice/ck/juno_sc_prl_150605_150703_jc051a01_v01.bc",
+ "spice/ck/juno_sc_prl_150703_150731_jc052a01_v01.bc",
+ "spice/ck/juno_sc_prl_150731_150828_jc053a01_v01.bc",
+ "spice/ck/juno_sc_prl_150805_150828_jc053m00_v01.bc",
+ "spice/ck/juno_sc_prl_150807_150828_jc053s00_v01.bc",
+ "spice/ck/juno_sc_prl_150828_150924_jc054a00_v01.bc",
+ "spice/ck/juno_sc_prl_150924_151023_jc055a00_v01.bc",
+ "spice/ck/juno_sc_prl_151023_151120_jc056a00_v01.bc",
+ "spice/ck/juno_sc_prl_151120_151218_jc057a00_v01.bc",
+ "spice/ck/juno_sc_prl_151218_160115_jc058a00_v01.bc",
+ "spice/ck/juno_sc_prl_160115_160212_jc059a00_v01.bc",
+ "spice/ck/juno_sc_prl_160212_160311_jc060a00_v01.bc",
+ "spice/ck/juno_sc_prl_160311_160408_jc061a00_v01.bc",
+ "spice/ck/juno_sc_prl_160408_160506_jc062a00_v01.bc",
+ "spice/ck/juno_sc_prl_160506_160603_jc063a00_v01.bc",
+ "spice/ck/juno_sc_prl_160603_160630_jc064a00_v01.bc",
+ "spice/ck/juno_sc_prl_160708_160729_jm0001rp_v02.bc",
+ "spice/ck/juno_sc_prl_160729_160826_jm0002rp_v01.bc",
+ "spice/ck/juno_sc_prl_161115_161213_jx0405rp_v01.bc"
+ }
+ }
+ },
+ --NewHorizonsTrail module
+ {
+ Name = "JunoTrail",
+ Parent = "JupiterBarycenter",
+ Renderable = {
+ Type = "RenderableTrail",
+ Body = "JUNO",
+ Frame = "GALACTIC",
+ Observer = "JUPITER BARYCENTER",
+ RGB = { 0.70,0.50,0.20 },
+ TropicalOrbitPeriod = 394250.0,
+ EarthOrbitRatio = 4.5,
+ DayLength = 9.9259,
+ TimeStamps = false,
+ Textures = {
+ Type = "simple",
+ Color = "textures/glare_blue.png",
+ },
+ },
+ },
+ }
diff --git a/data/scene/missions/newhorizons/jupiter/callisto/callisto.data b/data/scene/missions/newhorizons/jupiter/callisto/callisto.data
new file mode 100644
index 0000000000..9c381ecce7
--- /dev/null
+++ b/data/scene/missions/newhorizons/jupiter/callisto/callisto.data
@@ -0,0 +1,5 @@
+return {
+ FileRequest = {
+ { Identifier = "callisto_textures", Destination = "textures", Version = 1 }
+ },
+}
\ No newline at end of file
diff --git a/data/scene/newhorizons/jupiter/callisto/callisto.mod b/data/scene/missions/newhorizons/jupiter/callisto/callisto.mod
similarity index 83%
rename from data/scene/newhorizons/jupiter/callisto/callisto.mod
rename to data/scene/missions/newhorizons/jupiter/callisto/callisto.mod
index 83e4e58c14..5454e41ed6 100644
--- a/data/scene/newhorizons/jupiter/callisto/callisto.mod
+++ b/data/scene/missions/newhorizons/jupiter/callisto/callisto.mod
@@ -22,20 +22,22 @@ return {
Observer = "NEW HORIZONS",
Target = "CALLISTO",
Aberration = "NONE",
- AspectRatio = 2
+ AspectRatio = 2,
+
+ Instrument = {
+ Name = "NH_LORRI",
+ Method = "ELLIPSOID",
+ Aberration = "NONE",
+ Fovy = 0.2907,
+ Aspect = 1,
+ Near = 0.2,
+ Far = 10000,
+ },
+
+ PotentialTargets = {
+ "JUPITER", "IO", "EUROPA", "GANYMEDE", "CALLISTO"
+ }
},
- Instrument = {
- Name = "NH_LORRI",
- Method = "ELLIPSOID",
- Aberration = "NONE",
- Fovy = 0.2907,
- Aspect = 1,
- Near = 0.2,
- Far = 10000,
- },
- PotentialTargets = {
- "JUPITER", "IO", "EUROPA", "GANYMEDE", "CALLISTO"
- }
},
Transform = {
Translation = {
@@ -74,7 +76,7 @@ return {
Position = {0, -10000000, 0}
},
},
- },
+ },
-- CallistoTrail module
{
Name = "CallistoTrail",
@@ -93,7 +95,7 @@ return {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
- },
+ },
},
}
}
diff --git a/data/scene/newhorizons/jupiter/callisto/textures/Callisto-Text.png b/data/scene/missions/newhorizons/jupiter/callisto/textures/Callisto-Text.png
similarity index 100%
rename from data/scene/newhorizons/jupiter/callisto/textures/Callisto-Text.png
rename to data/scene/missions/newhorizons/jupiter/callisto/textures/Callisto-Text.png
diff --git a/data/scene/newhorizons/jupiter/callisto/textures/defaultProj.png b/data/scene/missions/newhorizons/jupiter/callisto/textures/defaultProj.png
similarity index 100%
rename from data/scene/newhorizons/jupiter/callisto/textures/defaultProj.png
rename to data/scene/missions/newhorizons/jupiter/callisto/textures/defaultProj.png
diff --git a/data/scene/missions/newhorizons/jupiter/europa/europa.data b/data/scene/missions/newhorizons/jupiter/europa/europa.data
new file mode 100644
index 0000000000..4364fcbc49
--- /dev/null
+++ b/data/scene/missions/newhorizons/jupiter/europa/europa.data
@@ -0,0 +1,5 @@
+return {
+ FileRequest = {
+ { Identifier = "europa_textures", Destination = "textures", Version = 1 }
+ },
+}
\ No newline at end of file
diff --git a/data/scene/newhorizons/jupiter/europa/europa.mod b/data/scene/missions/newhorizons/jupiter/europa/europa.mod
similarity index 82%
rename from data/scene/newhorizons/jupiter/europa/europa.mod
rename to data/scene/missions/newhorizons/jupiter/europa/europa.mod
index f09899f0f3..31933603e7 100644
--- a/data/scene/newhorizons/jupiter/europa/europa.mod
+++ b/data/scene/missions/newhorizons/jupiter/europa/europa.mod
@@ -22,20 +22,22 @@ return {
Observer = "NEW HORIZONS",
Target = "EUROPA",
Aberration = "NONE",
- AspectRatio = 2
+ AspectRatio = 2,
+
+ Instrument = {
+ Name = "NH_LORRI",
+ Method = "ELLIPSOID",
+ Aberration = "NONE",
+ Fovy = 0.2907,
+ Aspect = 1,
+ Near = 0.2,
+ Far = 10000,
+ },
+
+ PotentialTargets = {
+ "JUPITER", "IO", "EUROPA", "GANYMEDE", "CALLISTO"
+ }
},
- Instrument = {
- Name = "NH_LORRI",
- Method = "ELLIPSOID",
- Aberration = "NONE",
- Fovy = 0.2907,
- Aspect = 1,
- Near = 0.2,
- Far = 10000,
- },
- PotentialTargets = {
- "JUPITER", "IO", "EUROPA", "GANYMEDE", "CALLISTO"
- }
},
Transform = {
Translation = {
diff --git a/data/scene/newhorizons/jupiter/europa/textures/Europa-Text.png b/data/scene/missions/newhorizons/jupiter/europa/textures/Europa-Text.png
similarity index 100%
rename from data/scene/newhorizons/jupiter/europa/textures/Europa-Text.png
rename to data/scene/missions/newhorizons/jupiter/europa/textures/Europa-Text.png
diff --git a/data/scene/newhorizons/jupiter/europa/textures/defaultProj.png b/data/scene/missions/newhorizons/jupiter/europa/textures/defaultProj.png
similarity index 100%
rename from data/scene/newhorizons/jupiter/europa/textures/defaultProj.png
rename to data/scene/missions/newhorizons/jupiter/europa/textures/defaultProj.png
diff --git a/data/scene/missions/newhorizons/jupiter/ganymede/ganymede.data b/data/scene/missions/newhorizons/jupiter/ganymede/ganymede.data
new file mode 100644
index 0000000000..4ae2714582
--- /dev/null
+++ b/data/scene/missions/newhorizons/jupiter/ganymede/ganymede.data
@@ -0,0 +1,5 @@
+return {
+ FileRequest = {
+ { Identifier = "ganymede_textures", Destination = "textures", Version = 1 }
+ },
+}
\ No newline at end of file
diff --git a/data/scene/newhorizons/jupiter/ganymede/ganymede.mod b/data/scene/missions/newhorizons/jupiter/ganymede/ganymede.mod
similarity index 82%
rename from data/scene/newhorizons/jupiter/ganymede/ganymede.mod
rename to data/scene/missions/newhorizons/jupiter/ganymede/ganymede.mod
index eb6d0aa01b..0e7952fa87 100644
--- a/data/scene/newhorizons/jupiter/ganymede/ganymede.mod
+++ b/data/scene/missions/newhorizons/jupiter/ganymede/ganymede.mod
@@ -22,20 +22,22 @@ return {
Observer = "NEW HORIZONS",
Target = "GANYMEDE",
Aberration = "NONE",
- AspectRatio = 2
+ AspectRatio = 2,
+
+ Instrument = {
+ Name = "NH_LORRI",
+ Method = "ELLIPSOID",
+ Aberration = "NONE",
+ Fovy = 0.2907,
+ Aspect = 1,
+ Near = 0.2,
+ Far = 10000,
+ },
+
+ PotentialTargets = {
+ "JUPITER", "IO", "EUROPA", "GANYMEDE", "CALLISTO"
+ }
},
- Instrument = {
- Name = "NH_LORRI",
- Method = "ELLIPSOID",
- Aberration = "NONE",
- Fovy = 0.2907,
- Aspect = 1,
- Near = 0.2,
- Far = 10000,
- },
- PotentialTargets = {
- "JUPITER", "IO", "EUROPA", "GANYMEDE", "CALLISTO"
- }
},
Transform = {
Translation = {
diff --git a/data/scene/newhorizons/jupiter/ganymede/textures/Ganymede-Text.png b/data/scene/missions/newhorizons/jupiter/ganymede/textures/Ganymede-Text.png
similarity index 100%
rename from data/scene/newhorizons/jupiter/ganymede/textures/Ganymede-Text.png
rename to data/scene/missions/newhorizons/jupiter/ganymede/textures/Ganymede-Text.png
diff --git a/data/scene/newhorizons/jupiter/ganymede/textures/defaultProj.png b/data/scene/missions/newhorizons/jupiter/ganymede/textures/defaultProj.png
similarity index 100%
rename from data/scene/newhorizons/jupiter/ganymede/textures/defaultProj.png
rename to data/scene/missions/newhorizons/jupiter/ganymede/textures/defaultProj.png
diff --git a/data/scene/missions/newhorizons/jupiter/io/io.data b/data/scene/missions/newhorizons/jupiter/io/io.data
new file mode 100644
index 0000000000..baca863e4b
--- /dev/null
+++ b/data/scene/missions/newhorizons/jupiter/io/io.data
@@ -0,0 +1,5 @@
+return {
+ FileRequest = {
+ { Identifier = "io_textures", Destination = "textures", Version = 1 }
+ },
+}
\ No newline at end of file
diff --git a/data/scene/newhorizons/jupiter/io/io.mod b/data/scene/missions/newhorizons/jupiter/io/io.mod
similarity index 84%
rename from data/scene/newhorizons/jupiter/io/io.mod
rename to data/scene/missions/newhorizons/jupiter/io/io.mod
index a5fe7540b3..e6b481c40c 100644
--- a/data/scene/newhorizons/jupiter/io/io.mod
+++ b/data/scene/missions/newhorizons/jupiter/io/io.mod
@@ -22,20 +22,22 @@ return {
Observer = "NEW HORIZONS",
Target = "IO",
Aberration = "NONE",
- AspectRatio = 2
+ AspectRatio = 2,
+
+ Instrument = {
+ Name = "NH_LORRI",
+ Method = "ELLIPSOID",
+ Aberration = "NONE",
+ Fovy = 0.2907,
+ Aspect = 1,
+ Near = 0.2,
+ Far = 10000,
+ },
+
+ PotentialTargets = {
+ "JUPITER", "IO", "EUROPA", "GANYMEDE", "CALLISTO"
+ }
},
- Instrument = {
- Name = "NH_LORRI",
- Method = "ELLIPSOID",
- Aberration = "NONE",
- Fovy = 0.2907,
- Aspect = 1,
- Near = 0.2,
- Far = 10000,
- },
- PotentialTargets = {
- "JUPITER", "IO", "EUROPA", "GANYMEDE", "CALLISTO"
- }
},
Transform = {
Translation = {
diff --git a/data/scene/newhorizons/jupiter/io/textures/Io-Text.png b/data/scene/missions/newhorizons/jupiter/io/textures/Io-Text.png
similarity index 100%
rename from data/scene/newhorizons/jupiter/io/textures/Io-Text.png
rename to data/scene/missions/newhorizons/jupiter/io/textures/Io-Text.png
diff --git a/data/scene/newhorizons/jupiter/jupiter/ProjectionsOfInterest.torrent b/data/scene/missions/newhorizons/jupiter/jupiter/ProjectionsOfInterest.torrent
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/ProjectionsOfInterest.torrent
rename to data/scene/missions/newhorizons/jupiter/jupiter/ProjectionsOfInterest.torrent
diff --git a/data/scene/newhorizons/jupiter/jupiter/jupiter.data b/data/scene/missions/newhorizons/jupiter/jupiter/jupiter.data
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/jupiter.data
rename to data/scene/missions/newhorizons/jupiter/jupiter/jupiter.data
diff --git a/data/scene/newhorizons/jupiter/jupiter/jupiter.mod b/data/scene/missions/newhorizons/jupiter/jupiter/jupiter.mod
similarity index 55%
rename from data/scene/newhorizons/jupiter/jupiter/jupiter.mod
rename to data/scene/missions/newhorizons/jupiter/jupiter/jupiter.mod
index 04d07a3a1e..b1d3377eac 100644
--- a/data/scene/newhorizons/jupiter/jupiter/jupiter.mod
+++ b/data/scene/missions/newhorizons/jupiter/jupiter/jupiter.mod
@@ -33,58 +33,59 @@ return {
},
Projection = {
--Sequence = "F:/JupiterFullSequence",
- Sequence = "${OPENSPACE_DATA}/scene/newhorizons/jupiter/jupiter/ProjectionsOfInterest",
+ Sequence = "${OPENSPACE_DATA}/scene/missions/newhorizons/jupiter/jupiter/ProjectionsOfInterest",
SequenceType = "image-sequence",
Observer = "NEW HORIZONS",
Target = "JUPITER",
Aberration = "NONE",
- AspectRatio = 2
- },
- DataInputTranslation = {
- Instrument = {
- LORRI = {
- DetectorType = "Camera",
- Spice = {"NH_LORRI"},
- },
- },
- Target ={
- Read = {
- "TARGET_NAME",
- "INSTRUMENT_HOST_NAME",
- "INSTRUMENT_ID",
- "START_TIME",
- "STOP_TIME",
- "DETECTOR_TYPE",
- --"SEQUENCE_ID",
- },
- Convert = {
- JRINGS = {"IMAGE-PLANE" },
- J1IO = {"IO" },
- J2EUROPA = {"EUROPA" },
- J6HIMALIA = {"IMAGE-PLANE" },
- J7ELARA = {"IMAGE-PLANE" },
- CALIBRATION = {"CALIBRATION" },
- JUPITER = {"JUPITER" },
- CALLISTO = {"CALLISTO" },
- GANYMEDE = {"GANYMEDE" },
- EARTH = {"EARTH" },
- NEWHORIZONS = {"NEW HORIZONS"},
- CCD = {"CAMERA" },
- FRAMECCD = {"SCANNER" },
+ AspectRatio = 2,
+
+ DataInputTranslation = {
+ Instrument = {
+ LORRI = {
+ DetectorType = "Camera",
+ Spice = {"NH_LORRI"},
+ },
+ },
+ Target ={
+ Read = {
+ "TARGET_NAME",
+ "INSTRUMENT_HOST_NAME",
+ "INSTRUMENT_ID",
+ "START_TIME",
+ "STOP_TIME",
+ "DETECTOR_TYPE",
+ --"SEQUENCE_ID",
+ },
+ Convert = {
+ JRINGS = {"IMAGE-PLANE" },
+ J1IO = {"IO" },
+ J2EUROPA = {"EUROPA" },
+ J6HIMALIA = {"IMAGE-PLANE" },
+ J7ELARA = {"IMAGE-PLANE" },
+ CALIBRATION = {"CALIBRATION" },
+ JUPITER = {"JUPITER" },
+ CALLISTO = {"CALLISTO" },
+ GANYMEDE = {"GANYMEDE" },
+ EARTH = {"EARTH" },
+ NEWHORIZONS = {"NEW HORIZONS"},
+ CCD = {"CAMERA" },
+ FRAMECCD = {"SCANNER" },
+ },
},
},
- },
- Instrument = {
- Name = "NH_LORRI",
- Method = "ELLIPSOID",
- Aberration = "NONE",
- Fovy = 0.2907,
- Aspect = 1,
- Near = 0.2,
- Far = 10000,
- },
- PotentialTargets = {
- "JUPITER", "IO", "EUROPA", "GANYMEDE", "CALLISTO"
+ Instrument = {
+ Name = "NH_LORRI",
+ Method = "ELLIPSOID",
+ Aberration = "NONE",
+ Fovy = 0.2907,
+ Aspect = 1,
+ Near = 0.2,
+ Far = 10000,
+ },
+ PotentialTargets = {
+ "JUPITER", "IO", "EUROPA", "GANYMEDE", "CALLISTO"
+ }
}
},
Transform = {
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/1.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/1.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/1.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/1.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/2.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/2.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/2.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/2.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/3.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/3.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/3.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/3.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/Jupiter-text.png b/data/scene/missions/newhorizons/jupiter/jupiter/textures/Jupiter-text.png
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/Jupiter-text.png
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/Jupiter-text.png
diff --git a/data/scene/newhorizons/jupiter/io/textures/defaultProj.png b/data/scene/missions/newhorizons/jupiter/jupiter/textures/defaultProj.png
similarity index 100%
rename from data/scene/newhorizons/jupiter/io/textures/defaultProj.png
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/defaultProj.png
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/defaultProj2.png b/data/scene/missions/newhorizons/jupiter/jupiter/textures/defaultProj2.png
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/defaultProj2.png
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/defaultProj2.png
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/europaRise1.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/europaRise1.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/europaRise1.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/europaRise1.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/europaRise2.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/europaRise2.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/europaRise2.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/europaRise2.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/grid.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/grid.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/grid.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/grid.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/jupiter.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/jupiter.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/jupiter.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/jupiter.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/jupiterFlipped.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/jupiterFlipped.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/jupiterFlipped.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/jupiterFlipped.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/jupiterFlipped_low.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/jupiterFlipped_low.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/jupiterFlipped_low.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/jupiterFlipped_low.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/lor_0034817584_0x630_sci_1.fit.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/lor_0034817584_0x630_sci_1.fit.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/lor_0034817584_0x630_sci_1.fit.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/lor_0034817584_0x630_sci_1.fit.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/lor_0034817654_0x630_sci_1.fit.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/lor_0034817654_0x630_sci_1.fit.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/lor_0034817654_0x630_sci_1.fit.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/lor_0034817654_0x630_sci_1.fit.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/lor_0034817724_0x630_sci_1.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/lor_0034817724_0x630_sci_1.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/lor_0034817724_0x630_sci_1.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/lor_0034817724_0x630_sci_1.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/lor_0034817794_0x630_sci_1.fit.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/lor_0034817794_0x630_sci_1.fit.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/lor_0034817794_0x630_sci_1.fit.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/lor_0034817794_0x630_sci_1.fit.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/lorriTest1.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/lorriTest1.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/lorriTest1.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/lorriTest1.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/lorriTest2.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/lorriTest2.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/lorriTest2.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/lorriTest2.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/scope.png b/data/scene/missions/newhorizons/jupiter/jupiter/textures/scope.png
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/scope.png
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/scope.png
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/show.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/show.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/show.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/show.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/show_3072.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/show_3072.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/show_3072.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/show_3072.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/small.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/small.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/small.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/small.jpg
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/small.png b/data/scene/missions/newhorizons/jupiter/jupiter/textures/small.png
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/small.png
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/small.png
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/test.jpg b/data/scene/missions/newhorizons/jupiter/jupiter/textures/test.jpg
similarity index 100%
rename from data/scene/newhorizons/jupiter/jupiter/textures/test.jpg
rename to data/scene/missions/newhorizons/jupiter/jupiter/textures/test.jpg
diff --git a/data/scene/newhorizons/newhorizons/NewHorizonsKernels.torrent b/data/scene/missions/newhorizons/newhorizons/NewHorizonsKernels.torrent
similarity index 100%
rename from data/scene/newhorizons/newhorizons/NewHorizonsKernels.torrent
rename to data/scene/missions/newhorizons/newhorizons/NewHorizonsKernels.torrent
diff --git a/data/scene/missions/newhorizons/newhorizons/jup260.bsp.torrent b/data/scene/missions/newhorizons/newhorizons/jup260.bsp.torrent
new file mode 100644
index 0000000000..0c82073d38
Binary files /dev/null and b/data/scene/missions/newhorizons/newhorizons/jup260.bsp.torrent differ
diff --git a/data/scene/newhorizons/newhorizons/newhorizons.data b/data/scene/missions/newhorizons/newhorizons/newhorizons.data
similarity index 100%
rename from data/scene/newhorizons/newhorizons/newhorizons.data
rename to data/scene/missions/newhorizons/newhorizons/newhorizons.data
diff --git a/data/scene/newhorizons/newhorizons/newhorizons.mod b/data/scene/missions/newhorizons/newhorizons/newhorizons.mod
similarity index 97%
rename from data/scene/newhorizons/newhorizons/newhorizons.mod
rename to data/scene/missions/newhorizons/newhorizons/newhorizons.mod
index af08d5f56b..c683779d8f 100644
--- a/data/scene/newhorizons/newhorizons/newhorizons.mod
+++ b/data/scene/missions/newhorizons/newhorizons/newhorizons.mod
@@ -90,7 +90,7 @@ return {
Geometry = {
Type = "MultiModelGeometry",
GeometryFile = "models/NewHorizonsCleanModel.obj",
- Magnification = 4,
+ -- Magnification = 4,
},
Textures = {
Type = "simple",
@@ -114,6 +114,10 @@ return {
SourceFrame = "NH_SPACECRAFT",
DestinationFrame = "GALACTIC",
},
+ Scale = {
+ Type = "StaticScale",
+ Scale = 1000
+ }
},
},
--NewHorizonsTrail module
@@ -150,7 +154,7 @@ return {
Geometry = {
Type = "MultiModelGeometry",
GeometryFile = "models/Labels.obj",
- Magnification = 4,
+ -- Magnification = 4,
},
Textures = {
Type = "simple",
@@ -166,10 +170,9 @@ return {
Fadeable = false,
Ghosting = false,
},
- },
+ }
},
-
- {
+ {
Name = "NewHorizonsTrailPluto",
Parent = "PlutoBarycenter",
Renderable = {
diff --git a/data/scene/newhorizons/newhorizonsfov/newhorizonsfov.mod b/data/scene/missions/newhorizons/newhorizonsfov/newhorizonsfov.mod
similarity index 100%
rename from data/scene/newhorizons/newhorizonsfov/newhorizonsfov.mod
rename to data/scene/missions/newhorizons/newhorizonsfov/newhorizonsfov.mod
diff --git a/data/scene/newhorizons/newhorizonsfov/textures/glare.png b/data/scene/missions/newhorizons/newhorizonsfov/textures/glare.png
similarity index 100%
rename from data/scene/newhorizons/newhorizonsfov/textures/glare.png
rename to data/scene/missions/newhorizons/newhorizonsfov/textures/glare.png
diff --git a/data/scene/dawn/dawn/textures/glare_blue.png b/data/scene/missions/newhorizons/newhorizonsfov/textures/glare_blue.png
similarity index 100%
rename from data/scene/dawn/dawn/textures/glare_blue.png
rename to data/scene/missions/newhorizons/newhorizonsfov/textures/glare_blue.png
diff --git a/data/scene/newhorizons/pluto/charon/charon.data b/data/scene/missions/newhorizons/pluto/charon/charon.data
similarity index 100%
rename from data/scene/newhorizons/pluto/charon/charon.data
rename to data/scene/missions/newhorizons/pluto/charon/charon.data
diff --git a/data/scene/newhorizons/pluto/charon/charon.mod b/data/scene/missions/newhorizons/pluto/charon/charon.mod
similarity index 82%
rename from data/scene/newhorizons/pluto/charon/charon.mod
rename to data/scene/missions/newhorizons/pluto/charon/charon.mod
index d800cce9c9..01c370acc6 100644
--- a/data/scene/newhorizons/pluto/charon/charon.mod
+++ b/data/scene/missions/newhorizons/pluto/charon/charon.mod
@@ -22,38 +22,35 @@ return {
Parent = "PlutoBarycenter",
Renderable = {
Type = "RenderablePlanetProjection",
- Frame = "IAU_CHARON",
- Body = "CHARON",
Geometry = {
Type = "SimpleSphere",
Radius = { 6.035 , 5 },
Segments = 100
},
Textures = {
- Type = "simple",
Color = ColorTexture,
Height = "textures/cpdem-Mcolor2-MLorriCA-lr-5_ZMfs-cyl.jpg",
- Project = "textures/defaultProj.png",
- Sequencing = "true",
},
Projection = {
Observer = "NEW HORIZONS",
Target = "CHARON",
Aberration = "NONE",
- AspectRatio = 2
- },
- Instrument = {
- Name = "NH_LORRI",
- Method = "ELLIPSOID",
- Aberration = "NONE",
- Fovy = 0.2907,
- Aspect = 1,
- Near = 0.2,
- Far = 10000,
- },
- PotentialTargets = {
- "PLUTO",
- "CHARON"
+ AspectRatio = 2,
+
+ Instrument = {
+ Name = "NH_LORRI",
+ Method = "ELLIPSOID",
+ Aberration = "NONE",
+ Fovy = 0.2907,
+ Aspect = 1,
+ Near = 0.2,
+ Far = 10000,
+ },
+
+ PotentialTargets = {
+ "PLUTO",
+ "CHARON"
+ }
}
},
Transform = {
diff --git a/data/scene/newhorizons/pluto/hydra/hydra.mod b/data/scene/missions/newhorizons/pluto/hydra/hydra.mod
similarity index 100%
rename from data/scene/newhorizons/pluto/hydra/hydra.mod
rename to data/scene/missions/newhorizons/pluto/hydra/hydra.mod
diff --git a/data/scene/newhorizons/pluto/hydra/textures/Hydra-Text.png b/data/scene/missions/newhorizons/pluto/hydra/textures/Hydra-Text.png
similarity index 100%
rename from data/scene/newhorizons/pluto/hydra/textures/Hydra-Text.png
rename to data/scene/missions/newhorizons/pluto/hydra/textures/Hydra-Text.png
diff --git a/data/scene/newhorizons/pluto/hydra/textures/gray.jpg b/data/scene/missions/newhorizons/pluto/hydra/textures/gray.jpg
similarity index 100%
rename from data/scene/newhorizons/pluto/hydra/textures/gray.jpg
rename to data/scene/missions/newhorizons/pluto/hydra/textures/gray.jpg
diff --git a/data/scene/newhorizons/pluto/kerberos/kerberos.mod b/data/scene/missions/newhorizons/pluto/kerberos/kerberos.mod
similarity index 100%
rename from data/scene/newhorizons/pluto/kerberos/kerberos.mod
rename to data/scene/missions/newhorizons/pluto/kerberos/kerberos.mod
diff --git a/data/scene/newhorizons/pluto/kerberos/textures/Kerberos-Text.png b/data/scene/missions/newhorizons/pluto/kerberos/textures/Kerberos-Text.png
similarity index 100%
rename from data/scene/newhorizons/pluto/kerberos/textures/Kerberos-Text.png
rename to data/scene/missions/newhorizons/pluto/kerberos/textures/Kerberos-Text.png
diff --git a/data/scene/newhorizons/pluto/kerberos/textures/gray.jpg b/data/scene/missions/newhorizons/pluto/kerberos/textures/gray.jpg
similarity index 100%
rename from data/scene/newhorizons/pluto/kerberos/textures/gray.jpg
rename to data/scene/missions/newhorizons/pluto/kerberos/textures/gray.jpg
diff --git a/data/scene/newhorizons/pluto/nix/nix.mod b/data/scene/missions/newhorizons/pluto/nix/nix.mod
similarity index 100%
rename from data/scene/newhorizons/pluto/nix/nix.mod
rename to data/scene/missions/newhorizons/pluto/nix/nix.mod
diff --git a/data/scene/newhorizons/pluto/nix/textures/Nix-Text.png b/data/scene/missions/newhorizons/pluto/nix/textures/Nix-Text.png
similarity index 100%
rename from data/scene/newhorizons/pluto/nix/textures/Nix-Text.png
rename to data/scene/missions/newhorizons/pluto/nix/textures/Nix-Text.png
diff --git a/data/scene/newhorizons/pluto/nix/textures/gray.jpg b/data/scene/missions/newhorizons/pluto/nix/textures/gray.jpg
similarity index 100%
rename from data/scene/newhorizons/pluto/nix/textures/gray.jpg
rename to data/scene/missions/newhorizons/pluto/nix/textures/gray.jpg
diff --git a/data/scene/newhorizons/pluto/pluto/pluto.data b/data/scene/missions/newhorizons/pluto/pluto/pluto.data
similarity index 100%
rename from data/scene/newhorizons/pluto/pluto/pluto.data
rename to data/scene/missions/newhorizons/pluto/pluto/pluto.data
diff --git a/data/scene/newhorizons/pluto/pluto/pluto.mod b/data/scene/missions/newhorizons/pluto/pluto/pluto.mod
similarity index 53%
rename from data/scene/newhorizons/pluto/pluto/pluto.mod
rename to data/scene/missions/newhorizons/pluto/pluto/pluto.mod
index e6c4537046..4434ec1cb0 100644
--- a/data/scene/newhorizons/pluto/pluto/pluto.mod
+++ b/data/scene/missions/newhorizons/pluto/pluto/pluto.mod
@@ -36,124 +36,122 @@ return {
Parent = "PlutoBarycenter",
Renderable = {
Type = "RenderablePlanetProjection",
- Frame = "IAU_PLUTO",
- Body = "PLUTO",
Geometry = {
Type = "SimpleSphere",
Radius = { 1.173 , 6 },
Segments = 100
},
Textures = {
- Type = "simple",
Color = ColorTexture,
Height = "textures/pluto_shenk_heightmap.jpg",
- Project = "textures/3.jpg",
- Sequencing = "true"
},
Projection = {
- Sequence = "${OPENSPACE_DATA}/scene/newhorizons/pluto/pluto/images",
- EventFile = "${OPENSPACE_DATA}/scene/newhorizons/pluto/pluto/assets/core_v9h_obs_getmets_v8_time_fix_nofrcd_mld.txt",
+ Sequence = "${OPENSPACE_DATA}/scene/missions/newhorizons/pluto/pluto/images",
+ EventFile = "${OPENSPACE_DATA}/scene/missions/newhorizons/pluto/pluto/assets/core_v9h_obs_getmets_v8_time_fix_nofrcd_mld.txt",
SequenceType = "hybrid",
Observer = "NEW HORIZONS",
Target = "PLUTO",
Aberration = "NONE",
- AspectRatio = 2
- },
- DataInputTranslation = {
- Instrument = {
- LORRI = {
- DetectorType = "Camera",
- Spice = {"NH_LORRI"},
- },
- RALPH_MVIC_PAN_FRAME = {
- DetectorType = "Scanner",
- StopCommand = "RALPH_ABORT",
- Spice = {"NH_RALPH_MVIC_FT"},
- },
- RALPH_MVIC_COLOR = {
- DetectorType = "Scanner",
- StopCommand = "END_NOM",
- Spice = { "NH_RALPH_MVIC_NIR",
- "NH_RALPH_MVIC_METHANE",
- "NH_RALPH_MVIC_RED",
- "NH_RALPH_MVIC_BLUE" },
- },
- RALPH_LEISA = {
- DetectorType = "Scanner",
- StopCommand = "END_NOM",
- Spice = {"NH_RALPH_LEISA"},
- },
- RALPH_MVIC_PAN1 = {
- DetectorType = "Scanner",
- StopCommand = "END_NOM",
- Spice = {"NH_RALPH_MVIC_PAN1"},
- },
- RALPH_MVIC_PAN2 = {
- DetectorType = "Scanner",
- StopCommand = "END_NOM",
- Spice = {"NH_RALPH_MVIC_PAN2"},
- },
- ALICE_Use_AIRGLOW = {
- DetectorType = "Scanner",
- StopCommand = "ALICE_END_PIXELLIST",
- Spice = {"NH_ALICE_AIRGLOW"},
- },
- ALICE_Use_AIRGLOW = {
- DetectorType = "Scanner",
- StopCommand = "ALICE_END_HISTOGRAM",
- Spice = {"NH_ALICE_AIRGLOW"},
- },
- ALICE_Use_SOCC = {
- DetectorType = "Scanner",
- StopCommand = "ALICE_END_PIXELLIST",
- Spice = {"NH_ALICE_SOC"},
- },
- ALICE_Use_SOCC = {
- DetectorType = "Scanner",
- StopCommand = "ALICE_END_HISTOGRAM",
- Spice = {"NH_ALICE_SOC"},
- },
- REX_START = {
- DetectorType = "Scanner",
- StopCommand = "REX_MODE_OFF",
- Spice = { "NH_REX" },
- }
- },
- Target ={
- Read = {
- "TARGET_NAME",
- "INSTRUMENT_HOST_NAME",
- "INSTRUMENT_ID",
- "START_TIME",
- "STOP_TIME",
- "DETECTOR_TYPE",
- --"SEQUENCE_ID",
- },
- Convert = {
- PLUTO = {"PLUTO" },
- NEWHORIZONS = {"NEW HORIZONS"},
- CCD = {"CAMERA" },
- FRAMECCD = {"SCANNER" },
+ AspectRatio = 2,
+
+ DataInputTranslation = {
+ Instrument = {
+ LORRI = {
+ DetectorType = "Camera",
+ Spice = {"NH_LORRI"},
+ },
+ RALPH_MVIC_PAN_FRAME = {
+ DetectorType = "Scanner",
+ StopCommand = "RALPH_ABORT",
+ Spice = {"NH_RALPH_MVIC_FT"},
+ },
+ RALPH_MVIC_COLOR = {
+ DetectorType = "Scanner",
+ StopCommand = "END_NOM",
+ Spice = { "NH_RALPH_MVIC_NIR",
+ "NH_RALPH_MVIC_METHANE",
+ "NH_RALPH_MVIC_RED",
+ "NH_RALPH_MVIC_BLUE" },
+ },
+ RALPH_LEISA = {
+ DetectorType = "Scanner",
+ StopCommand = "END_NOM",
+ Spice = {"NH_RALPH_LEISA"},
+ },
+ RALPH_MVIC_PAN1 = {
+ DetectorType = "Scanner",
+ StopCommand = "END_NOM",
+ Spice = {"NH_RALPH_MVIC_PAN1"},
+ },
+ RALPH_MVIC_PAN2 = {
+ DetectorType = "Scanner",
+ StopCommand = "END_NOM",
+ Spice = {"NH_RALPH_MVIC_PAN2"},
+ },
+ ALICE_Use_AIRGLOW = {
+ DetectorType = "Scanner",
+ StopCommand = "ALICE_END_PIXELLIST",
+ Spice = {"NH_ALICE_AIRGLOW"},
+ },
+ ALICE_Use_AIRGLOW = {
+ DetectorType = "Scanner",
+ StopCommand = "ALICE_END_HISTOGRAM",
+ Spice = {"NH_ALICE_AIRGLOW"},
+ },
+ ALICE_Use_SOCC = {
+ DetectorType = "Scanner",
+ StopCommand = "ALICE_END_PIXELLIST",
+ Spice = {"NH_ALICE_SOC"},
+ },
+ ALICE_Use_SOCC = {
+ DetectorType = "Scanner",
+ StopCommand = "ALICE_END_HISTOGRAM",
+ Spice = {"NH_ALICE_SOC"},
+ },
+ REX_START = {
+ DetectorType = "Scanner",
+ StopCommand = "REX_MODE_OFF",
+ Spice = { "NH_REX" },
+ }
+ },
+ Target ={
+ Read = {
+ "TARGET_NAME",
+ "INSTRUMENT_HOST_NAME",
+ "INSTRUMENT_ID",
+ "START_TIME",
+ "STOP_TIME",
+ "DETECTOR_TYPE",
+ --"SEQUENCE_ID",
+ },
+ Convert = {
+ PLUTO = {"PLUTO" },
+ NEWHORIZONS = {"NEW HORIZONS"},
+ CCD = {"CAMERA" },
+ FRAMECCD = {"SCANNER" },
+ },
},
},
+
+ Instrument = {
+ Name = "NH_LORRI",
+ Method = "ELLIPSOID",
+ Aberration = "NONE",
+ Fovy = 0.2907,
+ Aspect = 1,
+ Near = 0.2,
+ Far = 10000,
+ },
+
+ PotentialTargets = {
+ "PLUTO",
+ "CHARON",
+ "NIX",
+ "HYDRA",
+ "P5",
+ "P4",
+ }
},
- Instrument = {
- Name = "NH_LORRI",
- Method = "ELLIPSOID",
- Aberration = "NONE",
- Fovy = 0.2907,
- Aspect = 1,
- Near = 0.2,
- Far = 10000,
- },
- PotentialTargets = {
- "PLUTO",
- "CHARON",
- "NIX",
- "HYDRA",
- "P5",
- "P4",
- }
},
Transform = {
Translation = {
diff --git a/data/scene/newhorizons/pluto/styx/styx.mod b/data/scene/missions/newhorizons/pluto/styx/styx.mod
similarity index 100%
rename from data/scene/newhorizons/pluto/styx/styx.mod
rename to data/scene/missions/newhorizons/pluto/styx/styx.mod
diff --git a/data/scene/newhorizons/pluto/styx/textures/Styx-Text.png b/data/scene/missions/newhorizons/pluto/styx/textures/Styx-Text.png
similarity index 100%
rename from data/scene/newhorizons/pluto/styx/textures/Styx-Text.png
rename to data/scene/missions/newhorizons/pluto/styx/textures/Styx-Text.png
diff --git a/data/scene/newhorizons/pluto/styx/textures/gray.jpg b/data/scene/missions/newhorizons/pluto/styx/textures/gray.jpg
similarity index 100%
rename from data/scene/newhorizons/pluto/styx/textures/gray.jpg
rename to data/scene/missions/newhorizons/pluto/styx/textures/gray.jpg
diff --git a/data/scene/osirisrex/bennu/InstrumentTimes/BaseballDiamond_PolyCam.txt b/data/scene/missions/osirisrex/bennu/InstrumentTimes/BaseballDiamond_PolyCam.txt
similarity index 100%
rename from data/scene/osirisrex/bennu/InstrumentTimes/BaseballDiamond_PolyCam.txt
rename to data/scene/missions/osirisrex/bennu/InstrumentTimes/BaseballDiamond_PolyCam.txt
diff --git a/data/scene/osirisrex/bennu/InstrumentTimes/DetailedSurvey_EquatorialStations_Spectrometers.txt b/data/scene/missions/osirisrex/bennu/InstrumentTimes/DetailedSurvey_EquatorialStations_Spectrometers.txt
similarity index 100%
rename from data/scene/osirisrex/bennu/InstrumentTimes/DetailedSurvey_EquatorialStations_Spectrometers.txt
rename to data/scene/missions/osirisrex/bennu/InstrumentTimes/DetailedSurvey_EquatorialStations_Spectrometers.txt
diff --git a/data/scene/osirisrex/bennu/InstrumentTimes/OrbitalB_Site08_PolyCamImages.txt b/data/scene/missions/osirisrex/bennu/InstrumentTimes/OrbitalB_Site08_PolyCamImages.txt
similarity index 100%
rename from data/scene/osirisrex/bennu/InstrumentTimes/OrbitalB_Site08_PolyCamImages.txt
rename to data/scene/missions/osirisrex/bennu/InstrumentTimes/OrbitalB_Site08_PolyCamImages.txt
diff --git a/data/scene/osirisrex/bennu/InstrumentTimes/Recon_225m_Equatorial_PolyCam.txt b/data/scene/missions/osirisrex/bennu/InstrumentTimes/Recon_225m_Equatorial_PolyCam.txt
similarity index 100%
rename from data/scene/osirisrex/bennu/InstrumentTimes/Recon_225m_Equatorial_PolyCam.txt
rename to data/scene/missions/osirisrex/bennu/InstrumentTimes/Recon_225m_Equatorial_PolyCam.txt
diff --git a/data/scene/osirisrex/bennu/InstrumentTimes/Recon_225m_Equatorial_spectrometers.txt b/data/scene/missions/osirisrex/bennu/InstrumentTimes/Recon_225m_Equatorial_spectrometers.txt
similarity index 100%
rename from data/scene/osirisrex/bennu/InstrumentTimes/Recon_225m_Equatorial_spectrometers.txt
rename to data/scene/missions/osirisrex/bennu/InstrumentTimes/Recon_225m_Equatorial_spectrometers.txt
diff --git a/data/scene/osirisrex/bennu/InstrumentTimes/Recon_525m_Equatorial_spectrometers.txt b/data/scene/missions/osirisrex/bennu/InstrumentTimes/Recon_525m_Equatorial_spectrometers.txt
similarity index 100%
rename from data/scene/osirisrex/bennu/InstrumentTimes/Recon_525m_Equatorial_spectrometers.txt
rename to data/scene/missions/osirisrex/bennu/InstrumentTimes/Recon_525m_Equatorial_spectrometers.txt
diff --git a/data/scene/osirisrex/bennu/bennu.data b/data/scene/missions/osirisrex/bennu/bennu.data
similarity index 100%
rename from data/scene/osirisrex/bennu/bennu.data
rename to data/scene/missions/osirisrex/bennu/bennu.data
diff --git a/data/scene/osirisrex/bennu/bennu.mod b/data/scene/missions/osirisrex/bennu/bennu.mod
similarity index 62%
rename from data/scene/osirisrex/bennu/bennu.mod
rename to data/scene/missions/osirisrex/bennu/bennu.mod
index eeabed0e09..5835657356 100644
--- a/data/scene/osirisrex/bennu/bennu.mod
+++ b/data/scene/missions/osirisrex/bennu/bennu.mod
@@ -16,7 +16,7 @@ return {
},
},
{
- Name = "Bennu2",
+ Name = "Bennu",
Parent = "BennuBarycenter",
Renderable = {
@@ -38,53 +38,51 @@ return {
Project = "textures/defaultProj.png",
Default = "textures/defaultProj.png"
},
- Rotation = {
- Source = "IAU_BENNU",
- Destination = "GALACTIC"
- },
Projection = {
Sequence = "InstrumentTimes",
SequenceType = "instrument-times",
Observer = "OSIRIS-REX",
Target = BENNU_BODY,
Aberration = "NONE",
- AspectRatio = 2
- },
- DataInputTranslation = {
- Instruments = {
- ORX_OCAMS_POLYCAM = {
- DetectorType = "Camera",
- Spice = {"ORX_OCAMS_POLYCAM"},
- Files = {
- "BaseballDiamond_PolyCam.txt",
- --"OrbitalB_Site08_PolyCamImages.txt",
- "Recon_225m_Equatorial_PolyCam.txt",
+ AspectRatio = 2,
+
+ DataInputTranslation = {
+ Instruments = {
+ ORX_OCAMS_POLYCAM = {
+ DetectorType = "Camera",
+ Spice = {"ORX_OCAMS_POLYCAM"},
+ Files = {
+ "BaseballDiamond_PolyCam.txt",
+ --"OrbitalB_Site08_PolyCamImages.txt",
+ "Recon_225m_Equatorial_PolyCam.txt",
+ },
},
- },
- ORX_REXIS = {
- DetectorType = "Camera",
- Spice = {"ORX_REXIS"},
- Files = {
- "DetailedSurvey_EquatorialStations_Spectrometers.txt",
- "Recon_225m_Equatorial_spectrometers.txt",
- "Recon_525m_Equatorial_spectrometers.txt",
+ ORX_REXIS = {
+ DetectorType = "Camera",
+ Spice = {"ORX_REXIS"},
+ Files = {
+ "DetailedSurvey_EquatorialStations_Spectrometers.txt",
+ "Recon_225m_Equatorial_spectrometers.txt",
+ "Recon_525m_Equatorial_spectrometers.txt",
+ },
},
+ },
+ Target = {
+ Body = BENNU_BODY, -- Do we need this?
},
- },
- Target = {
- Body = BENNU_BODY, -- Do we need this?
+ },
+
+ Instrument = { -- INVALID DATA - JUST FOR TESTING
+ Name = "ORX_OCAMS_POLYCAM",
+ Method = "ELLIPSOID",
+ Aberration = "NONE",
+ Fovy = 0.792,
+ Aspect = 1,
+ Near = 0.01,
+ Far = 1000000,
},
},
- Instrument = { -- INVALID DATA - JUST FOR TESTING
- Name = "ORX_OCAMS_POLYCAM",
- Method = "ELLIPSOID",
- Aberration = "NONE",
- Fovy = 0.792,
- Aspect = 1,
- Near = 0.01,
- Far = 1000000,
- },
},
Transform = {
diff --git a/data/scene/osirisrex/osirisrex/OsirisRexKernels.torrent b/data/scene/missions/osirisrex/osirisrex/OsirisRexKernels.torrent
similarity index 100%
rename from data/scene/osirisrex/osirisrex/OsirisRexKernels.torrent
rename to data/scene/missions/osirisrex/osirisrex/OsirisRexKernels.torrent
diff --git a/data/scene/osirisrex/osirisrex/osirisrex.data b/data/scene/missions/osirisrex/osirisrex/osirisrex.data
similarity index 100%
rename from data/scene/osirisrex/osirisrex/osirisrex.data
rename to data/scene/missions/osirisrex/osirisrex/osirisrex.data
diff --git a/data/scene/osirisrex/osirisrex/osirisrex.mission b/data/scene/missions/osirisrex/osirisrex/osirisrex.mission
similarity index 100%
rename from data/scene/osirisrex/osirisrex/osirisrex.mission
rename to data/scene/missions/osirisrex/osirisrex/osirisrex.mission
diff --git a/data/scene/missions/osirisrex/osirisrex/osirisrex.mod b/data/scene/missions/osirisrex/osirisrex/osirisrex.mod
new file mode 100644
index 0000000000..83b3432517
--- /dev/null
+++ b/data/scene/missions/osirisrex/osirisrex/osirisrex.mod
@@ -0,0 +1,422 @@
+local BENNU_BODY = "2101955"
+
+local CaseDependentKernels
+if KernelCase == 2 then
+ CaseDependentKernels = {
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/ORX_Recon_525mSortie_Case02.bsp",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case02_0Latitude.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case02_atl_19145_04.atf",
+
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/ORX_Recon_225mSortie_Case02.bsp",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Recon_225mSortie_Case02_0Latitude.bc"
+ }
+elseif KernelCase == 5 then
+ CaseDependentKernels = {
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/ORX_Recon_525mSortie_Case05.bsp",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case05_20negLatitude.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case05_atl_19145_04.atf",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case05_NominalProfile.bc",
+
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/ORX_Recon_225mSortie_Case05.bsp",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Recon_225mSortie_Case05_20negLatitude.bc"
+ }
+elseif KernelCase == 8 then
+ CaseDependentKernels = {
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case08_NominalProfile.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/ORX_Recon_225mSortie_Case08.bsp",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Recon_225mSortie_Case08_40negLatitude.bc"
+ }
+elseif KernelCase == 11 then
+ CaseDependentKernels = {
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/ORX_Recon_225mSortie_Case11.bsp",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Recon_225mSortie_Case11_60negLatitude.bc"
+ }
+end
+
+local OsirisRexKernels = {
+ -- background
+ -- SCLK kernels needs to be loaded before CK kernels (and generally first)
+ "${SPICE}/OsirisRexKernels/background/sclk/ORX_SCLKSCET.00000.tsc",
+
+ -- This cannot be loaded correctly for some reason!
+ --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/dsk/RQ36mod.oct12_CCv0001.bds")
+
+ "${SPICE}/OsirisRexKernels/background/fk/orx_v04.tf",
+ "${SPICE}/OsirisRexKernels/background/ik/orx_lidar_v00.ti",
+ "${SPICE}/OsirisRexKernels/background/ik/orx_ocams_v03.ti",
+ "${SPICE}/OsirisRexKernels/background/ik/orx_otes_v00.ti",
+ "${SPICE}/OsirisRexKernels/background/ik/orx_rexis_v00.ti",
+ "${SPICE}/OsirisRexKernels/background/ik/orx_struct_v00.ti",
+ "${SPICE}/OsirisRexKernels/background/ik/orx_navcam_v00.ti",
+ "${SPICE}/OsirisRexKernels/background/ik/orx_ola_v00.ti",
+ "${SPICE}/OsirisRexKernels/background/ik/orx_ovirs_v00.ti",
+ "${SPICE}/OsirisRexKernels/background/ik/orx_stowcam_v00.ti",
+ "${SPICE}/OsirisRexKernels/background/lsk/naif0011.tls",
+ "${SPICE}/OsirisRexKernels/background/pck/bennu_SPH250m.tpc",
+ "${SPICE}/OsirisRexKernels/background/pck/bennu_v10.tpc",
+
+ -- Low res SPK
+ "${SPICE}/OsirisRexKernels/background/spk/orx_160917_231024_pgaa3_day15m60_v1.bsp",
+ "${SPICE}/OsirisRexKernels/background/spk/orx_160914_231024_pgaa3_day12m60_v1.bsp",
+
+ "${SPICE}/OsirisRexKernels/background/spk/orx_160908_231024_pgaa3_day06m60_v1.bsp",
+ "${SPICE}/OsirisRexKernels/background/spk/spk_orx_160908_231024_pgaa2_day06m60_v3.bsp",
+ "${SPICE}/OsirisRexKernels/background/spk/orx_160908_231024_pgaa2_day06m60.bsp",
+
+ "${SPICE}/OsirisRexKernels/background/spk/OREX_20160908_M60_complete.bsp",
+ "${SPICE}/OsirisRexKernels/background/spk/OREX_20160904_M45_complete.bsp",
+
+ -- SPK
+ "${SPICE}/OsirisRexKernels/background/spk/de421.bsp",
+ "${SPICE}/OsirisRexKernels/background/spk/sb-101955-76.bsp",
+
+ -- Nominal_Profile_LowRes
+ "${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/Approach_600s_20180816T230000_20181119T010000.bsp",
+ "${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/Approach_NominalProfile_600s_20180816T230000_20181119T010000.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/DetailedSurvey_600s_20190108T000000_20190317T000000.bsp",
+ "${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/OrbitalA_600s_20181203T230000_20190109T000000.bsp",
+ "${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/OrbitalA_NominalProfile_600s_20181203T230000_20190109T000000.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/OrbitalB_600s_20190316T000000_20190521T000000.bsp",
+ "${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/DetailedSurvey_NominalProfile_600s_20190108T000000_20190317T000000.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/OrbitalB_NominalProfile600s_20190316T000000_20190521T000000.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/PrelimSurvey_600s_20181119T230000_20181204T010000.bsp",
+ "${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/PrelimSurvey_NominalProfile_600s_20181119T230000_20181204T010000.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/Recon_600s_20190519T000000_20190830T000000.bsp",
+ "${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/Recon_NominalProfile_600s_20190519T000000_20190830T000000.bc",
+
+ -- Nominal_Observations_Science
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/DustSearch_v1/Phase03_AP_DustSearch_1.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/LightCurve_v1/Phase03_AP_LightCurve_1.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/LightCurve_v1/Phase03_AP_LightCurve_2.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/NatSatSearch_v1/Phase03_AP_SatSearch_1.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/NatSatSearch_v1/Phase03_AP_SatSearch_2.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/PhaseFunction_v1/Phase03_AP_PhaseFunction_1.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_1.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_2.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_3.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_4.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_5.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_6.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_7.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_8.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_9_Forced4x4.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/SpectraMap_v1/Phase03_AP_SpectraMap_1.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/MapCamOLA_v1/Phase04_PS_MC_1_v1_1a.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/MapCamOLA_v1/Phase04_PS_MC_2_v1_1a.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/OLA_v1/Phase04_PS_OLA_Nominal_1.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/OLA_v1/Phase04_PS_OLA_Nominal_2.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/OLA_v1/Phase04_PS_OLA_Nominal_3.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/OLA_v1/Phase04_PS_OLA_Nominal_4.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_1.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_2.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_3.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_4.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_5.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_6.bc",
+
+ --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19013_18_BBD1_info.TXT")
+ --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19014_16_BBD2_info.TXT")
+ --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19020_18_BBD3_info.TXT")
+ --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19021_19_BBD4_info.TXT")
+ --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/README.txt")
+
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19013_18_BBD1_v2.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19014_16_BBD2_v2.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19020_18_BBD3_v2.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19021_19_BBD4_v2.bc",
+
+
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_1.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_2.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_3.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_4.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_5.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_6.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_7.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/PlumeSearch_v1/Phase06_DS_Plume_Search_1.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/PlumeSearch_v1/Phase06_DS_Plume_Search_2.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v1/Phase07_OB_CSS_Mapping_1.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v1/Phase07_OB_CSS_Mapping_2.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v1/Phase07_OB_CSS_Mapping_3.bc",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v2/CSS_Mapping_1.a",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v2/CSS_Mapping_2.a",
+ "${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v2/CSS_Mapping_3.a",
+
+ --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Case02_0Latitude.wmv")
+ --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Case05_20negLatitude.wmv")
+ --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Case08_40negLatitude.wmv")
+ --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Case11_60negLatitude.wmv")
+
+ KernelCase
+}
+
+
+return {
+ ------------------------
+ -- Osiris Rex --
+ ------------------------
+ {
+ Name = "OsirisRex",
+ Parent = "SolarSystemBarycenter",
+ Renderable = {
+ Type = "RenderableModel",
+ Body = "OSIRIS-REX",
+ Geometry = {
+ Type = "MultiModelGeometry",
+ GeometryFile = "models/orx_base_resized_12_sep_2016.obj",
+ Magnification = 0,
+ },
+ Textures = {
+ Type = "simple",
+ Color = "textures/osirisTex.png",
+ },
+ Shading = {
+ PerformShading = true,
+ Fadeable = false,
+ Ghosting = false,
+ },
+ },
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "OSIRIS-REX",
+ Observer = "SUN",
+ Kernels = OsirisRexKernels
+ },
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "ORX_SPACECRAFT",
+ DestinationFrame = "GALACTIC",
+ },
+ },
+ },
+ {
+ Name = "ORX_OCAMS_POLYCAM",
+ Parent = "OsirisRex",
+ Renderable = {
+ Type = "RenderableModel",
+ Body = "OSIRIS-REX",
+ Geometry = {
+ Type = "MultiModelGeometry",
+ GeometryFile = "models/orx_polycam_resized_12_sep_2016.obj",
+ Magnification = 0,
+ },
+ Textures = {
+ Type = "simple",
+ Color = "textures/osirisTex.png",
+ },
+ Shading = {
+ PerformShading = true,
+ Fadeable = false,
+ Ghosting = false,
+ },
+ },
+ Transform = {
+ Translation = {
+ Type = "StaticTranslation",
+ Position = {-0.2476, 0.2710, 0.3364},
+ },
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "ORX_OCAMS_POLYCAM",
+ DestinationFrame = "ORX_SPACECRAFT",
+ },
+ },
+ },
+ {
+ Name = "ORX_REXIS",
+ Parent = "OsirisRex",
+ Renderable = {
+ Type = "RenderableModel",
+ Body = "OSIRIS-REX",
+ Geometry = {
+ Type = "MultiModelGeometry",
+ GeometryFile = "models/orx_rexis_resized_12_sep_2016.obj",
+ Magnification = 0,
+ },
+ Textures = {
+ Type = "simple",
+ Color = "textures/osirisTex.png",
+ },
+ Shading = {
+ PerformShading = true,
+ Fadeable = false,
+ Ghosting = false,
+ },
+ },
+ Transform = {
+ Translation = {
+ Type = "StaticTranslation",
+ Position = {0, 0.3371, 0.2712},
+ },
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "ORX_REXIS",
+ DestinationFrame = "ORX_SPACECRAFT",
+ },
+ },
+ },
+ {
+ Name = "POLYCAM FOV",
+ Parent = "ORX_OCAMS_POLYCAM",
+ Renderable = {
+ Type = "RenderableFov",
+ Body = "OSIRIS-REX",
+ Frame = "ORX_OCAMS_POLYCAM",
+ RGB = { 0.8, 0.7, 0.7 },
+ Instrument = {
+ Name = "ORX_OCAMS_POLYCAM",
+ Method = "ELLIPSOID",
+ Aberration = "NONE",
+ },
+ PotentialTargets = {
+ BENNU_BODY -- Bennu
+ }
+ },
+ },
+ {
+ Name = "REXIS FOV",
+ Parent = "ORX_REXIS",
+ Renderable = {
+ Type = "RenderableFov",
+ Body = "OSIRIS-REX",
+ Frame = "ORX_REXIS",
+ RGB = { 0.8, 0.7, 0.7 },
+ Instrument = {
+ Name = "ORX_REXIS",
+ Method = "ELLIPSOID",
+ Aberration = "NONE",
+ },
+ PotentialTargets = {
+ BENNU_BODY -- Bennu
+ },
+ FrameConversions = {
+ [BENNU_BODY] = "IAU_BENNU"
+ }
+ },
+ },
+ --[[
+ -- Latest image taken by POLYCAM
+ {
+ Name = "ImagePlaneOsirisRex",
+ Parent = "Bennu2",
+ Renderable = {
+ Type = "RenderablePlaneProjection",
+ Frame = "IAU_BENNU",
+ DefaultTarget = BENNU_BODY,
+ Spacecraft = "OSIRIS-REX",
+ Instrument = "ORX_OCAMS_POLYCAM",
+ Moving = false,
+ Texture = "textures/defaultProj.png",
+ },
+ Ephemeris = {
+ Type = "Static",
+ Position = {0, 0, 0, 1}
+ },
+ },
+ -- POLYCAM FoV square
+ {
+ Name = "FovImagePlane",
+ Parent = "Bennu2",
+ Renderable = {
+ Type = "RenderablePlaneProjection",
+ Frame = "IAU_BENNU",
+ DefaultTarget = BENNU_BODY,
+ Spacecraft = "OSIRIS-REX",
+ Instrument = "ORX_OCAMS_POLYCAM",
+ Moving = true,
+ Texture = "textures/defaultProj.png",
+ },
+ Ephemeris = {
+ Type = "Static",
+ Position = {0, 0, 0, 1}
+ },
+ },
+ ]]
+
+ -- Trail relative to Earth
+ {
+ Name = "OsirisRexTrailEarth",
+ Parent = "Earth",
+ Renderable = {
+ Type = "RenderableTrailNew",
+ -- Spice
+ 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,
+ },
+ },
+
+ -- Trail relative to solar system barycenter
+ {
+ 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",
+ },
+ SampleDeltaTime = 3600, -- Seconds between each point
+ SubSamples = 0,
+ },
+ },
+
+ -- Trail relative to Bennu
+ {
+ 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",
+ },
+ SampleDeltaTime = 3600, -- Seconds between each point
+ SubSamples = 3,
+ },
+ },
+
+
+}
diff --git a/data/scene/osirisrex/osirisrex/spice_kernel_times.mission b/data/scene/missions/osirisrex/osirisrex/spice_kernel_times.mission
similarity index 100%
rename from data/scene/osirisrex/osirisrex/spice_kernel_times.mission
rename to data/scene/missions/osirisrex/osirisrex/spice_kernel_times.mission
diff --git a/data/scene/osirisrex/scheduled_scripts.lua b/data/scene/missions/osirisrex/scheduled_scripts.lua
similarity index 100%
rename from data/scene/osirisrex/scheduled_scripts.lua
rename to data/scene/missions/osirisrex/scheduled_scripts.lua
diff --git a/data/scene/rosetta/67P/67P.data b/data/scene/missions/rosetta/67P/67P.data
similarity index 100%
rename from data/scene/rosetta/67P/67P.data
rename to data/scene/missions/rosetta/67P/67P.data
diff --git a/data/scene/rosetta/67P/67P.mod b/data/scene/missions/rosetta/67P/67P.mod
similarity index 62%
rename from data/scene/rosetta/67P/67P.mod
rename to data/scene/missions/rosetta/67P/67P.mod
index 1b8d3a5aa7..5358b6b9ce 100644
--- a/data/scene/rosetta/67P/67P.mod
+++ b/data/scene/missions/rosetta/67P/67P.mod
@@ -17,22 +17,14 @@ return {
Renderable = {
Type = "RenderableModelProjection",
- Body = "CHURYUMOV-GERASIMENKO",
Geometry = {
Type = "MultiModelGeometry",
GeometryFile = "obj/67P_rotated_5_130.obj",
Magnification = 0,
},
Textures = {
- Type = "simple",
Color = "textures/gray.jpg",
-- Color = "textures/may9_map.jpg",
- Project = "textures/defaultProj.png",
- Default = "textures/defaultProj.png"
- },
- Rotation = {
- Source = "67P/C-G_CK",
- Destination = "GALACTIC"
},
Projection = {
Sequence = "rosettaimages",
@@ -41,43 +33,45 @@ return {
Target = "CHURYUMOV-GERASIMENKO",
Aberration = "NONE",
TextureMap = true,
- ShadowMap = true
- },
- DataInputTranslation = {
+ ShadowMap = true,
+
+ DataInputTranslation = {
+ Instrument = {
+ NAVCAM = {
+ DetectorType = "Camera",
+ Spice = {"ROS_NAVCAM-A"},
+ },
+ },
+ Target = {
+ Read = {
+ "TARGET_NAME",
+ "INSTRUMENT_HOST_NAME",
+ "INSTRUMENT_ID",
+ "START_TIME",
+ "STOP_TIME",
+ },
+ Convert = {
+ CHURYUMOV = {"CHURYUMOV-GERASIMENKO"},
+ ROSETTA = {"ROSETTA" },
+ --NAVCAM = {"NAVCAM"},
+ ["ROSETTA-ORBITER"] = {"ROSETTA" },
+ CHURYUMOVGERASIMENKO11969R1 = {"CHURYUMOV-GERASIMENKO"},
+ CHURYUMOVGERASIMENKO = {"CHURYUMOV-GERASIMENKO"},
+ ["CHURYUMOV-GERASIMENKO1(1969R1)"] = {"CHURYUMOV-GERASIMENKO"},
+ --NAVIGATIONCAMERA = {"NAVCAM" },
+ },
+ },
+ },
+
Instrument = {
- NAVCAM = {
- DetectorType = "Camera",
- Spice = {"ROS_NAVCAM-A"},
- },
- },
- Target = {
- Read = {
- "TARGET_NAME",
- "INSTRUMENT_HOST_NAME",
- "INSTRUMENT_ID",
- "START_TIME",
- "STOP_TIME",
- },
- Convert = {
- CHURYUMOV = {"CHURYUMOV-GERASIMENKO"},
- ROSETTA = {"ROSETTA" },
- --NAVCAM = {"NAVCAM"},
- ["ROSETTA-ORBITER"] = {"ROSETTA" },
- CHURYUMOVGERASIMENKO11969R1 = {"CHURYUMOV-GERASIMENKO"},
- CHURYUMOVGERASIMENKO = {"CHURYUMOV-GERASIMENKO"},
- ["CHURYUMOV-GERASIMENKO1(1969R1)"] = {"CHURYUMOV-GERASIMENKO"},
- --NAVIGATIONCAMERA = {"NAVCAM" },
- },
+ Name = "ROS_NAVCAM-A",
+ Method = "ELLIPSOID",
+ Aberration = "NONE",
+ Fovy = 5.00,
+ Aspect = 1
},
},
- Instrument = {
- Name = "ROS_NAVCAM-A",
- Method = "ELLIPSOID",
- Aberration = "NONE",
- Fovy = 5.00,
- Aspect = 1
- },
BoundingSphereRadius = 5000.0
},
Transform = {
diff --git a/data/scene/rosetta/67P/67P_rotated_5_130.obj.torrent b/data/scene/missions/rosetta/67P/67P_rotated_5_130.obj.torrent
similarity index 100%
rename from data/scene/rosetta/67P/67P_rotated_5_130.obj.torrent
rename to data/scene/missions/rosetta/67P/67P_rotated_5_130.obj.torrent
diff --git a/data/scene/rosetta/67P/rosettaimages.torrent b/data/scene/missions/rosetta/67P/rosettaimages.torrent
similarity index 100%
rename from data/scene/rosetta/67P/rosettaimages.torrent
rename to data/scene/missions/rosetta/67P/rosettaimages.torrent
diff --git a/data/scene/rosetta/rosetta/Rosetta.torrent b/data/scene/missions/rosetta/rosetta/Rosetta.torrent
similarity index 100%
rename from data/scene/rosetta/rosetta/Rosetta.torrent
rename to data/scene/missions/rosetta/rosetta/Rosetta.torrent
diff --git a/data/scene/rosetta/rosetta/rosetta.data b/data/scene/missions/rosetta/rosetta/rosetta.data
similarity index 100%
rename from data/scene/rosetta/rosetta/rosetta.data
rename to data/scene/missions/rosetta/rosetta/rosetta.data
diff --git a/data/scene/rosetta/rosetta/rosetta.mod b/data/scene/missions/rosetta/rosetta/rosetta.mod
similarity index 99%
rename from data/scene/rosetta/rosetta/rosetta.mod
rename to data/scene/missions/rosetta/rosetta/rosetta.mod
index 1bb96fe198..dffee7acb6 100644
--- a/data/scene/rosetta/rosetta/rosetta.mod
+++ b/data/scene/missions/rosetta/rosetta/rosetta.mod
@@ -437,6 +437,9 @@ return {
},
PotentialTargets = {
"CHURYUMOV-GERASIMENKO"
+ },
+ FrameConversions = {
+ ["CHURYUMOV-GERASIMENKO"] = "67P/C-G_CK"
}
},
},
diff --git a/data/scene/newhorizons.scene b/data/scene/newhorizons.scene
index 812f30ee3d..ca5e4106c9 100644
--- a/data/scene/newhorizons.scene
+++ b/data/scene/newhorizons.scene
@@ -14,16 +14,8 @@ function preInitialization()
openspace.spice.loadKernel("${SPICE}/naif0011.tls")
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
- -- openspace.time.setTime("2007-02-28T11:40:00.000")
-
- -- openspace.time.setTime("2015-07-08T15:57:45.00")
- -- openspace.time.setTime("2015-07-12T07:41:00.00")
- -- openspace.time.setTime("2015-07-12T15:43:00.00")
- -- 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("2015-07-14T10:05:00.00")
- openspace.time.setDeltaTime(0)
+
dofile(openspace.absPath('${SCRIPTS}/bind_keys_newhorizons.lua'))
end
@@ -61,17 +53,17 @@ return {
"venus",
"earth",
"mars",
- "saturn",
+ "saturn/saturn",
"uranus",
"neptune",
- "newhorizons/pluto",
- "newhorizons/jupiter",
"stars",
-- "stars-denver",
"milkyway",
-- "milkyway-eso",
- "newhorizons/newhorizons",
- "newhorizons/newhorizonsfov",
+ "missions/newhorizons/pluto",
+ "missions/newhorizons/jupiter",
+ "missions/newhorizons/newhorizons",
+ "missions/newhorizons/newhorizonsfov"
}
}
diff --git a/data/scene/newhorizons/jupiter/jupiter/textures/defaultProj.png b/data/scene/newhorizons/jupiter/jupiter/textures/defaultProj.png
deleted file mode 100644
index 1d48dc35f4..0000000000
Binary files a/data/scene/newhorizons/jupiter/jupiter/textures/defaultProj.png and /dev/null differ
diff --git a/data/scene/newhorizons/newhorizonsfov/textures/glare_blue.png b/data/scene/newhorizons/newhorizonsfov/textures/glare_blue.png
deleted file mode 100644
index ebae6637e2..0000000000
Binary files a/data/scene/newhorizons/newhorizonsfov/textures/glare_blue.png and /dev/null differ
diff --git a/data/scene/newhorizons/newhorizonspath/newhorizonspath.mod b/data/scene/newhorizons/newhorizonspath/newhorizonspath.mod
deleted file mode 100644
index d11cb2a8bb..0000000000
--- a/data/scene/newhorizons/newhorizonspath/newhorizonspath.mod
+++ /dev/null
@@ -1,19 +0,0 @@
-return {
- -- NewHorizonsPath module
- {
- Name = "NewHorizonsPath",
- Parent = "Root",
- Renderable = {
- Type = "RenderablePath",
- Body = "NEW HORIZONS",
- Frame = "GALACTIC",
- Observer = "SUN",
- RGB = { 0.8, 0.7, 0.7 },
- Textures = {
- Type = "simple",
- Color = "textures/glare_blue.png",
- -- need to add different texture
- },
- },
- }
-}
\ No newline at end of file
diff --git a/data/scene/newhorizons/newhorizonspath/textures/glare.png b/data/scene/newhorizons/newhorizonspath/textures/glare.png
deleted file mode 100644
index 7b7aa34b33..0000000000
Binary files a/data/scene/newhorizons/newhorizonspath/textures/glare.png and /dev/null differ
diff --git a/data/scene/newhorizons/newhorizonspath/textures/glare_blue.png b/data/scene/newhorizons/newhorizonspath/textures/glare_blue.png
deleted file mode 100644
index ebae6637e2..0000000000
Binary files a/data/scene/newhorizons/newhorizonspath/textures/glare_blue.png and /dev/null differ
diff --git a/data/scene/newhorizons/newhorizonstrail/newhorizonstrail.mod b/data/scene/newhorizons/newhorizonstrail/newhorizonstrail.mod
deleted file mode 100644
index e8a334b6ae..0000000000
--- a/data/scene/newhorizons/newhorizonstrail/newhorizonstrail.mod
+++ /dev/null
@@ -1,22 +0,0 @@
-return {
- -- NewHorizonsTrail module
- {
- Name = "NewHorizonsTrail",
- Parent = "Root",
- Renderable = {
- Type = "RenderableTrail",
- Body = "NEW HORIZONS",
- Frame = "GALACTIC",
- Observer = "SUN",
- RGB = { 0.1,0.01,0.30 },
- TropicalOrbitPeriod = 6330.595 ,
- EarthOrbitRatio = 0.857,
- DayLength = 9.9259,
- Textures = {
- Type = "simple",
- Color = "textures/glare_blue.png",
- -- need to add different texture
- },
- },
- }
-}
\ No newline at end of file
diff --git a/data/scene/newhorizons/newhorizonstrail/textures/glare.png b/data/scene/newhorizons/newhorizonstrail/textures/glare.png
deleted file mode 100644
index 7b7aa34b33..0000000000
Binary files a/data/scene/newhorizons/newhorizonstrail/textures/glare.png and /dev/null differ
diff --git a/data/scene/newhorizons/newhorizonstrail/textures/glare_blue.png b/data/scene/newhorizons/newhorizonstrail/textures/glare_blue.png
deleted file mode 100644
index ebae6637e2..0000000000
Binary files a/data/scene/newhorizons/newhorizonstrail/textures/glare_blue.png and /dev/null differ
diff --git a/data/scene/osirisrex-noglobebrowsing.scene b/data/scene/osirisrex-noglobebrowsing.scene
deleted file mode 100644
index c5b83afda2..0000000000
--- a/data/scene/osirisrex-noglobebrowsing.scene
+++ /dev/null
@@ -1,233 +0,0 @@
--- TextureResolution = "low"
-TextureResolution = "med"
--- TextureResolution = "high"
-
-local startTime = "2016 SEP 8 23:05:00.50"
-
-function preInitialization()
- --[[
- The scripts in this function are executed after the scene is loaded but before the
- scene elements have been initialized, thus they should be used to set the time at
- which the scene should start and other settings that might determine initialization
- critical objects.
- ]]--
-
- -- Load Spice Kernels
- openspace.spice.loadKernel("${OPENSPACE_DATA}/spice/de430_1850-2150.bsp")
-
- -- background
- -- SCLK kernels needs to be loaded before CK kernels (and generally first)
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/sclk/ORX_SCLKSCET.00000.tsc")
-
- -- This cannot be loaded correctly for some reason!
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/dsk/RQ36mod.oct12_CCv0001.bds")
-
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/fk/orx_v04.tf")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_lidar_v00.ti")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_ocams_v03.ti")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_otes_v00.ti")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_rexis_v00.ti")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_struct_v00.ti")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_navcam_v00.ti")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_ola_v00.ti")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_ovirs_v00.ti")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_stowcam_v00.ti")
- 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")
-
- -- Nominal_Profile_LowRes
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/Approach_600s_20180816T230000_20181119T010000.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/Approach_NominalProfile_600s_20180816T230000_20181119T010000.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/DetailedSurvey_600s_20190108T000000_20190317T000000.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/DetailedSurvey_NominalProfile_600s_20190108T000000_20190317T000000.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/OrbitalA_600s_20181203T230000_20190109T000000.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/OrbitalA_NominalProfile_600s_20181203T230000_20190109T000000.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/OrbitalB_600s_20190316T000000_20190521T000000.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/OrbitalB_NominalProfile600s_20190316T000000_20190521T000000.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/PrelimSurvey_600s_20181119T230000_20181204T010000.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/PrelimSurvey_NominalProfile_600s_20181119T230000_20181204T010000.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/Recon_600s_20190519T000000_20190830T000000.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/Recon_NominalProfile_600s_20190519T000000_20190830T000000.bc")
-
- -- Nominal_Observations_Science
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/DustSearch_v1/Phase03_AP_DustSearch_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/LightCurve_v1/Phase03_AP_LightCurve_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/LightCurve_v1/Phase03_AP_LightCurve_2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/NatSatSearch_v1/Phase03_AP_SatSearch_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/NatSatSearch_v1/Phase03_AP_SatSearch_2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/PhaseFunction_v1/Phase03_AP_PhaseFunction_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_3.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_4.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_5.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_6.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_7.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_8.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_9_Forced4x4.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/SpectraMap_v1/Phase03_AP_SpectraMap_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/MapCamOLA_v1/Phase04_PS_MC_1_v1_1a.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/MapCamOLA_v1/Phase04_PS_MC_2_v1_1a.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/OLA_v1/Phase04_PS_OLA_Nominal_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/OLA_v1/Phase04_PS_OLA_Nominal_2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/OLA_v1/Phase04_PS_OLA_Nominal_3.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/OLA_v1/Phase04_PS_OLA_Nominal_4.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_3.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_4.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_5.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_6.bc")
-
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19013_18_BBD1_info.TXT")
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19014_16_BBD2_info.TXT")
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19020_18_BBD3_info.TXT")
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19021_19_BBD4_info.TXT")
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/README.txt")
-
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19013_18_BBD1_v2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19014_16_BBD2_v2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19020_18_BBD3_v2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19021_19_BBD4_v2.bc")
-
-
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_3.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_4.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_5.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_6.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_7.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/PlumeSearch_v1/Phase06_DS_Plume_Search_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/PlumeSearch_v1/Phase06_DS_Plume_Search_2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v1/Phase07_OB_CSS_Mapping_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v1/Phase07_OB_CSS_Mapping_2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v1/Phase07_OB_CSS_Mapping_3.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v2/CSS_Mapping_1.a")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v2/CSS_Mapping_2.a")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v2/CSS_Mapping_3.a")
-
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Case02_0Latitude.wmv")
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Case05_20negLatitude.wmv")
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Case08_40negLatitude.wmv")
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Case11_60negLatitude.wmv")
-
- local case = 2 -- Right now we only have the image times for case 2
-
- if case == 2 then
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/ORX_Recon_525mSortie_Case02.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case02_0Latitude.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case02_atl_19145_04.atf")
-
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/ORX_Recon_225mSortie_Case02.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Recon_225mSortie_Case02_0Latitude.bc")
- elseif case == 5 then
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/ORX_Recon_525mSortie_Case05.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case05_20negLatitude.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case05_atl_19145_04.atf")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case05_NominalProfile.bc")
-
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/ORX_Recon_225mSortie_Case05.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Recon_225mSortie_Case05_20negLatitude.bc")
- elseif case == 8 then
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case08_NominalProfile.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/ORX_Recon_225mSortie_Case08.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Recon_225mSortie_Case08_40negLatitude.bc")
- elseif case == 11 then
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/ORX_Recon_225mSortie_Case11.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Recon_225mSortie_Case11_60negLatitude.bc")
- end
-
- -- Load planetary constants
- openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
-
- dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
- dofile(openspace.absPath('${SCRIPTS}/bind_keys_osirisrex.lua'))
-
- --local startTime = "2019 APR 16 12:03:00.00"
-
- openspace.scriptScheduler.load("${OPENSPACE_DATA}/scene/osirisrex/scheduled_scripts.lua")
-
- -- Removing the line below will cause all scripts prior to to be executed during initialization
- -- openspace.scriptScheduler.skipTo(startTime);
-
-end
-
-function postInitialization()
- --[[
- The scripts in this function are executed after all objects in the scene have been
- created and initialized, but before the first render call. This is the place to set
- graphical settings for the renderables.
- ]]--
- openspace.printInfo("Setting default values")
- openspace.setPropertyValue("Sun.renderable.enabled", false)
- openspace.setPropertyValue("SunMarker.renderable.enabled", false)
- openspace.setPropertyValue("EarthMarker.renderable.enabled", false)
- --openspace.setPropertyValue("Constellation Bounds.renderable.enabled", false)
- openspace.setPropertyValue("PlutoTrail.renderable.enabled", true)
- openspace.setPropertyValue("PlutoTexture.renderable.enabled", false)
-
- openspace.setPropertyValue("MilkyWay.renderable.transparency", 0.55)
- openspace.setPropertyValue("MilkyWay.renderable.segments", 50)
-
- -- Activate night textures and water masks
- openspace.setPropertyValue("Earth.RenderableGlobe.WaterMasks", {0, 1});
- openspace.setPropertyValue("Earth.RenderableGlobe.NightLayers", {0, 1});
- openspace.setPropertyValue("Earth.RenderableGlobe.Atmosphere", true);
-
- openspace.printInfo("Done setting default values")
- openspace.loadMission("${OPENSPACE_DATA}/scene/osirisrex/osirisrex/osirisrex.mission")
-
- openspace.time.setTime(startTime)
- openspace.time.setDeltaTime(0)
-
- openspace.resetCameraDirection()
-end
-
-return {
- ScenePath = ".",
- CommonFolder = "common",
- Camera = {
- Focus = "OsirisRex",
- Position = {26974590199.661884, 76314608558.908020, -127086452897.101791},
- Rotation = {0.729548, -0.126024, 0.416827, 0.527382},
- },
- Modules = {
- "sun",
- "mercury",
- -- "lodmercury",
- "venus",
- "earth",
- "mars",
- -- "lodearth",
- -- "lodmoon",
- -- "lodmars",
- "jupiter",
- "saturn",
- "uranus",
- "neptune",
- "stars",
- -- "stars-denver",
- "milkyway",
- -- "milkyway-eso",
- --"imageplane",
- "osirisrex",
- }
-}
-
diff --git a/data/scene/osirisrex.scene b/data/scene/osirisrex.scene
index 49807ba65b..34d591b208 100644
--- a/data/scene/osirisrex.scene
+++ b/data/scene/osirisrex.scene
@@ -1,8 +1,5 @@
--- TextureResolution = "low"
-TextureResolution = "med"
--- TextureResolution = "high"
+local KernelCase = 2 -- Right now we only have the image times for case 2
-local startTime = "2016 SEP 8 23:05:00.50"
function preInitialization()
--[[
@@ -12,160 +9,15 @@ function preInitialization()
critical objects.
]]--
- -- Load Spice Kernels
- openspace.spice.loadKernel("${OPENSPACE_DATA}/spice/de430_1850-2150.bsp")
-
- -- background
- -- SCLK kernels needs to be loaded before CK kernels (and generally first)
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/sclk/ORX_SCLKSCET.00000.tsc")
-
- -- This cannot be loaded correctly for some reason!
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/dsk/RQ36mod.oct12_CCv0001.bds")
-
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/fk/orx_v04.tf")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_lidar_v00.ti")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_ocams_v03.ti")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_otes_v00.ti")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_rexis_v00.ti")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_struct_v00.ti")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_navcam_v00.ti")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_ola_v00.ti")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_ovirs_v00.ti")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/background/ik/orx_stowcam_v00.ti")
- 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")
-
- -- Nominal_Profile_LowRes
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/Approach_600s_20180816T230000_20181119T010000.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/Approach_NominalProfile_600s_20180816T230000_20181119T010000.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/DetailedSurvey_600s_20190108T000000_20190317T000000.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/DetailedSurvey_NominalProfile_600s_20190108T000000_20190317T000000.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/OrbitalA_600s_20181203T230000_20190109T000000.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/OrbitalA_NominalProfile_600s_20181203T230000_20190109T000000.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/OrbitalB_600s_20190316T000000_20190521T000000.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/OrbitalB_NominalProfile600s_20190316T000000_20190521T000000.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/PrelimSurvey_600s_20181119T230000_20181204T010000.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/PrelimSurvey_NominalProfile_600s_20181119T230000_20181204T010000.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/Recon_600s_20190519T000000_20190830T000000.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Profile_LowRes/Recon_NominalProfile_600s_20190519T000000_20190830T000000.bc")
-
- -- Nominal_Observations_Science
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/DustSearch_v1/Phase03_AP_DustSearch_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/LightCurve_v1/Phase03_AP_LightCurve_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/LightCurve_v1/Phase03_AP_LightCurve_2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/NatSatSearch_v1/Phase03_AP_SatSearch_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/NatSatSearch_v1/Phase03_AP_SatSearch_2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/PhaseFunction_v1/Phase03_AP_PhaseFunction_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_3.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_4.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_5.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_6.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_7.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_8.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/ShapeModel_v1/Phase03_AP_ShapeModel_9_Forced4x4.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/03_Approach/SpectraMap_v1/Phase03_AP_SpectraMap_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/MapCamOLA_v1/Phase04_PS_MC_1_v1_1a.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/MapCamOLA_v1/Phase04_PS_MC_2_v1_1a.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/OLA_v1/Phase04_PS_OLA_Nominal_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/OLA_v1/Phase04_PS_OLA_Nominal_2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/OLA_v1/Phase04_PS_OLA_Nominal_3.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/OLA_v1/Phase04_PS_OLA_Nominal_4.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_3.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_4.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_5.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/04_PrelimSurvey/PolyCam_v1/Phase04_PS_PolyCam_6.bc")
-
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19013_18_BBD1_info.TXT")
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19014_16_BBD2_info.TXT")
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19020_18_BBD3_info.TXT")
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19021_19_BBD4_info.TXT")
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/README.txt")
-
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19013_18_BBD1_v2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19014_16_BBD2_v2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19020_18_BBD3_v2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/BaseballDiamond_v2/atl_19021_19_BBD4_v2.bc")
-
-
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_3.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_4.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_5.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_6.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/EquatorialStations_v1/Phase06_DS_Equatorial_Stations_7.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/PlumeSearch_v1/Phase06_DS_Plume_Search_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/06_DetailedSurvey/PlumeSearch_v1/Phase06_DS_Plume_Search_2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v1/Phase07_OB_CSS_Mapping_1.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v1/Phase07_OB_CSS_Mapping_2.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v1/Phase07_OB_CSS_Mapping_3.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v2/CSS_Mapping_1.a")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v2/CSS_Mapping_2.a")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/07_OrbitalB/CandidateSampleSite_v2/CSS_Mapping_3.a")
-
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Case02_0Latitude.wmv")
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Case05_20negLatitude.wmv")
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Case08_40negLatitude.wmv")
- --openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Case11_60negLatitude.wmv")
-
- local case = 2 -- Right now we only have the image times for case 2
-
- if case == 2 then
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/ORX_Recon_525mSortie_Case02.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case02_0Latitude.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case02_atl_19145_04.atf")
-
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/ORX_Recon_225mSortie_Case02.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Recon_225mSortie_Case02_0Latitude.bc")
- elseif case == 5 then
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/ORX_Recon_525mSortie_Case05.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case05_20negLatitude.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case05_atl_19145_04.atf")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case05_NominalProfile.bc")
-
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/ORX_Recon_225mSortie_Case05.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Recon_225mSortie_Case05_20negLatitude.bc")
- elseif case == 8 then
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/525m_Sortie_v2/Recon_525mSortie_Case08_NominalProfile.bc")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/ORX_Recon_225mSortie_Case08.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Recon_225mSortie_Case08_40negLatitude.bc")
- elseif case == 11 then
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/ORX_Recon_225mSortie_Case11.bsp")
- openspace.spice.loadKernel("${SPICE}/OsirisRexKernels/Nominal_Observations_Science/08_Recon/225m_Sortie_v2/Recon_225mSortie_Case11_60negLatitude.bc")
- end
-
- -- Load planetary constants
+ openspace.spice.loadKernel("${SPICE}/naif0011.tls")
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
- dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
dofile(openspace.absPath('${SCRIPTS}/bind_keys_osirisrex.lua'))
--local startTime = "2019 APR 16 12:03:00.00"
+ openspace.time.setTime("2016 SEP 8 23:00:00.500")
- openspace.scriptScheduler.load("${OPENSPACE_DATA}/scene/osirisrex/scheduled_scripts.lua")
-
- -- Removing the line below will cause all scripts prior to to be executed during initialization
- -- openspace.scriptScheduler.skipTo(startTime);
+ openspace.scriptScheduler.load("${OPENSPACE_DATA}/scene/missions/osirisrex/scheduled_scripts.lua")
end
@@ -192,10 +44,7 @@ function postInitialization()
openspace.setPropertyValue("Earth.RenderableGlobe.Atmosphere", true);
openspace.printInfo("Done setting default values")
- openspace.loadMission("${OPENSPACE_DATA}/scene/osirisrex/osirisrex/osirisrex.mission")
-
- openspace.time.setTime(startTime)
- openspace.time.setDeltaTime(0)
+ openspace.loadMission("${OPENSPACE_DATA}/scene/missions/osirisrex/osirisrex/osirisrex.mission")
openspace.resetCameraDirection()
end
@@ -210,11 +59,11 @@ return {
},
Modules = {
"sun",
- "lodmercury",
+ "mercury",
"venus",
"lodearth",
- "lodmoon",
- "lodmars",
+ "moon",
+ "mars",
"jupiter",
"saturn",
"uranus",
@@ -223,8 +72,7 @@ return {
-- "stars-denver",
"milkyway",
-- "milkyway-eso",
- --"imageplane",
- "osirisrex",
+ "missions/osirisrex",
}
}
diff --git a/data/scene/osirisrex/osirisrex/osirisrex.mod b/data/scene/osirisrex/osirisrex/osirisrex.mod
deleted file mode 100644
index 51272879be..0000000000
--- a/data/scene/osirisrex/osirisrex/osirisrex.mod
+++ /dev/null
@@ -1,267 +0,0 @@
-local BENNU_BODY = "2101955"
-
-return {
- ------------------------
- -- Osiris Rex --
- ------------------------
- {
- Name = "OsirisRex",
- Parent = "SolarSystemBarycenter",
- Renderable = {
- Type = "RenderableModel",
- Body = "OSIRIS-REX",
- Geometry = {
- Type = "MultiModelGeometry",
- GeometryFile = "models/orx_base_resized_12_sep_2016.obj",
- Magnification = 0,
- },
- Textures = {
- Type = "simple",
- Color = "textures/osirisTex.png",
- },
- Shading = {
- PerformShading = true,
- Fadeable = false,
- Ghosting = false,
- },
- },
- Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Body = "OSIRIS-REX",
- Observer = "SUN",
- },
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "ORX_SPACECRAFT",
- DestinationFrame = "GALACTIC",
- },
- },
- },
- {
- Name = "ORX_OCAMS_POLYCAM",
- Parent = "OsirisRex",
- Renderable = {
- Type = "RenderableModel",
- Body = "OSIRIS-REX",
- Geometry = {
- Type = "MultiModelGeometry",
- GeometryFile = "models/orx_polycam_resized_12_sep_2016.obj",
- Magnification = 0,
- },
- Textures = {
- Type = "simple",
- Color = "textures/osirisTex.png",
- },
- Shading = {
- PerformShading = true,
- Fadeable = false,
- Ghosting = false,
- },
- },
- Transform = {
- Translation = {
- Type = "StaticTranslation",
- Position = {-0.2476, 0.2710, 0.3364},
- },
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "ORX_OCAMS_POLYCAM",
- DestinationFrame = "ORX_SPACECRAFT",
- },
- },
- },
- {
- Name = "ORX_REXIS",
- Parent = "OsirisRex",
- Renderable = {
- Type = "RenderableModel",
- Body = "OSIRIS-REX",
- Geometry = {
- Type = "MultiModelGeometry",
- GeometryFile = "models/orx_rexis_resized_12_sep_2016.obj",
- Magnification = 0,
- },
- Textures = {
- Type = "simple",
- Color = "textures/osirisTex.png",
- },
- Shading = {
- PerformShading = true,
- Fadeable = false,
- Ghosting = false,
- },
- },
- Transform = {
- Translation = {
- Type = "StaticTranslation",
- Position = {0, 0.3371, 0.2712},
- },
- Rotation = {
- Type = "SpiceRotation",
- SourceFrame = "ORX_REXIS",
- DestinationFrame = "ORX_SPACECRAFT",
- },
- },
- },
- {
- Name = "POLYCAM FOV",
- Parent = "ORX_OCAMS_POLYCAM",
- Renderable = {
- Type = "RenderableFov",
- Body = "OSIRIS-REX",
- Frame = "ORX_OCAMS_POLYCAM",
- RGB = { 0.8, 0.7, 0.7 },
- Instrument = {
- Name = "ORX_OCAMS_POLYCAM",
- Method = "ELLIPSOID",
- Aberration = "NONE",
- },
- PotentialTargets = {
- BENNU_BODY -- Bennu
- }
- },
- },
- {
- Name = "REXIS FOV",
- Parent = "ORX_REXIS",
- Renderable = {
- Type = "RenderableFov",
- Body = "OSIRIS-REX",
- Frame = "ORX_REXIS",
- RGB = { 0.8, 0.7, 0.7 },
- Instrument = {
- Name = "ORX_REXIS",
- Method = "ELLIPSOID",
- Aberration = "NONE",
- },
- PotentialTargets = {
- BENNU_BODY -- Bennu
- }
- },
- },
- --[[
- -- Latest image taken by POLYCAM
- {
- Name = "ImagePlaneOsirisRex",
- Parent = "Bennu2",
- Renderable = {
- Type = "RenderablePlaneProjection",
- Frame = "IAU_BENNU",
- DefaultTarget = BENNU_BODY,
- Spacecraft = "OSIRIS-REX",
- Instrument = "ORX_OCAMS_POLYCAM",
- Moving = false,
- Texture = "textures/defaultProj.png",
- },
- Ephemeris = {
- Type = "Static",
- Position = {0, 0, 0, 1}
- },
- },
- -- POLYCAM FoV square
- {
- Name = "FovImagePlane",
- Parent = "Bennu2",
- Renderable = {
- Type = "RenderablePlaneProjection",
- Frame = "IAU_BENNU",
- DefaultTarget = BENNU_BODY,
- Spacecraft = "OSIRIS-REX",
- Instrument = "ORX_OCAMS_POLYCAM",
- Moving = true,
- Texture = "textures/defaultProj.png",
- },
- Ephemeris = {
- Type = "Static",
- Position = {0, 0, 0, 1}
- },
- },
- ]]
-
- -- Trail relative to Earth
- {
- Name = "OsirisRexTrailEarth",
- Parent = "Earth",
- Renderable = {
- Type = "RenderableTrailNew",
- -- Spice
- 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,
- },
- },
-
- -- Trail relative to solar system barycenter
- {
- 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",
- },
- SampleDeltaTime = 3600, -- Seconds between each point
- SubSamples = 0,
- },
- },
-
- -- Trail relative to Bennu
- {
- 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",
- },
- SampleDeltaTime = 3600, -- Seconds between each point
- SubSamples = 3,
- },
- },
-
-
-}
diff --git a/data/scene/rosetta.scene b/data/scene/rosetta.scene
index befa637e83..1142961cc4 100644
--- a/data/scene/rosetta.scene
+++ b/data/scene/rosetta.scene
@@ -18,10 +18,6 @@ function preInitialization()
-- Shadow flyby
-- openspace.time.setTime("2015-02-14T12:00:00.000")
-
- -- openspace.time.setTime("2015-07-29T06:02:10.000")
- -- openspace.time.setTime("2014 AUG 21 18:00:00")
- -- openspace.time.setTime("2015 SEP 10 19:39:00")
dofile(openspace.absPath('${SCRIPTS}/bind_keys_rosetta.lua'))
end
@@ -59,12 +55,12 @@ return {
"earth",
"mars",
"jupiter/jupiter",
- "saturn",
+ "saturn/saturn",
"uranus",
"neptune",
"stars",
"milkyway",
- "rosetta",
+ "missions/rosetta",
}
}
diff --git a/data/scene/saturn/dione/dione.data b/data/scene/saturn/dione/dione.data
new file mode 100644
index 0000000000..924a314275
--- /dev/null
+++ b/data/scene/saturn/dione/dione.data
@@ -0,0 +1,5 @@
+return {
+ FileRequest = {
+ { Identifier = "dione_textures", Destination = "textures", Version = 1 }
+ },
+}
\ No newline at end of file
diff --git a/data/scene/saturn/dione/dione.mod b/data/scene/saturn/dione/dione.mod
new file mode 100644
index 0000000000..6691cc3d8c
--- /dev/null
+++ b/data/scene/saturn/dione/dione.mod
@@ -0,0 +1,46 @@
+return {
+ {
+ Name = "Dione",
+ Parent = "SaturnBarycenter",
+ Renderable = {
+ Type = "RenderablePlanet",
+ Frame = "IAU_DIONE",
+ Body = "DIONE",
+ Geometry = {
+ Type = "SimpleSphere",
+ Radius = { 0.563, 3 },
+ Segments = 50
+ },
+ Textures = {
+ Color = "textures/dione.jpg"
+ }
+ },
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "DIONE",
+ Observer = "SATURN BARYCENTER",
+ Kernels = "${OPENSPACE_DATA}/spice/sat375.bsp"
+ },
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_ENCELADUS",
+ DestinationFrame = "GALACTIC"
+ }
+ }
+ },
+ {
+ 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
+ }
+ }
+}
\ No newline at end of file
diff --git a/data/scene/saturn/enceladus/enceladus.data b/data/scene/saturn/enceladus/enceladus.data
new file mode 100644
index 0000000000..a31589f158
--- /dev/null
+++ b/data/scene/saturn/enceladus/enceladus.data
@@ -0,0 +1,5 @@
+return {
+ FileRequest = {
+ { Identifier = "enceladus_textures", Destination = "textures", Version = 1 }
+ },
+}
\ No newline at end of file
diff --git a/data/scene/saturn/enceladus/enceladus.mod b/data/scene/saturn/enceladus/enceladus.mod
new file mode 100644
index 0000000000..b0bb0138a3
--- /dev/null
+++ b/data/scene/saturn/enceladus/enceladus.mod
@@ -0,0 +1,46 @@
+return {
+ {
+ Name = "Enceladus",
+ Parent = "SaturnBarycenter",
+ Renderable = {
+ Type = "RenderablePlanet",
+ Frame = "IAU_ENCELADUS",
+ Body = "ENCELADUS",
+ Geometry = {
+ Type = "SimpleSphere",
+ Radius = { 0.257, 3 },
+ Segments = 50
+ },
+ Textures = {
+ Color = "textures/enceladus.jpg"
+ }
+ },
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "ENCELADUS",
+ Observer = "SATURN BARYCENTER",
+ Kernels = "${OPENSPACE_DATA}/spice/sat375.bsp"
+ },
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_ENCELADUS",
+ DestinationFrame = "GALACTIC"
+ }
+ }
+ },
+ {
+ 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
+ }
+ }
+}
\ No newline at end of file
diff --git a/data/scene/saturn/iapetus/iapetus.data b/data/scene/saturn/iapetus/iapetus.data
new file mode 100644
index 0000000000..0db25d34c1
--- /dev/null
+++ b/data/scene/saturn/iapetus/iapetus.data
@@ -0,0 +1,5 @@
+return {
+ FileRequest = {
+ { Identifier = "iapetus_textures", Destination = "textures", Version = 1 }
+ },
+}
\ No newline at end of file
diff --git a/data/scene/saturn/iapetus/iapetus.mod b/data/scene/saturn/iapetus/iapetus.mod
new file mode 100644
index 0000000000..e088dfc212
--- /dev/null
+++ b/data/scene/saturn/iapetus/iapetus.mod
@@ -0,0 +1,46 @@
+return {
+ {
+ Name = "Iapetus",
+ Parent = "SaturnBarycenter",
+ Renderable = {
+ Type = "RenderablePlanet",
+ Frame = "IAU_IAPETUS",
+ Body = "IAPETUS",
+ Geometry = {
+ Type = "SimpleSphere",
+ Radius = { 0.746, 3 },
+ Segments = 50
+ },
+ Textures = {
+ Color = "textures/iapetus.jpg"
+ }
+ },
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "IAPETUS",
+ Observer = "SATURN BARYCENTER",
+ Kernels = "${OPENSPACE_DATA}/spice/sat375.bsp"
+ },
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_ENCELADUS",
+ DestinationFrame = "GALACTIC"
+ }
+ }
+ },
+ {
+ 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
+ }
+ }
+}
\ No newline at end of file
diff --git a/data/scene/saturn/mimas/mimas.data b/data/scene/saturn/mimas/mimas.data
new file mode 100644
index 0000000000..01d792a8d4
--- /dev/null
+++ b/data/scene/saturn/mimas/mimas.data
@@ -0,0 +1,5 @@
+return {
+ FileRequest = {
+ { Identifier = "mimas_textures", Destination = "textures", Version = 1 }
+ },
+}
\ No newline at end of file
diff --git a/data/scene/saturn/mimas/mimas.mod b/data/scene/saturn/mimas/mimas.mod
new file mode 100644
index 0000000000..9f50cf0fd7
--- /dev/null
+++ b/data/scene/saturn/mimas/mimas.mod
@@ -0,0 +1,46 @@
+return {
+ {
+ Name = "Mimas",
+ Parent = "SaturnBarycenter",
+ Renderable = {
+ Type = "RenderablePlanet",
+ Frame = "IAU_MIMAS",
+ Body = "MIMAS",
+ Geometry = {
+ Type = "SimpleSphere",
+ Radius = { 0.28, 3 },
+ Segments = 50
+ },
+ Textures = {
+ Color = "textures/mimas.jpg"
+ }
+ },
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "MIMAS",
+ Observer = "SATURN BARYCENTER",
+ Kernels = "${OPENSPACE_DATA}/spice/sat375.bsp"
+ },
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_MIMAS",
+ DestinationFrame = "GALACTIC"
+ }
+ }
+ },
+ {
+ 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
+ }
+ }
+}
\ No newline at end of file
diff --git a/data/scene/saturn/rhea/rhea.data b/data/scene/saturn/rhea/rhea.data
new file mode 100644
index 0000000000..9cf25ca314
--- /dev/null
+++ b/data/scene/saturn/rhea/rhea.data
@@ -0,0 +1,5 @@
+return {
+ FileRequest = {
+ { Identifier = "rhea_textures", Destination = "textures", Version = 1 }
+ },
+}
\ No newline at end of file
diff --git a/data/scene/saturn/rhea/rhea.mod b/data/scene/saturn/rhea/rhea.mod
new file mode 100644
index 0000000000..9decfcb31a
--- /dev/null
+++ b/data/scene/saturn/rhea/rhea.mod
@@ -0,0 +1,46 @@
+return {
+ {
+ Name = "Rhea",
+ Parent = "SaturnBarycenter",
+ Renderable = {
+ Type = "RenderablePlanet",
+ Frame = "IAU_RHEA",
+ Body = "RHEA",
+ Geometry = {
+ Type = "SimpleSphere",
+ Radius = { 0.765, 3 },
+ Segments = 50
+ },
+ Textures = {
+ Color = "textures/rhea.jpg"
+ }
+ },
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "RHEA",
+ Observer = "SATURN BARYCENTER",
+ Kernels = "${OPENSPACE_DATA}/spice/sat375.bsp"
+ },
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_ENCELADUS",
+ DestinationFrame = "GALACTIC"
+ }
+ }
+ },
+ {
+ 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
+ }
+ }
+}
\ No newline at end of file
diff --git a/data/scene/saturn/saturn/sat375.bsp.torrent b/data/scene/saturn/saturn/sat375.bsp.torrent
new file mode 100644
index 0000000000..1939e82e2d
Binary files /dev/null and b/data/scene/saturn/saturn/sat375.bsp.torrent differ
diff --git a/data/scene/saturn/saturn.data b/data/scene/saturn/saturn/saturn.data
similarity index 55%
rename from data/scene/saturn/saturn.data
rename to data/scene/saturn/saturn/saturn.data
index 49ba7a71da..cf0748dfc1 100644
--- a/data/scene/saturn/saturn.data
+++ b/data/scene/saturn/saturn/saturn.data
@@ -2,4 +2,7 @@ return {
FileRequest = {
{ Identifier = "saturn_textures", Destination = "textures", Version = 2 }
},
+ TorrentFiles = {
+ { File = "sat375.bsp.torrent", Destination = "${SPICE}" },
+ }
}
\ No newline at end of file
diff --git a/data/scene/saturn/saturn.mod b/data/scene/saturn/saturn/saturn.mod
similarity index 81%
rename from data/scene/saturn/saturn.mod
rename to data/scene/saturn/saturn/saturn.mod
index ac59c3d9c9..07884ab016 100644
--- a/data/scene/saturn/saturn.mod
+++ b/data/scene/saturn/saturn/saturn.mod
@@ -3,6 +3,14 @@ return {
{
Name = "SaturnBarycenter",
Parent = "SolarSystemBarycenter",
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "SATURN BARYCENTER",
+ Observer = "SUN",
+ Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
+ }
+ },
},
-- Saturn module
@@ -29,16 +37,10 @@ return {
}
},
Transform = {
- Translation = {
- Type = "SpiceTranslation",
- Body = "SATURN BARYCENTER",
- Observer = "SUN",
- Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
- },
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_SATURN",
- DestinationFrame = "ECLIPJ2000",
+ DestinationFrame = "GALACTIC",
},
Scale = {
Type = "StaticScale",
@@ -46,10 +48,22 @@ return {
},
},
},
+ {
+ Name = "SaturnRings",
+ Parent = "Saturn",
+ Renderable = {
+ Type = "RenderableRings",
+ Texture = "textures/saturn_rings.png",
+ Size = 140220000,
+ Offset = { 74500 / 140445.100671159, 1.0 } -- min / max extend
+
+ },
+
+ },
-- SaturnTrail module
{
Name = "SaturnTrail",
- Parent = "SaturnBarycenter",
+ Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "SATURN BARYCENTER",
diff --git a/data/scene/saturn/tethys/tethys.data b/data/scene/saturn/tethys/tethys.data
new file mode 100644
index 0000000000..fd493213a4
--- /dev/null
+++ b/data/scene/saturn/tethys/tethys.data
@@ -0,0 +1,5 @@
+return {
+ FileRequest = {
+ { Identifier = "tethys_textures", Destination = "textures", Version = 1 }
+ },
+}
\ No newline at end of file
diff --git a/data/scene/saturn/tethys/tethys.mod b/data/scene/saturn/tethys/tethys.mod
new file mode 100644
index 0000000000..aff56a91ea
--- /dev/null
+++ b/data/scene/saturn/tethys/tethys.mod
@@ -0,0 +1,46 @@
+return {
+ {
+ Name = "Tethys",
+ Parent = "SaturnBarycenter",
+ Renderable = {
+ Type = "RenderablePlanet",
+ Frame = "IAU_TETHYS",
+ Body = "TETHYS",
+ Geometry = {
+ Type = "SimpleSphere",
+ Radius = { 0.538, 3 },
+ Segments = 50
+ },
+ Textures = {
+ Color = "textures/tethys.jpg"
+ }
+ },
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "TETHYS",
+ Observer = "SATURN BARYCENTER",
+ Kernels = "${OPENSPACE_DATA}/spice/sat375.bsp"
+ },
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_ENCELADUS",
+ DestinationFrame = "GALACTIC"
+ }
+ }
+ },
+ {
+ 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
+ }
+ }
+}
\ No newline at end of file
diff --git a/data/scene/saturn/titan/titan.data b/data/scene/saturn/titan/titan.data
new file mode 100644
index 0000000000..82c5a342b4
--- /dev/null
+++ b/data/scene/saturn/titan/titan.data
@@ -0,0 +1,5 @@
+return {
+ FileRequest = {
+ { Identifier = "titan_textures", Destination = "textures", Version = 1 }
+ },
+}
\ No newline at end of file
diff --git a/data/scene/saturn/titan/titan.mod b/data/scene/saturn/titan/titan.mod
new file mode 100644
index 0000000000..b0bc0814d9
--- /dev/null
+++ b/data/scene/saturn/titan/titan.mod
@@ -0,0 +1,46 @@
+return {
+ {
+ Name = "Titan",
+ Parent = "SaturnBarycenter",
+ Renderable = {
+ Type = "RenderablePlanet",
+ Frame = "IAU_TITAN",
+ Body = "TITAN",
+ Geometry = {
+ Type = "SimpleSphere",
+ Radius = { 0.2575, 4 },
+ Segments = 50
+ },
+ Textures = {
+ Color = "textures/titan.jpg"
+ }
+ },
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "TITAN",
+ Observer = "SATURN BARYCENTER",
+ Kernels = "${OPENSPACE_DATA}/spice/sat375.bsp"
+ },
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_ENCELADUS",
+ DestinationFrame = "GALACTIC"
+ }
+ }
+ },
+ {
+ 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
+ }
+ }
+}
\ No newline at end of file
diff --git a/data/scene/venus/venus.mod b/data/scene/venus/venus.mod
index 6b96b1ca1b..6ea5a5afac 100644
--- a/data/scene/venus/venus.mod
+++ b/data/scene/venus/venus.mod
@@ -3,8 +3,15 @@ return {
{
Name = "VenusBarycenter",
Parent = "SolarSystemBarycenter",
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "VENUS BARYCENTER",
+ Observer = "SUN",
+ Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
+ },
+ }
},
-
-- Venus module
{
Name = "Venus",
@@ -28,25 +35,19 @@ return {
MieColor = {1.0, 1.0, 1.0}
}
},
- Ephemeris = {
- Type = "Spice",
- Body = "VENUS",
- Observer = "SUN",
- Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
- },
Rotation = {
- Type = "Spice",
+ Type = "SpiceRotation",
Frame = "IAU_VENUS",
- Reference = "ECLIPJ2000"
+ Reference = "GALACTIC"
},
},
-- VenusTrail module
{
Name = "VenusTrail",
- Parent = "VenusBarycenter",
+ Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
- Body = "VENUS",
+ Body = "VENUS BARYCENTER",
Frame = "GALACTIC",
Observer = "SUN",
RGB = {1, 0.5, 0.2},
diff --git a/data/web/common/style.css b/data/web/common/style.css
index cf497440ad..ac82e9fe77 100644
--- a/data/web/common/style.css
+++ b/data/web/common/style.css
@@ -30,6 +30,18 @@
background-color: #fff;
}
+.documentation-item.remote-scripting {
+ border-left: 2px solid #4c1315;
+ background-color: #fcdcdc;
+ color: #4c1315;
+}
+
+.documentation-item.local-scripting {
+ border-left: 2px solid #2d4256;
+ background-color: #dcf1f9;
+ color: #2d4256;
+}
+
.documentation-type {
color: #888;
font-size: 0.8em;
diff --git a/data/web/documentation/documentation.hbs b/data/web/documentation/documentation.hbs
index 93957bdecf..2b7bbbd84d 100644
--- a/data/web/documentation/documentation.hbs
+++ b/data/web/documentation/documentation.hbs
@@ -11,7 +11,8 @@
{{/if}}
- {{description}}
+ {{description}}
+ {{documentation}}
{{#with restrictions}}
{{>documentation}}
{{/with}}
diff --git a/data/web/documentation/script.js b/data/web/documentation/script.js
index c2b320ce70..f9af37e558 100644
--- a/data/web/documentation/script.js
+++ b/data/web/documentation/script.js
@@ -18,6 +18,10 @@ window.onload = function () {
return identifier;
});
+ documentation.sort(function (a, b) {
+ return a.name < b.name ? -1 : (a.name > b.name ? 1 : 0);
+ });
+
var data = {
documentation: documentation,
version: version
diff --git a/data/web/factories/script.js b/data/web/factories/script.js
index 6334c7b2a4..4776d5656e 100644
--- a/data/web/factories/script.js
+++ b/data/web/factories/script.js
@@ -18,6 +18,10 @@ window.onload = function () {
return identifier;
});
+ factories.sort(function (a, b) {
+ return a.name < b.name ? -1 : (a.name > b.name ? 1 : 0);
+ });
+
var data = {
factories: factories,
version: version
diff --git a/data/web/keybindings/keybinding.hbs b/data/web/keybindings/keybinding.hbs
index 1b4d5414c2..29773e357e 100644
--- a/data/web/keybindings/keybinding.hbs
+++ b/data/web/keybindings/keybinding.hbs
@@ -1,9 +1,9 @@
-
+
- {{key}}
+ {{key}} {{#if remoteScripting}}Remote scripting{{else}}Local scripting{{/if}}
{{script}}
diff --git a/data/web/keybindings/script.js b/data/web/keybindings/script.js
index 149cba1892..6b4bdd444e 100644
--- a/data/web/keybindings/script.js
+++ b/data/web/keybindings/script.js
@@ -18,6 +18,10 @@ window.onload = function () {
return identifier;
});
+ keybindings.sort(function (a, b) {
+ return a.key < b.key ? -1 : (a.key > b.key ? 1 : 0);
+ });
+
var data = {
keybindings: keybindings,
version: version,
diff --git a/data/web/luascripting/script.js b/data/web/luascripting/script.js
index b43af6f884..6d43a33b07 100644
--- a/data/web/luascripting/script.js
+++ b/data/web/luascripting/script.js
@@ -18,6 +18,10 @@ window.onload = function () {
return identifier;
});
+ scripting.sort(function (a, b) {
+ return a.library < b.library ? -1 : (a.library > b.library ? 1 : 0);
+ });
+
var data = {
scripting: scripting,
version: version
diff --git a/data/web/properties/script.js b/data/web/properties/script.js
index 70f303f15f..f7302a5e0b 100644
--- a/data/web/properties/script.js
+++ b/data/web/properties/script.js
@@ -46,6 +46,10 @@ window.onload = function () {
return identifier;
});
+ propertyOwners.sort(function (a, b) {
+ return a.name < b.name ? -1 : (a.name > b.name ? 1 : 0);
+ });
+
var data = {
propertyOwners: propertyOwners,
version: version,
diff --git a/ext/ghoul b/ext/ghoul
index f9e1207470..e37387fbd5 160000
--- a/ext/ghoul
+++ b/ext/ghoul
@@ -1 +1 @@
-Subproject commit f9e12074702627b1feef9a09670270fed511ff5a
+Subproject commit e37387fbd595babfaeb0ce31eb389cb2a70bd5cb
diff --git a/ext/sgct b/ext/sgct
index fb95dc335b..c7f321dd50 160000
--- a/ext/sgct
+++ b/ext/sgct
@@ -1 +1 @@
-Subproject commit fb95dc335ba7d396723fbfeca64aa3b7451376c8
+Subproject commit c7f321dd504c184e6ac65d26b33aec2f7699c476
diff --git a/include/openspace/documentation/verifier.h b/include/openspace/documentation/verifier.h
index 1adcc9b140..bc8dd451b7 100644
--- a/include/openspace/documentation/verifier.h
+++ b/include/openspace/documentation/verifier.h
@@ -199,6 +199,19 @@ struct TableVerifier : public TemplateVerifier
{
Exhaustive exhaustive;
};
+/**
+ * A Verifier that checks whether all values contained in a Table are of type \c string.
+ */
+struct StringListVerifier : public TableVerifier {
+ /**
+ * Constructor for a StringListVerifier.
+ * \param elementDocumentation The documentation for each string in the list
+ */
+ StringListVerifier(std::string elementDocumentation = "");
+
+ std::string type() const override;
+};
+
//----------------------------------------------------------------------------------------
// Vector verifiers
//----------------------------------------------------------------------------------------
@@ -235,6 +248,100 @@ struct Vector4Verifier : public TemplateVerifier>, public VectorVe
std::string type() const override;
};
+//----------------------------------------------------------------------------------------
+// Matrix verifiers
+//----------------------------------------------------------------------------------------
+
+/**
+* This struct is the base class for all Verifier%s that check for \c glm matrix types.
+* The template parameter for the subclasses is the containing type, not the full matrix
+* type. For example to check for glm::dmat4x3, one would create a
+* Matrix4x3Verifier.
+*/
+struct MatrixVerifier {};
+
+/**
+* This Verifier checks whether the value is of type glm::mat2x2
+*/
+template
+struct Matrix2x2Verifier :
+ public TemplateVerifier>, public MatrixVerifier
+{
+ std::string type() const override;
+};
+
+/**
+* This Verifier checks whether the value is of type glm::mat2x3
+*/
+template
+struct Matrix2x3Verifier :
+ public TemplateVerifier>, public MatrixVerifier {
+ std::string type() const override;
+};
+
+/**
+* This Verifier checks whether the value is of type glm::mat2x4
+*/
+template
+struct Matrix2x4Verifier :
+ public TemplateVerifier>, public MatrixVerifier {
+ std::string type() const override;
+};
+
+/**
+* This Verifier checks whether the value is of type glm::mat3x2
+*/
+template
+struct Matrix3x2Verifier :
+ public TemplateVerifier>, public MatrixVerifier {
+ std::string type() const override;
+};
+
+/**
+* This Verifier checks whether the value is of type glm::mat3x3
+*/
+template
+struct Matrix3x3Verifier :
+ public TemplateVerifier>, public MatrixVerifier {
+ std::string type() const override;
+};
+
+/**
+* This Verifier checks whether the value is of type glm::mat3x4
+*/
+template
+struct Matrix3x4Verifier :
+ public TemplateVerifier>, public MatrixVerifier {
+ std::string type() const override;
+};
+
+/**
+* This Verifier checks whether the value is of type glm::mat4x2
+*/
+template
+struct Matrix4x2Verifier :
+ public TemplateVerifier>, public MatrixVerifier {
+ std::string type() const override;
+};
+
+/**
+* This Verifier checks whether the value is of type glm::mat4x3
+*/
+template
+struct Matrix4x3Verifier :
+ public TemplateVerifier>, public MatrixVerifier {
+ std::string type() const override;
+};
+
+/**
+* This Verifier checks whether the value is of type glm::mat4x4
+*/
+template
+struct Matrix4x4Verifier :
+ public TemplateVerifier>, public MatrixVerifier {
+ std::string type() const override;
+};
+
//----------------------------------------------------------------------------------------
// Operator verifiers
//----------------------------------------------------------------------------------------
@@ -840,6 +947,28 @@ using IntVector4Verifier = Vector4Verifier;
/// A short-hand definition for a Verifier checking for glm::dvec4
using DoubleVector4Verifier = Vector4Verifier;
+/// A short-hand definition for a Verifier checking for glm::dmat2x2
+using DoubleMatrix2x2Verifier = Matrix2x2Verifier;
+using DoubleMatrix2Verifier = DoubleMatrix2x2Verifier;
+/// A short-hand definition for a Verifier checking for glm::dmat2x3
+using DoubleMatrix2x3Verifier = Matrix2x3Verifier;
+/// A short-hand definition for a Verifier checking for glm::dmat2x4
+using DoubleMatrix2x4Verifier = Matrix2x4Verifier;
+/// A short-hand definition for a Verifier checking for glm::dmat3x2
+using DoubleMatrix3x2Verifier = Matrix3x2Verifier;
+/// A short-hand definition for a Verifier checking for glm::dmat3x3
+using DoubleMatrix3x3Verifier = Matrix3x3Verifier;
+using DoubleMatrix3Verifier = DoubleMatrix3x3Verifier;
+/// A short-hand definition for a Verifier checking for glm::dmat3x4
+using DoubleMatrix3x4Verifier = Matrix3x4Verifier;
+/// A short-hand definition for a Verifier checking for glm::dmat4x2
+using DoubleMatrix4x2Verifier = Matrix4x2Verifier;
+/// A short-hand definition for a Verifier checking for glm::dmat4x3
+using DoubleMatrix4x3Verifier = Matrix4x3Verifier;
+/// A short-hand definition for a Verifier checking for glm::dmat4x4
+using DoubleMatrix4x4Verifier = Matrix4x4Verifier;
+using DoubleMatrix4Verifier = DoubleMatrix4x4Verifier;
+
/// A short-hand definition for a LessVerifier with a type check for \c int
using IntLessVerifier = LessVerifier;
/// A short-hand definition for a LessVerifier with a type check for \c double
@@ -936,6 +1065,16 @@ extern template struct Vector4Verifier;
extern template struct Vector4Verifier;
extern template struct Vector4Verifier;
+extern template struct Matrix2x2Verifier;
+extern template struct Matrix2x3Verifier;
+extern template struct Matrix2x4Verifier;
+extern template struct Matrix3x2Verifier;
+extern template struct Matrix3x3Verifier;
+extern template struct Matrix3x4Verifier;
+extern template struct Matrix4x2Verifier;
+extern template struct Matrix4x3Verifier;
+extern template struct Matrix4x4Verifier;
+
extern template struct LessVerifier;
extern template struct LessVerifier;
extern template struct LessEqualVerifier;
diff --git a/include/openspace/documentation/verifier.inl b/include/openspace/documentation/verifier.inl
index deaa984b3d..8df5f6e3f6 100644
--- a/include/openspace/documentation/verifier.inl
+++ b/include/openspace/documentation/verifier.inl
@@ -74,6 +74,69 @@ std::string Vector4Verifier::type() const {
return "Vector4<"s + typeid(T).name() + ">";
}
+template
+std::string Matrix2x2Verifier::type() const {
+ using namespace std::string_literals;
+
+ return "Matrix2x2<"s + typeid(T).name() + ">";
+}
+
+template
+std::string Matrix2x3Verifier::type() const {
+ using namespace std::string_literals;
+
+ return "Matrix2x3<"s + typeid(T).name() + ">";
+}
+
+template
+std::string Matrix2x4Verifier::type() const {
+ using namespace std::string_literals;
+
+ return "Matrix2x4<"s + typeid(T).name() + ">";
+}
+
+template
+std::string Matrix3x2Verifier::type() const {
+ using namespace std::string_literals;
+
+ return "Matrix3x2<"s + typeid(T).name() + ">";
+}
+
+template
+std::string Matrix3x3Verifier::type() const {
+ using namespace std::string_literals;
+
+ return "Matrix3x3<"s + typeid(T).name() + ">";
+}
+
+template
+std::string Matrix3x4Verifier::type() const {
+ using namespace std::string_literals;
+
+ return "Matrix3x4<"s + typeid(T).name() + ">";
+}
+
+template
+std::string Matrix4x2Verifier::type() const {
+ using namespace std::string_literals;
+
+ return "Matrix4x2<"s + typeid(T).name() + ">";
+}
+
+template
+std::string Matrix4x3Verifier::type() const {
+ using namespace std::string_literals;
+
+ return "Matrix4x3<"s + typeid(T).name() + ">";
+}
+
+template
+std::string Matrix4x4Verifier::type() const {
+ using namespace std::string_literals;
+
+ return "Matrix4x4<"s + typeid(T).name() + ">";
+}
+
template
OperatorVerifier::OperatorVerifier(typename T::Type value)
: value(std::move(value))
diff --git a/include/openspace/engine/configurationmanager.h b/include/openspace/engine/configurationmanager.h
index 3f57aa59d9..f63649a8b6 100644
--- a/include/openspace/engine/configurationmanager.h
+++ b/include/openspace/engine/configurationmanager.h
@@ -109,6 +109,8 @@ public:
/// The key that stores the switch for enabling/disabling the rendering on a master
/// computer
static const std::string KeyRenderingMethod;
+ /// The key that determines whether a new cache folder is used for each scene file
+ static const std::string KeyPerSceneCache;
/// The key that stores the http proxy settings for the downloadmanager
static const std::string KeyHttpProxy;
/// The key that stores the address of the http proxy
diff --git a/include/openspace/engine/moduleengine.h b/include/openspace/engine/moduleengine.h
index 6075ebe125..2e06a4f930 100644
--- a/include/openspace/engine/moduleengine.h
+++ b/include/openspace/engine/moduleengine.h
@@ -75,6 +75,14 @@ public:
*/
std::vector modules() const;
+ /**
+ * Returns the combined minimum OpenGL version. The return value is the maximum
+ * version of all registered modules' OpenGL versions.
+ * \return The combined minimum OpenGL version
+ */
+ ghoul::systemcapabilities::OpenGLCapabilitiesComponent::Version
+ requiredOpenGLVersion() const;
+
/**
* Returns the Lua library that contains all Lua functions available to affect the
* modules.
diff --git a/include/openspace/engine/wrapper/sgctwindowwrapper.h b/include/openspace/engine/wrapper/sgctwindowwrapper.h
index a9c4778005..678e2fe25e 100644
--- a/include/openspace/engine/wrapper/sgctwindowwrapper.h
+++ b/include/openspace/engine/wrapper/sgctwindowwrapper.h
@@ -49,6 +49,7 @@ public:
glm::ivec2 currentWindowSize() const override;
glm::ivec2 currentWindowResolution() const override;
glm::ivec2 currentDrawBufferResolution() const override;
+ glm::vec2 dpiScaling() const override;
int currentNumberOfAaSamples() const override;
bool isRegularRendering() const override;
diff --git a/include/openspace/engine/wrapper/windowwrapper.h b/include/openspace/engine/wrapper/windowwrapper.h
index af26f105b4..75924841bc 100644
--- a/include/openspace/engine/wrapper/windowwrapper.h
+++ b/include/openspace/engine/wrapper/windowwrapper.h
@@ -138,6 +138,13 @@ public:
* \return The resolution of the currently active window in pixel coordinates
*/
virtual glm::ivec2 currentDrawBufferResolution() const;
+
+ /**
+ * Returns the DPI scaling factor for the current window. This is normally 1 on all
+ * regular monitors and 2 on Retina screens.
+ * \return The DPI scaling factor for the current window
+ */
+ virtual glm::vec2 dpiScaling() const;
/**
* Returns the number of anti-aliasing samples used in the current window.
diff --git a/include/openspace/interaction/interactionhandler.h b/include/openspace/interaction/interactionhandler.h
index 3efacae9fe..1018f37068 100644
--- a/include/openspace/interaction/interactionhandler.h
+++ b/include/openspace/interaction/interactionhandler.h
@@ -34,6 +34,7 @@
#include
#include
+#include
#include
@@ -70,8 +71,18 @@ public:
void addKeyframe(const datamessagestructures::CameraKeyframe &kf);
void clearKeyframes();
- void bindKeyLocal(Key key, KeyModifier modifier, std::string lua);
- void bindKey(Key key, KeyModifier modifier, std::string lua);
+ void bindKeyLocal(
+ Key key,
+ KeyModifier modifier,
+ std::string luaCommand,
+ std::string documentation = ""
+ );
+ void bindKey(
+ Key key,
+ KeyModifier modifier,
+ std::string luaCommand,
+ std::string documentation = ""
+ );
void lockControls();
void unlockControls();
@@ -105,11 +116,19 @@ public:
void writeKeyboardDocumentation(const std::string& type, const std::string& file);
private:
+ using Synchronized = ghoul::Boolean;
+
+ struct KeyInformation {
+ std::string command;
+ Synchronized synchronization;
+ std::string documentation;
+ };
+
void setInteractionMode(std::shared_ptr interactionMode);
bool _cameraUpdatedFromScript = false;
- std::multimap> _keyLua;
+ std::multimap _keyLua;
std::unique_ptr _inputState;
Camera* _camera;
diff --git a/include/openspace/interaction/interactionmode.h b/include/openspace/interaction/interactionmode.h
index 06fcf97796..4a5f418db9 100644
--- a/include/openspace/interaction/interactionmode.h
+++ b/include/openspace/interaction/interactionmode.h
@@ -31,10 +31,6 @@
#include
#include
-#ifdef OPENSPACE_MODULE_GLOBEBROWSING_ENABLED
-#include
-#include
-#endif
#include
@@ -42,7 +38,10 @@ namespace openspace {
class Camera;
class SceneGraphNode;
-class RenderableGlobe;
+
+namespace globebrowsing {
+ class RenderableGlobe;
+}
namespace interaction {
diff --git a/include/openspace/network/parallelconnection.h b/include/openspace/network/parallelconnection.h
index e372d75001..6b77861e4d 100644
--- a/include/openspace/network/parallelconnection.h
+++ b/include/openspace/network/parallelconnection.h
@@ -44,14 +44,7 @@
#include