diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000000..8ac26a431b
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
+# EditorConfig is awesome: http://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+charset = utf-8
+end_of_line = lf
+indent_style = space
+indent_size = 4
+insert_final_newline = true
+
+# overwrite default settings here, for instance like this:
+# [*.cpp]
+# indent_style = tabs
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000000..6f15cde045
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,125 @@
+* text=auto
+
+# GitHub files
+ATTRIBUTION text
+AUTHORS text
+CHANGELOG text
+CHANGES text
+CONTRIBUTING text
+COPYING text
+copyright text
+*COPYRIGHT* text
+INSTALL text
+LICENSE text
+NEWS text
+readme text
+*README* text
+TODO text
+
+# Other helpers
+.clang-format text
+.gitattributes text
+.gitconfig text
+.gitignore text
+Doxyfile text
+Jenkinsfile text
+langDef text
+
+# Documents
+*.bib text
+*.cfg text
+*.csv text
+*.ini text
+*.markdown text
+*.md text
+*.xml text
+
+# Graphics
+*.eps binary
+*.gif binary
+*.ico binary
+*.jpeg binary
+*.jpg binary
+*.png binary
+*.svg text
+*.tif binary
+*.tiff binary
+
+# C++ sources
+*.c text
+*.cc text
+*.cxx text
+*.cpp text
+*.c++ text
+*.h text
+*.hh text
+*.hpp text
+*.h++ text
+*.in text
+*.inl text
+
+# CMake
+*.cmake text
+*.template text
+
+# HTML
+*.css text
+*.htm text
+*.html text
+*.hbs text
+*.js text
+
+# GLSL
+*.glsl text
+*.hglsl text
+*.fs text
+*.frag text
+*.vert text
+*.vs text
+
+# Other
+*.am text
+*.json text
+*.lua text
+*.py text
+
+# Web Server Gateway Interface
+*.wsgi text
+
+# Compiled Dynamic libraries
+*.dll binary
+*.dylib binary
+*.so binary
+
+# Compiled Static libraries
+*.a binary
+*.la binary
+*.lai binary
+*.lib binary
+
+# Fonts
+*.otf binary
+*.ttf binary
+
+# Resource files
+*.rc text
+*.qrc text
+
+# OpenSpace specific
+*.scene text
+*.mod text
+*.data text
+
+# SPICE specific
+*.tf text
+*.ti text
+*.tls text
+*.tpc text
+
+# GDAL specific
+*.wkt text
+*.dxf text
+*.gfs text
+*.xsd text
+*.rsc binary
+*.dgn binary
diff --git a/.gitignore b/.gitignore
index b6c4278bba..5306c5559c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -118,4 +118,4 @@ data/spice/nh_kernels
data/spice/OsirisRexKernels
data/spice/plu055.bsp
data/spice/Rosetta
-data/spice/sat375.bsp
+data/spice/sat375.bsp
\ No newline at end of file
diff --git a/.gitmodules b/.gitmodules
index 3321a95461..207b84ddb5 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -10,3 +10,6 @@
[submodule "ext/sgct"]
path = ext/sgct
url = https://github.com/opensgct/sgct.git
+[submodule "modules/touch/ext/libTUIO11"]
+ path = modules/touch/ext/libTUIO11
+ url = https://github.com/mkalten/TUIO11_CPP
diff --git a/CREDITS.md b/CREDITS.md
index eafd8ddda1..1a4fc89bbc 100644
--- a/CREDITS.md
+++ b/CREDITS.md
@@ -21,7 +21,7 @@ Rickard Lindtstedt
Michael Sjöström
Michael Novén
Oskar Carlbaum
-Jonathas Bosson
+Jonathan Bosson
Klas Eskilson
Anteige
diff --git a/Jenkinsfile b/Jenkinsfile
index 1985a6a989..6bec006822 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -34,7 +34,7 @@ stage('Build') {
cd build
cmake .. ''' +
flags + ''' ..
- make
+ make -j2
'''
}
}
@@ -70,7 +70,7 @@ stage('Build') {
mkdir ${srcDir}/build
fi
cd ${srcDir}/build
- /Applications/CMake.app/Contents/bin/cmake -G Xcode -D NASM=/usr/local/bin/nasm ${srcDir} .. ''' +
+ /Applications/CMake.app/Contents/bin/cmake -G Xcode ${srcDir} .. ''' +
flags + '''
xcodebuild -quiet
'''
diff --git a/README.md b/README.md
index d3c2d1e8de..765271bcfa 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,11 @@
-OpenSpace is an open source, non-commercial, and freely available interactive data visualization software designed to visualize the entire known universe and portray our ongoing efforts to investigate the cosmos. Bringing the latest techniques from data visualization research to the general public, OpenSpace supports interactive presentation of dynamic data from observations, simulations, and space mission planning and operations. The software works on multiple operating systems (Windows, Linux, MacOS) with an extensible architecture powering high resolution tiled displays and planetarium domes, making use of the latest graphic card technologies for rapid data throughput. In addition, OpenSpace enables simultaneous connections across the globe creating opportunity for shared experiences among audiences worldwide.
+[OpenSpace](http://openspaceproject.com) is an open source, non-commercial, and freely available interactive data visualization software designed to visualize the entire known universe and portray our ongoing efforts to investigate the cosmos. Bringing the latest techniques from data visualization research to the general public, OpenSpace supports interactive presentation of dynamic data from observations, simulations, and space mission planning and operations. The software works on multiple operating systems (Windows, Linux, MacOS) with an extensible architecture powering high resolution tiled displays and planetarium domes, making use of the latest graphic card technologies for rapid data throughput. In addition, OpenSpace enables simultaneous connections across the globe creating opportunity for shared experiences among audiences worldwide.
-The project stems from the same academic collaboration between Sweden’s Linköping University (LiU) and the American Museum of Natural History (AMNH) that led to the creation of Uniview and its parent company SCISS. Development of the software began several years ago through a close collaboration with NASA Goddard’s Community Coordinated Modeling Center (CCMC) to model space weather forecasting and continued last year with visualization of NASA’s New Horizons mission to Pluto and ESA’s Rosetta mission. This promising set of preliminary work provided a foundation for recent NASA funding, which has extended the collaboration to include the University of Utah’s Scientific Computing and Imaging (SCI) Institute, New York University’s Tandon School of Engineering, multiple informal science institutions across the United States, and multiple, international vendors. Current areas of focus within OpenSpace include:
+The project stems from the same academic collaboration between Sweden’s [Linköping University](https://www.liu.se) (LiU) and the [American Museum of Natural History](https://www.amnh.org) (AMNH) that led to the creation of Uniview and its parent company [SCISS](http://sciss.se). Development of the software began several years ago through a close collaboration with NASA Goddard’s [Community Coordinated Modeling Center](https://ccmc.gsfc.nasa.gov) (CCMC) to model space weather forecasting and continued with visualizations of NASA’s New Horizons mission to Pluto and ESA’s Rosetta mission. This promising set of preliminary work provided a foundation for recent NASA funding, which has extended the collaboration to include the University of Utah’s [Scientific Computing and Imaging](https://www.sci.utah.edu) (SCI) Institute, [New York University](https://www.nyu.edu)’s Tandon School of Engineering, multiple informal science institutions across the United States, and multiple, international vendors. Current areas of focus within OpenSpace include:
- Visualization of dynamic simulations via interactive volumetric rendering, as a priority for communicating research in astrophysics.
- Utilization of NASA’s SPICE observational geometry system with its Planetary Data Service (PDS) to enable space mission visualization that reveal how missions are designed to gather science.
- Globe browsing techniques across spatial and temporal scales to examine scientific campaigns on multiple planets, including close up surface exploration.
-This repository contains the source code and example scenes for OpenSpace, but does not contain any data. To build and install the client, we refer to the [Wiki](https://github.com/OpenSpace/OpenSpace/wiki) pages here on GitHub, specifically [building](https://github.com/OpenSpace/OpenSpace/wiki/General-Getting-Started-Guide%3A-Compiling-OpenSpace) for [Windows](https://github.com/OpenSpace/OpenSpace/wiki/Guides-Compile-OpenSpace-on-Windows), [Linux](https://github.com/OpenSpace/OpenSpace/wiki/Guides-Compile-OpenSpace-on-Linux), and [MacOS](https://github.com/OpenSpace/OpenSpace/wiki/Guides-Compile-OpenSpace-on-OSX). Required preexisting dependencies are: [NASM](http://www.nasm.us/), [Boost](http://www.boost.org/), and [Qt](http://www.qt.io/download). Feel free to create issues for missing features, bug reports, or compile problems or contact us via [email](mailto:alexander.bock@me.com?subject=OpenSpace:).
\ No newline at end of file
+This repository contains the source code and example scenes for OpenSpace, but does not contain any data. To build and install the client, we refer to the [Wiki](https://github.com/OpenSpace/OpenSpace/wiki) pages here on GitHub, specifically [building](https://github.com/OpenSpace/OpenSpace/wiki/General-Getting-Started-Guide%3A-Compiling-OpenSpace) for [Windows](https://github.com/OpenSpace/OpenSpace/wiki/Guides-Compile-OpenSpace-on-Windows), [Linux](https://github.com/OpenSpace/OpenSpace/wiki/Guides-Compile-OpenSpace-on-Linux), and [MacOS](https://github.com/OpenSpace/OpenSpace/wiki/Guides-Compile-OpenSpace-on-OSX). Required preexisting dependencies are: [Boost](http://www.boost.org/) and [Qt](http://www.qt.io/download). Feel free to create issues for missing features, bug reports, or compile problems or contact us via [email](mailto:alexander.bock@me.com?subject=OpenSpace:).
+
+Regarding any issues, you are very welcome on our [Slack support channel](https://openspacesupport.slack.com) to which you can freely [sign-up](https://join.slack.com/openspacesupport/shared_invite/MjA4ODY1MDQzNTUzLTE0OTk0MzUyODEtOGZkYTMwNmI5ZA).
diff --git a/apps/Launcher/mainwindow.cpp b/apps/Launcher/mainwindow.cpp
index 01602ccdac..e6786fd083 100644
--- a/apps/Launcher/mainwindow.cpp
+++ b/apps/Launcher/mainwindow.cpp
@@ -285,7 +285,7 @@ void MainWindow::initialize() {
_syncWidget->setSceneFiles(_sceneFiles);
// Load all available configuration files
- QString configurationDirectory = QString::fromStdString(absPath("${SGCT}"));
+ QString configurationDirectory = QString::fromStdString(absPath("${CONFIG}"));
d = QDir(configurationDirectory);
d.setFilter(QDir::Files);
list = d.entryInfoList();
diff --git a/apps/OpenSpace/CMakeLists.txt b/apps/OpenSpace/CMakeLists.txt
index b4ffa29792..6f9d4bb247 100644
--- a/apps/OpenSpace/CMakeLists.txt
+++ b/apps/OpenSpace/CMakeLists.txt
@@ -84,10 +84,13 @@ if (OPENSPACE_SPOUT_SUPPORT)
set(SPOUT_INCLUDE_DIRS ${OPENSPACE_APPS_DIR}/OpenSpace/ext/spout)
set(SPOUT_LIBRARY ${OPENSPACE_APPS_DIR}/OpenSpace/ext/spout/SpoutLibrary.lib)
set(SPOUT_DEFINITIONS "OPENSPACE_HAS_SPOUT")
+
+ set(SGCT_SPOUT_SUPPORT ON CACHE BOOL "" FORCE)
+
endif ()
########################
-# Spout section end #
+# Spout section end #
########################
add_executable(${APPLICATION_NAME}
diff --git a/apps/OpenSpace/main.cpp b/apps/OpenSpace/main.cpp
index 6ee55bb774..01c475f5e5 100644
--- a/apps/OpenSpace/main.cpp
+++ b/apps/OpenSpace/main.cpp
@@ -442,10 +442,10 @@ void mainMousePosCallback(double x, double y) {
}
}
-void mainMouseScrollCallback(double, double posY) {
+void mainMouseScrollCallback(double posX, double posY) {
LTRACE("main::mainMouseScrollCallback(begin");
if (SgctEngine->isMaster()) {
- OsEng.mouseScrollWheelCallback(posY);
+ OsEng.mouseScrollWheelCallback(posX, posY);
}
LTRACE("main::mainMouseScrollCallback(end)");
}
diff --git a/config/sgct/openvr_htcVive.xml b/config/openvr_htcVive.xml
similarity index 100%
rename from config/sgct/openvr_htcVive.xml
rename to config/openvr_htcVive.xml
diff --git a/config/sgct/openvr_oculusRiftCv1.xml b/config/openvr_oculusRiftCv1.xml
similarity index 100%
rename from config/sgct/openvr_oculusRiftCv1.xml
rename to config/openvr_oculusRiftCv1.xml
diff --git a/config/sgct/single.xml b/config/single.xml
similarity index 100%
rename from config/sgct/single.xml
rename to config/single.xml
diff --git a/config/sgct/single_fisheye.xml b/config/single_fisheye.xml
similarity index 100%
rename from config/sgct/single_fisheye.xml
rename to config/single_fisheye.xml
diff --git a/config/sgct/single_gui.xml b/config/single_gui.xml
similarity index 100%
rename from config/sgct/single_gui.xml
rename to config/single_gui.xml
diff --git a/config/sgct/single_two_win.xml b/config/single_two_win.xml
similarity index 100%
rename from config/sgct/single_two_win.xml
rename to config/single_two_win.xml
diff --git a/config/transferfunctions/blue.txt b/config/transferfunctions/blue.txt
deleted file mode 100644
index eb6b9b98d5..0000000000
--- a/config/transferfunctions/blue.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-width 1024
-lower 0.0
-upper 0.7
-mappingkey 0.001 0 0 1 1
-mappingkey 0.01 2 2 0 2
-mappingkey 0.2 50 50 25 50
-mappingkey 0.35 100 100 100 100
-mappingkey 0.51 200 200 100 200
diff --git a/config/transferfunctions/fire.txt b/config/transferfunctions/fire.txt
deleted file mode 100644
index 1e67f2dac9..0000000000
--- a/config/transferfunctions/fire.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-width 1024
-lower 0.0
-upper 0.99
-mappingkey 0.0035 1 1 1 1
-mappingkey 0.0045 3 0 0 1
-mappingkey 0.0060 3 0 0 2
-mappingkey 0.0100 4 1 0 3
-mappingkey 0.0200 6 2 0 3
-mappingkey 0.0300 8 3 0 3
-mappingkey 0.0350 10 4 0 4
-mappingkey 0.0400 12 6 0 5
-mappingkey 0.0800 14 10 0 5
-mappingkey 0.1000 16 12 0 5
-mappingkey 0.2000 50 50 10 10
-mappingkey 0.2500 200 200 200 200
diff --git a/config/transferfunctions/ml.txt b/config/transferfunctions/ml.txt
deleted file mode 100644
index f3e0ff894c..0000000000
--- a/config/transferfunctions/ml.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-width 1024
-lower 0.0
-upper 1.0
-mappingkey 0.0 0 0 0 0
-mappingkey 0.45 5 0 0 5
-mappingkey 0.5 0 100 0 100
-mappingkey 0.55 0 0 5 5
-mappingkey 0.99 0 0 0 0
diff --git a/config/transferfunctions/plain.txt b/config/transferfunctions/plain.txt
deleted file mode 100644
index 3fef1c1c21..0000000000
--- a/config/transferfunctions/plain.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-width 1024
-lower 0.0
-upper 1.0
-mappingkey 0.1 20 20 20 10
-mappingkey 0.9 20 20 20 10
diff --git a/config/transferfunctions/test.txt b/config/transferfunctions/test.txt
deleted file mode 100644
index 3e4abfbbcc..0000000000
--- a/config/transferfunctions/test.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-width 1024
-lower 0.0
-upper 0.5
-mappingkey 0.0035 1 1 1 1
-mappingkey 0.0045 3 0 0 1
-mappingkey 0.0060 3 0 0 2
-mappingkey 0.0100 4 1 0 3
-mappingkey 0.0200 6 2 0 3
-mappingkey 0.0300 8 3 0 3
-mappingkey 0.0400 12 6 0 5
-mappingkey 0.0800 14 10 0 5
-mappingkey 0.1000 16 12 0 5
-mappingkey 0.2000 50 50 10 10
-mappingkey 0.2500 200 200 200 200
diff --git a/config/sgct/two_nodes.xml b/config/two_nodes.xml
similarity index 100%
rename from config/sgct/two_nodes.xml
rename to config/two_nodes.xml
diff --git a/data/scene/atmosphereearth.scene b/data/scene/atmosphereearth.scene
index e00b18fc74..aea608f35b 100644
--- a/data/scene/atmosphereearth.scene
+++ b/data/scene/atmosphereearth.scene
@@ -41,7 +41,8 @@ return {
CommonFolder = "common",
Camera = {
Focus = "Earth",
- Position = {1, 0, 0, 2},
+ Position = {1, 0, 0},
+ Rotation = {0.250635, -0.028751, 0.879269, 0.404030},
},
Modules = {
"sun",
diff --git a/data/scene/default.scene b/data/scene/default.scene
index 1e5148b004..ddd2331377 100644
--- a/data/scene/default.scene
+++ b/data/scene/default.scene
@@ -29,7 +29,7 @@ function postInitialization()
openspace.addVirtualProperty("BoolProperty", "Show Trails", "*Trail.renderable.enabled", true, nil, nil)
- openspace.resetCameraDirection()
+ openspace.navigation.resetCameraDirection()
openspace.printInfo("Done setting default values")
end
diff --git a/data/scene/globebrowsing.scene b/data/scene/globebrowsing.scene
index 1ae95684b4..0c2b8d23c3 100644
--- a/data/scene/globebrowsing.scene
+++ b/data/scene/globebrowsing.scene
@@ -6,10 +6,13 @@ function preInitialization()
critical objects.
]]--
- --openspace.time.setTime(openspace.time.currentWallTime())
openspace.spice.loadKernel("${SPICE}/naif0012.tls")
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
+ -- For unit test
+ --openspace.time.setTime("2016 SEP 8 23:00:00.500")
+ --openspace.time.togglePause()
+
openspace.time.setTime(openspace.time.currentWallTime())
dofile(openspace.absPath('${SCRIPTS}/bind_common_keys.lua'))
@@ -75,7 +78,7 @@ function postInitialization()
openspace.setPropertyValue("Earth.RenderableGlobe.Debug.levelByProjectedAreaElseDistance", false)
openspace.setPropertyValue("Earth.RenderableGlobe.Layers.ColorLayers.blendTileLevels", true)
- openspace.resetCameraDirection()
+ openspace.globebrowsing.goToGeo(0, 0, 20000000)
openspace.printInfo("Done setting default values")
end
@@ -86,7 +89,7 @@ return {
CommonFolder = "common",
Camera = {
Focus = "Earth",
- Position = {30000000, 0, 0},
+ Position = {0, 0, 0},
Rotation = {0.758797, 0.221490, -0.605693, -0.091135},
},
diff --git a/data/scene/juno.scene b/data/scene/juno.scene
index 403b508435..eee0999a82 100755
--- a/data/scene/juno.scene
+++ b/data/scene/juno.scene
@@ -1,63 +1,63 @@
-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.spice.loadKernel("${SPICE}/naif0012.tls")
- openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
-
- openspace.time.setTime("2016-07-05T10:05:00.00")
-
- dofile(openspace.absPath('${SCRIPTS}/common.lua'))
- openspace.clearKeys()
- helper.setCommonKeys()
- helper.setDeltaTimeKeys({
- 1, 5, 10, 20, 40, 90, 360, 720, 2880, 14400,
- 28800, 57600, 115200, 230400, 460800, 921600, 1843200, 3686400, 7372800, 14745600
- })
-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", true)
- openspace.setPropertyValue("EarthMarker.renderable.enabled", true)
-
- openspace.setPropertyValue("MilkyWay.renderable.transparency", 0.55)
- openspace.setPropertyValue("MilkyWay.renderable.segments", 50)
-
- openspace.setPropertyValue('Jupiter.renderable.performShading', false);
-
- openspace.printInfo("Done setting default values")
-end
-
-return {
- ScenePath = ".",
- CommonFolder = "common",
- Camera = {
- Focus = "Juno",
- Position = {1, 0, 0, 5},
- },
- Modules = {
- "sun",
- "mercury",
- "venus",
- "earth",
- "mars",
- "jupiter",
- "saturn/saturn",
- "uranus",
- "neptune",
- "stars",
- "milkyway",
- "missions/juno"
- }
-}
-
+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.spice.loadKernel("${SPICE}/naif0012.tls")
+ openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
+
+ openspace.time.setTime("2016-07-05T10:05:00.00")
+
+ dofile(openspace.absPath('${SCRIPTS}/common.lua'))
+ openspace.clearKeys()
+ helper.setCommonKeys()
+ helper.setDeltaTimeKeys({
+ 1, 5, 10, 20, 40, 90, 360, 720, 2880, 14400,
+ 28800, 57600, 115200, 230400, 460800, 921600, 1843200, 3686400, 7372800, 14745600
+ })
+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", true)
+ openspace.setPropertyValue("EarthMarker.renderable.enabled", true)
+
+ openspace.setPropertyValue("MilkyWay.renderable.transparency", 0.55)
+ openspace.setPropertyValue("MilkyWay.renderable.segments", 50)
+
+ openspace.setPropertyValue('Jupiter.renderable.performShading', false);
+
+ openspace.printInfo("Done setting default values")
+end
+
+return {
+ ScenePath = ".",
+ CommonFolder = "common",
+ Camera = {
+ Focus = "Juno",
+ Position = {1, 0, 0, 5},
+ },
+ Modules = {
+ "sun",
+ "mercury",
+ "venus",
+ "earth",
+ "mars",
+ "jupiter",
+ "saturn/saturn",
+ "uranus",
+ "neptune",
+ "stars",
+ "milkyway",
+ "missions/juno"
+ }
+}
+
diff --git a/data/scene/lodglobes/earth/earth.mod b/data/scene/lodglobes/earth/earth.mod
index 37a222bf58..0819aa8638 100644
--- a/data/scene/lodglobes/earth/earth.mod
+++ b/data/scene/lodglobes/earth/earth.mod
@@ -63,19 +63,17 @@ return {
Renderable = {
Type = "RenderableGlobe",
Radii = earthEllipsoid,
- CameraMinHeight = 300,
- InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "ESRI VIIRS Combo",
- Type = "ByLevel",
+ Type = "ByLevelTileLayer",
LevelTileProviders = {
{
MaxLevel = 3,
TileProvider = {
- Type = "Temporal",
+ Type = "TemporalTileLayer",
Name = "Temporal VIIRS SNPP",
FilePath = "map_service_configs/GIBS/Temporal_VIIRS_SNPP_CorrectedReflectance_TrueColor.xml", },
},
@@ -89,23 +87,42 @@ return {
},
Enabled = true,
},
+ {
+ FilePath = "map_service_configs/ESRI/ESRI_Imagery_World_2D.wms",
+ Name = "ESRI",
+ },
{
- Type = "Temporal",
- Name = "Temporal_GHRSST_L4_MUR_Sea_Surface_Temperature",
- FilePath = "map_service_configs/GIBS/Temporal_GHRSST_L4_MUR_Sea_Surface_Temperature.xml",
+ Name = "BMNG",
+ FilePath = "map_service_configs/Utah/Bmng.wms"
},
{
- Type = "Temporal",
+ Type = "TemporalTileLayer",
Name = "Temporal_AMSR2_GCOM_W1_Sea_Ice_Concentration",
FilePath = "map_service_configs/GIBS/Temporal_AMSR2_GCOM_W1_Sea_Ice_Concentration.xml",
},
{
- Name = "BMNG",
- FilePath = "map_service_configs/Utah/Bmng.wms"
- }
+ Type = "TemporalTileLayer",
+ Name = "MODIS_Terra_Chlorophyll_A",
+ FilePath = openspace.globebrowsing.createTemporalGibsGdalXml(
+ "MODIS_Terra_Chlorophyll_A",
+ "2013-07-02",
+ "Yesterday",
+ "1d",
+ "1km",
+ "png")
+ },
+ {
+ Type = "TemporalTileLayer",
+ Name = "GHRSST_L4_G1SST_Sea_Surface_Temperature",
+ FilePath = openspace.globebrowsing.createTemporalGibsGdalXml(
+ "GHRSST_L4_G1SST_Sea_Surface_Temperature",
+ "2010-06-21",
+ "Yesterday",
+ "1d",
+ "1km",
+ "png")
+ },
},
- GrayScaleLayers = { },
- GrayScaleColorOverlays = { },
NightLayers = {
{
Name = "Earth at Night 2012",
@@ -118,7 +135,7 @@ return {
},
},
{
- Type = "Temporal",
+ Type = "TemporalTileLayer",
Name = "Temporal Earth at Night",
FilePath = "map_service_configs/GIBS/Temporal_VIIRS_SNPP_DayNightBand_ENCC.xml"
}
@@ -134,7 +151,7 @@ return {
FilePath = "map_service_configs/Utah/Gebco.wms",
}
},
- ColorOverlays = {
+ Overlays = {
{
Name = "Coastlines",
FilePath = "map_service_configs/GIBS/Coastlines.xml",
@@ -148,14 +165,13 @@ return {
FilePath = "map_service_configs/GIBS/Reference_Labels.xml",
},
{
- Type = "TileIndex",
+ Type = "TileIndexTileLayer",
Name = "Tile Indices",
},
{
- Type = "SizeReference",
+ Type = "SizeReferenceTileLayer",
Name = "Size Reference",
Radii = earthEllipsoid,
- BackgroundImagePath = "../arrows.png",
},
},
HeightLayers = {
diff --git a/data/scene/lodglobes/earth/map_service_configs/ESRI/ESRI_Imagery_World_2D.wms b/data/scene/lodglobes/earth/map_service_configs/ESRI/ESRI_Imagery_World_2D.wms
index d7d7263f5c..7c54ed40f0 100644
--- a/data/scene/lodglobes/earth/map_service_configs/ESRI/ESRI_Imagery_World_2D.wms
+++ b/data/scene/lodglobes/earth/map_service_configs/ESRI/ESRI_Imagery_World_2D.wms
@@ -13,10 +13,5 @@
512
3
5
-
- ./GDAL_Cache/ESRI_Imagery_World_2d
- 4
- .jpg
-
false
\ No newline at end of file
diff --git a/data/scene/lodglobes/earth/map_service_configs/ESRI/TERRAIN.wms b/data/scene/lodglobes/earth/map_service_configs/ESRI/TERRAIN.wms
index 3937681945..a4a50c0a83 100644
--- a/data/scene/lodglobes/earth/map_service_configs/ESRI/TERRAIN.wms
+++ b/data/scene/lodglobes/earth/map_service_configs/ESRI/TERRAIN.wms
@@ -3,19 +3,7 @@
http://198.102.45.23/arcgis/rest/services/worldelevation3d/terrain3d?
GCS_Elevation
-
- -180.0
- 90.0
- 180.0
- -90.0
- bottom
-
2
5
-
- ./GDAL_Cache/TERRAIN
- 4
- .jpg
-
false
diff --git a/data/scene/lodglobes/earth/map_service_configs/GIBS/Coastlines.xml b/data/scene/lodglobes/earth/map_service_configs/GIBS/Coastlines.xml
index 830e32da8a..120c022a25 100644
--- a/data/scene/lodglobes/earth/map_service_configs/GIBS/Coastlines.xml
+++ b/data/scene/lodglobes/earth/map_service_configs/GIBS/Coastlines.xml
@@ -20,10 +20,4 @@
400
true
5
-
- ./GDAL_Cache/Coastlines
- 4
- .png
-
- false
diff --git a/data/scene/lodglobes/earth/map_service_configs/GIBS/GIBS_Aqua_MODIS_true.xml b/data/scene/lodglobes/earth/map_service_configs/GIBS/GIBS_Aqua_MODIS_true.xml
index 19bbcdb9c5..1e5ed01815 100644
--- a/data/scene/lodglobes/earth/map_service_configs/GIBS/GIBS_Aqua_MODIS_true.xml
+++ b/data/scene/lodglobes/earth/map_service_configs/GIBS/GIBS_Aqua_MODIS_true.xml
@@ -17,11 +17,6 @@
512
3
5
-
- ./GDAL_Cache/GIBS_Aqua_MODIS_true
- 4
- .jpg
-
false
true
400
diff --git a/data/scene/lodglobes/earth/map_service_configs/GIBS/MODIS_Terra_Brightness_Temp_Band31_Day.xml b/data/scene/lodglobes/earth/map_service_configs/GIBS/MODIS_Terra_Brightness_Temp_Band31_Day.xml
index 46a1189c43..7311954847 100644
--- a/data/scene/lodglobes/earth/map_service_configs/GIBS/MODIS_Terra_Brightness_Temp_Band31_Day.xml
+++ b/data/scene/lodglobes/earth/map_service_configs/GIBS/MODIS_Terra_Brightness_Temp_Band31_Day.xml
@@ -17,11 +17,6 @@
512
4
5
-
- ./GDAL_Cache/MODIS_Terra_Brightness_Temp_Band31_Day
- 4
- .png
-
false
true
400
diff --git a/data/scene/lodglobes/earth/map_service_configs/GIBS/MODIS_Terra_CorrectedReflectance_TrueColor.xml b/data/scene/lodglobes/earth/map_service_configs/GIBS/MODIS_Terra_CorrectedReflectance_TrueColor.xml
index a0d82a02b0..3d9b24822d 100644
--- a/data/scene/lodglobes/earth/map_service_configs/GIBS/MODIS_Terra_CorrectedReflectance_TrueColor.xml
+++ b/data/scene/lodglobes/earth/map_service_configs/GIBS/MODIS_Terra_CorrectedReflectance_TrueColor.xml
@@ -17,11 +17,6 @@
512
3
5
-
- ./GDAL_Cache/MODIS_Terra_CorrectedReflectance_TrueColor
- 4
- .jpg
-
false
true
400
diff --git a/data/scene/lodglobes/earth/map_service_configs/GIBS/MODIS_Water_Mask.xml b/data/scene/lodglobes/earth/map_service_configs/GIBS/MODIS_Water_Mask.xml
index b3b90a2f48..4abfdde13d 100644
--- a/data/scene/lodglobes/earth/map_service_configs/GIBS/MODIS_Water_Mask.xml
+++ b/data/scene/lodglobes/earth/map_service_configs/GIBS/MODIS_Water_Mask.xml
@@ -17,13 +17,7 @@
512
4
5
-
- ./GDAL_Cache/MODIS_Water_Mask
- 4
- .png
-
- false
true
- 400
+ 400,204,404
true
diff --git a/data/scene/lodglobes/earth/map_service_configs/GIBS/Reference_Features.xml b/data/scene/lodglobes/earth/map_service_configs/GIBS/Reference_Features.xml
index 7cb0e23db1..b4874f7db2 100644
--- a/data/scene/lodglobes/earth/map_service_configs/GIBS/Reference_Features.xml
+++ b/data/scene/lodglobes/earth/map_service_configs/GIBS/Reference_Features.xml
@@ -17,12 +17,6 @@
512
4
5
-
- ./GDAL_Cache/Reference_Features
- 4
- .png
-
- false
true
400
true
diff --git a/data/scene/lodglobes/earth/map_service_configs/GIBS/Reference_Labels.xml b/data/scene/lodglobes/earth/map_service_configs/GIBS/Reference_Labels.xml
index 2731893a09..5f45a0d424 100644
--- a/data/scene/lodglobes/earth/map_service_configs/GIBS/Reference_Labels.xml
+++ b/data/scene/lodglobes/earth/map_service_configs/GIBS/Reference_Labels.xml
@@ -17,12 +17,6 @@
512
4
5
-
- ./GDAL_Cache/Reference_Labels
- 4
- .png
-
- false
true
400
true
diff --git a/data/scene/lodglobes/earth/map_service_configs/GIBS/VIIRS_CityLights_2012.xml b/data/scene/lodglobes/earth/map_service_configs/GIBS/VIIRS_CityLights_2012.xml
index 8530c80b81..5589007002 100644
--- a/data/scene/lodglobes/earth/map_service_configs/GIBS/VIIRS_CityLights_2012.xml
+++ b/data/scene/lodglobes/earth/map_service_configs/GIBS/VIIRS_CityLights_2012.xml
@@ -17,12 +17,6 @@
512
4
5
-
- ./GDAL_Cache/VIIRS_CityLights_2012
- 4
- .jpg
-
- false
true
400
true
diff --git a/data/scene/lodglobes/earth/map_service_configs/GIBS/VIIRS_SNPP_CorrectedReflectance_TrueColor.xml b/data/scene/lodglobes/earth/map_service_configs/GIBS/VIIRS_SNPP_CorrectedReflectance_TrueColor.xml
index b6ffc234fa..d0ff0f3985 100644
--- a/data/scene/lodglobes/earth/map_service_configs/GIBS/VIIRS_SNPP_CorrectedReflectance_TrueColor.xml
+++ b/data/scene/lodglobes/earth/map_service_configs/GIBS/VIIRS_SNPP_CorrectedReflectance_TrueColor.xml
@@ -17,12 +17,6 @@
512
3
5
-
- ./GDAL_Cache/VIIRS_SNPP_CorrectedReflectance_TrueColor
- 4
- .jpg
-
- false
true
400
true
diff --git a/data/scene/lodglobes/earth/map_service_configs/other/frmt_wms_virtualearth.xml b/data/scene/lodglobes/earth/map_service_configs/other/frmt_wms_virtualearth.xml
index 3b628e9a89..42946f0a2f 100644
--- a/data/scene/lodglobes/earth/map_service_configs/other/frmt_wms_virtualearth.xml
+++ b/data/scene/lodglobes/earth/map_service_configs/other/frmt_wms_virtualearth.xml
@@ -3,5 +3,4 @@
http://a${server_num}.ortho.tiles.virtualearth.net/tiles/a${quadkey}.jpeg?g=90
4
-
diff --git a/data/scene/lodglobes/jupiter/callisto/callisto.mod b/data/scene/lodglobes/jupiter/callisto/callisto.mod
index c86a629158..302fc7a103 100644
--- a/data/scene/lodglobes/jupiter/callisto/callisto.mod
+++ b/data/scene/lodglobes/jupiter/callisto/callisto.mod
@@ -23,8 +23,6 @@ return {
Renderable = {
Type = "RenderableGlobe",
Radii = {2631000, 2631000, 2631000},
- CameraMinHeight = 300,
- InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
@@ -32,15 +30,8 @@ return {
Name = "Callisto Texture",
FilePath = "textures/callisto.jpg",
Enabled = true,
- TilePixelSize = 112,
},
},
- GrayScaleLayers = { },
- GrayScaleColorOverlays = { },
- NightLayers = { },
- WaterMasks = { },
- ColorOverlays = { },
- HeightLayers = { },
},
}
},
diff --git a/data/scene/lodglobes/jupiter/europa/europa.mod b/data/scene/lodglobes/jupiter/europa/europa.mod
index b3f4c1a8df..d84d20d48d 100644
--- a/data/scene/lodglobes/jupiter/europa/europa.mod
+++ b/data/scene/lodglobes/jupiter/europa/europa.mod
@@ -23,8 +23,6 @@ return {
Renderable = {
Type = "RenderableGlobe",
Radii = {1561000, 1561000, 1561000},
- CameraMinHeight = 300,
- InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
@@ -32,15 +30,8 @@ return {
Name = "Europa Texture",
FilePath = "textures/europa.jpg",
Enabled = true,
- TilePixelSize = 256,
},
},
- GrayScaleLayers = { },
- GrayScaleColorOverlays = { },
- NightLayers = { },
- WaterMasks = { },
- ColorOverlays = { },
- HeightLayers = { },
},
}
},
diff --git a/data/scene/lodglobes/jupiter/ganymede/ganymede.mod b/data/scene/lodglobes/jupiter/ganymede/ganymede.mod
index 0099a57786..e37a193bb8 100644
--- a/data/scene/lodglobes/jupiter/ganymede/ganymede.mod
+++ b/data/scene/lodglobes/jupiter/ganymede/ganymede.mod
@@ -23,8 +23,6 @@ return {
Renderable = {
Type = "RenderableGlobe",
Radii = {2631000, 2631000, 2631000},
- CameraMinHeight = 300,
- InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
@@ -32,15 +30,8 @@ return {
Name = "Ganymede Texture",
FilePath = "textures/ganymede.jpg",
Enabled = true,
- TilePixelSize = 112,
},
},
- GrayScaleLayers = { },
- GrayScaleColorOverlays = { },
- NightLayers = { },
- WaterMasks = { },
- ColorOverlays = { },
- HeightLayers = { },
},
}
},
diff --git a/data/scene/lodglobes/jupiter/io/io.mod b/data/scene/lodglobes/jupiter/io/io.mod
index 0deb7fae71..87dfc06b20 100644
--- a/data/scene/lodglobes/jupiter/io/io.mod
+++ b/data/scene/lodglobes/jupiter/io/io.mod
@@ -23,8 +23,6 @@ return {
Renderable = {
Type = "RenderableGlobe",
Radii = {1821300, 1821300, 1821300},
- CameraMinHeight = 300,
- InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
@@ -34,12 +32,6 @@ return {
Enabled = true,
},
},
- GrayScaleLayers = { },
- GrayScaleColorOverlays = { },
- NightLayers = { },
- WaterMasks = { },
- ColorOverlays = { },
- HeightLayers = { },
},
}
},
diff --git a/data/scene/lodglobes/jupiter/jupiter/jupiter.mod b/data/scene/lodglobes/jupiter/jupiter/jupiter.mod
index d8a50af4a5..58dc65149d 100644
--- a/data/scene/lodglobes/jupiter/jupiter/jupiter.mod
+++ b/data/scene/lodglobes/jupiter/jupiter/jupiter.mod
@@ -34,8 +34,6 @@ return {
Renderable = {
Type = "RenderableGlobe",
Radii = {71492000, 71492000, 66854000},
- CameraMinHeight = 300,
- InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
@@ -45,12 +43,6 @@ return {
Enabled = true,
},
},
- GrayScaleLayers = { },
- GrayScaleColorOverlays = { },
- NightLayers = { },
- WaterMasks = { },
- ColorOverlays = { },
- HeightLayers = { },
},
}
},
diff --git a/data/scene/lodglobes/mars/map_service_configs/CTX_Mosaic.xml b/data/scene/lodglobes/mars/map_service_configs/CTX_Mosaic.xml
index 51fd81ce11..0491a66bd5 100644
--- a/data/scene/lodglobes/mars/map_service_configs/CTX_Mosaic.xml
+++ b/data/scene/lodglobes/mars/map_service_configs/CTX_Mosaic.xml
@@ -12,10 +12,6 @@
256
256
-
- ./GDAL_CTX_cache
- 3
- .png
-
- false
+ 400,204,404
+ true
\ No newline at end of file
diff --git a/data/scene/lodglobes/mars/map_service_configs/Mola_Elevation.xml b/data/scene/lodglobes/mars/map_service_configs/Mola_Elevation.xml
index 9c440826b0..c003ebf07d 100644
--- a/data/scene/lodglobes/mars/map_service_configs/Mola_Elevation.xml
+++ b/data/scene/lodglobes/mars/map_service_configs/Mola_Elevation.xml
@@ -10,10 +10,5 @@
-90.0
bottom
-
- ./GDAL_MOLA_cache
- 3
- .png
-
false
\ No newline at end of file
diff --git a/data/scene/lodglobes/mars/map_service_configs/Utah/CTX_Mosaic.xml b/data/scene/lodglobes/mars/map_service_configs/Utah/CTX_Mosaic.xml
index 6135ce51b0..164ab0eb2f 100644
--- a/data/scene/lodglobes/mars/map_service_configs/Utah/CTX_Mosaic.xml
+++ b/data/scene/lodglobes/mars/map_service_configs/Utah/CTX_Mosaic.xml
@@ -17,4 +17,6 @@
256
2
10
+ 400,204,404
+ true
\ No newline at end of file
diff --git a/data/scene/lodglobes/mars/map_service_configs/Utah/MolaCTX_Elevation.xml b/data/scene/lodglobes/mars/map_service_configs/Utah/MolaCTX_Elevation.xml
index 96c96f84d7..baa437174c 100644
--- a/data/scene/lodglobes/mars/map_service_configs/Utah/MolaCTX_Elevation.xml
+++ b/data/scene/lodglobes/mars/map_service_configs/Utah/MolaCTX_Elevation.xml
@@ -10,10 +10,5 @@
-90.0
bottom
-
- ./GDAL_MOLA_cache
- 3
- .png
-
false
\ No newline at end of file
diff --git a/data/scene/lodglobes/mars/mars.mod b/data/scene/lodglobes/mars/mars.mod
index e25290d1c0..ceee56e4ea 100644
--- a/data/scene/lodglobes/mars/mars.mod
+++ b/data/scene/lodglobes/mars/mars.mod
@@ -1,4 +1,5 @@
local marsEllipsoid = {3396190.0, 3396190.0, 3376200.0}
+
return {
-- Barycenter module
{
@@ -31,10 +32,7 @@ return {
Renderable = {
Type = "RenderableGlobe",
Radii = marsEllipsoid,
- CameraMinHeight = 10,
SegmentsPerPatch = 90,
- -- Allows camera to go down 10000 meters below the reference ellipsoid
- InteractionDepthBelowEllipsoid = 10000, -- Useful when having negative height map values
Layers = {
ColorLayers = {
{
@@ -42,87 +40,30 @@ return {
FilePath = "map_service_configs/MARS_Viking_MDIM21.xml",
Enabled = true,
},
- -- {
- -- Type = "SingleImage",
- -- Name = "Debug Tiles",
- -- FilePath = "../../debugglobe/textures/test_tile.png",
- -- },
- --{
- -- Name = "MARS_Viking",
- -- FilePath = "map_service_configs/MARS_Viking_MDIM21.xml",
- -- Enabled = true,
- --},
{
Name = "MOLA Pseudo Color",
FilePath = "map_service_configs/Utah/MolaPseudoColor.xml",
- -- Enabled = true,
- },
- --[[
- {
- Name = "Mars Viking Clr",
- FilePath = "map_datasets/Viking/Mars_Viking_ClrMosaic_global_925m_longlat_full.vrt",
- Enabled = true,
- },
- ]]
- },
- GrayScaleLayers = {
-
- },
- GrayScaleColorOverlays = {
- {
- Name = "CTX Mosaic [AWS]",
- FilePath = "map_service_configs/CTX.wms",
- Enabled = true,
},
{
Name = "CTX Mosaic [Europe]",
FilePath = "map_service_configs/CTX_Mosaic.xml",
- --Enabled = true,
+ BlendMode = "Color"
},
{
Name = "CTX Mosaic [Utah]",
FilePath = "map_service_configs/Utah/CTX_Mosaic.xml",
+ BlendMode = "Color"
},
- {
- Name = "West Candor Chasma",
- 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 = "Themis IR Day",
- FilePath = "map_service_configs/Utah/ThemisIRDay.xml",
- },
- {
- Name = "Themis IR Night",
- FilePath = "map_service_configs/Utah/ThemisIRNight.xml",
- },
-
- {
- Name = "MER_Meridianni_Endeavor_Basemap_25cm",
- FilePath = "map_datasets/Basemap/MER_Meridianni_Endeavor_Basemap_25cm.vrt",
- },
- {
- Name = "Part of Area Traversed by the Mars Exploration Rover",
- FilePath = "map_datasets/HiRISE/Part_of_Area_Traversed_by_the_Mars_Exploration_Rover_Texture.vrt",
- },
- ]]
},
- NightLayers = { },
- WaterMasks = { },
- ColorOverlays = {
+ Overlays = {
{
- Type = "TileIndex",
+ Type = "TileIndexTileLayer",
Name = "Indices",
},
{
- Type = "SizeReference",
+ Type = "SizeReferenceTileLayer",
Name = "Size Reference",
Radii = marsEllipsoid,
- BackgroundImagePath = "../arrows.png",
},
},
HeightLayers = {
@@ -131,50 +72,7 @@ return {
FilePath = "map_service_configs/Mola_Elevation.xml",
Enabled = true,
TilePixelSize = 90,
- DoPreProcessing = true,
},
- --[[
- {
- Name = "Mola Elevation [Utah]",
- FilePath = "map_service_configs/Utah/Mola_Elevation.xml",
- Enabled = false,
- TilePixelSize = 90,
- DoPreProcessing = true,
- },
- {
- Name = "Mola Elevation CTX",
- FilePath = "map_service_configs/Utah/MolaCTX_Elevation.xml",
- -- Enabled = true,
- TilePixelSize = 90,
- DoPreProcessing = true,
- },]]
- {
- Name = "West Candor Chasma",
- FilePath = "map_datasets/CTX/West_Candor_Chasma_DEM_longlat_global.vrt",
- --Enabled = true,
- TilePixelSize = 90,
- DoPreProcessing = true,
- },
- {
- Name = "Layered Rock Outcrops in Southwest Candor Chasma",
- FilePath = "map_datasets/HiRISE/Layered_Rock_Outcrops_in_Southwest_Candor_Chasma_Heightmap.vrt",
- TilePixelSize = 90,
- DoPreProcessing = true,
- },
- --[[
- {
- Name = "West Candor Chasma",
- FilePath = "map_datasets/CTX/West_Candor_Chasma_DEM_longlat_global.vrt",
- --Enabled = true,
- TilePixelSize = 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",
- },
- ]]
},
},
}
diff --git a/data/scene/lodglobes/mercury/map_service_configs/OnMercuryColor.xml b/data/scene/lodglobes/mercury/map_service_configs/OnMercuryColor.xml
index d53cb3ad5e..4083bfbba8 100644
--- a/data/scene/lodglobes/mercury/map_service_configs/OnMercuryColor.xml
+++ b/data/scene/lodglobes/mercury/map_service_configs/OnMercuryColor.xml
@@ -25,6 +25,7 @@
1
top
+ 5
512
512
\ No newline at end of file
diff --git a/data/scene/lodglobes/mercury/mercury.mod b/data/scene/lodglobes/mercury/mercury.mod
new file mode 100644
index 0000000000..531b855ba7
--- /dev/null
+++ b/data/scene/lodglobes/mercury/mercury.mod
@@ -0,0 +1,74 @@
+return {
+ -- Barycenter module
+ {
+ Name = "MercuryBarycenter",
+ Parent = "SolarSystemBarycenter",
+ Transform = {
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "MERCURY",
+ Observer = "SUN",
+ Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
+ },
+ },
+ },
+ -- RenderableGlobe module
+ {
+ Name = "Mercury",
+ Parent = "MercuryBarycenter",
+ Transform = {
+ Rotation = {
+ Type = "SpiceRotation",
+ SourceFrame = "IAU_MERCURY",
+ DestinationFrame = "GALACTIC",
+ },
+ Scale = {
+ Type = "StaticScale",
+ Scale = 1,
+ },
+ },
+ Renderable = {
+ Type = "RenderableGlobe",
+ Radii = {2439700, 2439700.0, 2439700.0},
+ Frame = "IAU_MERCURY",
+ Body = "MERCURY",
+
+ CameraMinHeight = 300,
+ InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
+ SegmentsPerPatch = 64,
+ Layers = {
+ ColorLayers = {
+ {
+ Name = "Simple Texture",
+ FilePath = "textures/mercury.jpg",
+ Enabled = true,
+ },
+ {
+ Name = "Messenger_Mosaic",
+ FilePath = "map_service_configs/Utah/MessengerMosaic.wms"
+ },
+ {
+ Name = "Messenger_MDIS",
+ FilePath = "map_service_configs/Utah/MessengerMDIS.wms"
+ }
+ },
+ },
+ },
+ },
+ -- Trail module
+ {
+ Name = "MercuryTrail",
+ Parent = "SolarSystemBarycenter",
+ Renderable = {
+ Type = "RenderableTrailOrbit",
+ Translation = {
+ Type = "SpiceTranslation",
+ Body = "MERCURY",
+ Observer = "SUN",
+ },
+ Color = {0.6, 0.5, 0.5 },
+ Period = 87.968,
+ Resolution = 100
+ }
+ }
+}
diff --git a/data/scene/lodglobes/moon/map_service_configs/OnMoonColor.xml b/data/scene/lodglobes/moon/map_service_configs/OnMoonColor.xml
index d2d9d1ec11..458fdab892 100644
--- a/data/scene/lodglobes/moon/map_service_configs/OnMoonColor.xml
+++ b/data/scene/lodglobes/moon/map_service_configs/OnMoonColor.xml
@@ -61,13 +61,8 @@
top
512
- 512
+ 512
true
400
true
-
- ./GDAL_Cache/OnMoonColor
- 4
- .png
-
\ No newline at end of file
diff --git a/data/scene/lodglobes/moon/map_service_configs/OnMoonHeight.xml b/data/scene/lodglobes/moon/map_service_configs/OnMoonHeight.xml
index e008c2aa90..3f0934091c 100644
--- a/data/scene/lodglobes/moon/map_service_configs/OnMoonHeight.xml
+++ b/data/scene/lodglobes/moon/map_service_configs/OnMoonHeight.xml
@@ -19,9 +19,4 @@
true
400
true
-
- ./GDAL_Cache/OnMoonHeight
- 4
- .png
-
\ No newline at end of file
diff --git a/data/scene/lodglobes/moon/moon.mod b/data/scene/lodglobes/moon/moon.mod
index 1247ae7187..1ddb3cf044 100644
--- a/data/scene/lodglobes/moon/moon.mod
+++ b/data/scene/lodglobes/moon/moon.mod
@@ -19,18 +19,9 @@ return {
Renderable = {
Type = "RenderableGlobe",
Radii = {1738140, 1738140, 1735970}, -- Moons's radius
- CameraMinHeight = 300,
SegmentsPerPatch = 64,
- -- Allows camera to go down 10000 meters below the reference ellipsoid
- InteractionDepthBelowEllipsoid = 10000, -- Useful when having negative height map values
Layers = {
ColorLayers = {
-
- },
- GrayScaleColorOverlays = {
-
- },
- GrayScaleLayers = {
{
Name = "OnMoonColorGrayscale",
FilePath = "map_service_configs/OnMoonColor.xml",
@@ -48,29 +39,14 @@ return {
Name = "WAC",
FilePath = "map_service_configs/Utah/Wac.wms"
}
- },
- NightLayers = {
-
- },
- WaterMasks = {
-
- },
- ColorOverlays = {
-
},
HeightLayers = {
- {
- Name = "OnMoonHeight",
- FilePath = "map_service_configs/OnMoonHeight.xml",
- Enabled = true,
- DoPreProcessing = true,
- TileSize = 64,
- },
{
Name = "LolaDem",
FilePath = "map_service_configs/Utah/LolaDem.wms",
- DoPreProcessing = true,
- TileSize = 64,
+ Enabled = true,
+ TilePixelSize = 64,
+ Settings = { Multiplier = 0.5 },
}
},
},
diff --git a/data/scene/lodglobes/neptune/neptune.mod b/data/scene/lodglobes/neptune/neptune.mod
index cfb74029b9..99513e18bb 100644
--- a/data/scene/lodglobes/neptune/neptune.mod
+++ b/data/scene/lodglobes/neptune/neptune.mod
@@ -31,8 +31,6 @@ return {
Renderable = {
Type = "RenderableGlobe",
Radii = {24764000, 24764000, 24314000},
- CameraMinHeight = 300,
- InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
@@ -40,15 +38,8 @@ return {
Name = "Texture",
FilePath = "textures/neptune.jpg",
Enabled = true,
- TilePixelSize = 256,
},
},
- GrayScaleLayers = { },
- GrayScaleColorOverlays = { },
- NightLayers = { },
- WaterMasks = { },
- ColorOverlays = { },
- HeightLayers = { },
},
},
},
diff --git a/data/scene/lodglobes/saturn/saturn.mod b/data/scene/lodglobes/saturn/saturn.mod
index da471b0979..dc1ef691eb 100644
--- a/data/scene/lodglobes/saturn/saturn.mod
+++ b/data/scene/lodglobes/saturn/saturn.mod
@@ -31,8 +31,6 @@ return {
Renderable = {
Type = "RenderableGlobe",
Radii = {60268000, 60268000, 54364000},
- CameraMinHeight = 300,
- InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
@@ -40,15 +38,8 @@ return {
Name = "Saturn Texture",
FilePath = "textures/saturn.jpg",
Enabled = true,
- TilePixelSize = 256,
},
},
- GrayScaleLayers = { },
- GrayScaleColorOverlays = { },
- NightLayers = { },
- WaterMasks = { },
- ColorOverlays = { },
- HeightLayers = { },
},
},
},
diff --git a/data/scene/lodglobes/uranus/uranus.mod b/data/scene/lodglobes/uranus/uranus.mod
index 06b2160647..b8cda62a16 100644
--- a/data/scene/lodglobes/uranus/uranus.mod
+++ b/data/scene/lodglobes/uranus/uranus.mod
@@ -31,8 +31,6 @@ return {
Renderable = {
Type = "RenderableGlobe",
Radii = {25559000, 25559000, 24973000},
- CameraMinHeight = 300,
- InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
@@ -40,15 +38,8 @@ return {
Name = "Texture",
FilePath = "textures/uranus.jpg",
Enabled = true,
- TilePixelSize = 256,
},
},
- GrayScaleLayers = { },
- GrayScaleColorOverlays = { },
- NightLayers = { },
- WaterMasks = { },
- ColorOverlays = { },
- HeightLayers = { },
},
},
},
diff --git a/data/scene/lodglobes/venus/venus.mod b/data/scene/lodglobes/venus/venus.mod
index 2ac91197ed..285f88f466 100644
--- a/data/scene/lodglobes/venus/venus.mod
+++ b/data/scene/lodglobes/venus/venus.mod
@@ -36,8 +36,6 @@ return {
Renderable = {
Type = "RenderableGlobe",
Radii = {6051900, 6051900, 6051800},
- CameraMinHeight = 300,
- InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
@@ -45,15 +43,8 @@ return {
Name = "Venus Texture",
FilePath = "textures/venus.jpg",
Enabled = true,
- TilePixelSize = 256,
},
},
- GrayScaleLayers = { },
- GrayScaleColorOverlays = { },
- NightLayers = { },
- WaterMasks = { },
- ColorOverlays = { },
- HeightLayers = { },
},
},
},
diff --git a/data/scene/missions/juno/juno/juno.mod b/data/scene/missions/juno/juno/juno.mod
index c9e4cc56df..823c8f9339 100644
--- a/data/scene/missions/juno/juno/juno.mod
+++ b/data/scene/missions/juno/juno/juno.mod
@@ -127,7 +127,7 @@ return {
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrailTrajectory",
- Translation = {
+ Translation = {
Type = "SpiceTranslation",
Body = "JUNO",
Observer = "JUPITER BARYCENTER"
@@ -135,7 +135,7 @@ return {
Color = { 0.70, 0.50, 0.20 },
StartTime = "2016 JUN 28",
EndTime = "2016 APR 01",
- SampleInterval = 3600
+ SampleInterval = 3600
},
},
}
diff --git a/data/scene/newhorizons.scene b/data/scene/newhorizons.scene
index 3ce05ababc..30f86d1b94 100644
--- a/data/scene/newhorizons.scene
+++ b/data/scene/newhorizons.scene
@@ -1,4 +1,4 @@
-UseAccurateNewHorizonsKernels = true
+UseAccurateNewHorizonsKernels = false
-- TextureResolution = "low"
TextureResolution = "med"
-- TextureResolution = "high"
diff --git a/data/scene/osirisrex.scene b/data/scene/osirisrex.scene
index f5fff215a9..79c1e58e67 100644
--- a/data/scene/osirisrex.scene
+++ b/data/scene/osirisrex.scene
@@ -46,7 +46,7 @@ function postInitialization()
openspace.printInfo("Done setting default values")
openspace.loadMission("${OPENSPACE_DATA}/scene/missions/osirisrex/osirisrex/osirisrex.mission")
- openspace.resetCameraDirection()
+ openspace.navigation.resetCameraDirection()
end
return {
diff --git a/data/scene/satellites.scene b/data/scene/satellites.scene
index 20eed4c4d4..5e09f29196 100644
--- a/data/scene/satellites.scene
+++ b/data/scene/satellites.scene
@@ -32,7 +32,7 @@ function postInitialization()
openspace.setPropertyValue("EarthTrail.renderable.enabled", false)
openspace.setPropertyValue("Earth.renderable.performShading", false)
- openspace.resetCameraDirection()
+ openspace.navigation.resetCameraDirection()
openspace.printInfo("Done setting default values")
diff --git a/ext/ghoul b/ext/ghoul
index f852572b77..67827b142e 160000
--- a/ext/ghoul
+++ b/ext/ghoul
@@ -1 +1 @@
-Subproject commit f852572b77742d4fa6c78e73b6f5470633509c8f
+Subproject commit 67827b142e95122b66d58e7c402fe1a28a65631e
diff --git a/ext/tinythread.cpp b/ext/tinythread.cpp
index 5b5bd41cf4..690eceea1a 100644
--- a/ext/tinythread.cpp
+++ b/ext/tinythread.cpp
@@ -1,303 +1,303 @@
-/* -*- mode: c++; tab-width: 2; indent-tabs-mode: nil; -*-
-Copyright (c) 2010-2012 Marcus Geelnard
-
-This software is provided 'as-is', without any express or implied
-warranty. In no event will the authors be held liable for any damages
-arising from the use of this software.
-
-Permission is granted to anyone to use this software for any purpose,
-including commercial applications, and to alter it and redistribute it
-freely, subject to the following restrictions:
-
- 1. The origin of this software must not be misrepresented; you must not
- claim that you wrote the original software. If you use this software
- in a product, an acknowledgment in the product documentation would be
- appreciated but is not required.
-
- 2. Altered source versions must be plainly marked as such, and must not be
- misrepresented as being the original software.
-
- 3. This notice may not be removed or altered from any source
- distribution.
-*/
-
-#include
-#include "tinythread.h"
-
-#if defined(_TTHREAD_POSIX_)
- #include
- #include