Merge with develop
216
.gitignore
vendored
@@ -1,21 +1,21 @@
|
||||
bin/
|
||||
build/
|
||||
cache/
|
||||
tmp/
|
||||
ext/SGCT
|
||||
.DS_Store
|
||||
*.swp
|
||||
.vscode
|
||||
|
||||
# Windows system files:
|
||||
Thumbs.db
|
||||
|
||||
# Emacs backup files:
|
||||
*~
|
||||
*.swp
|
||||
.DS_Store
|
||||
.vscode
|
||||
/bin/
|
||||
/build/
|
||||
/cache/
|
||||
Thumbs.db
|
||||
tmp/
|
||||
|
||||
/documentation
|
||||
/doc
|
||||
/ext/SGCT
|
||||
|
||||
# generated glsl files
|
||||
*.gglsl
|
||||
*.GhoulGenerated.glsl
|
||||
*.OpenSpaceGenerated.glsl
|
||||
|
||||
shaders/generated/*
|
||||
|
||||
# CMake stuff
|
||||
@@ -29,125 +29,79 @@ install_manifest.txt
|
||||
.cproject
|
||||
.project
|
||||
|
||||
# Doxygen stuff
|
||||
html/
|
||||
latex/
|
||||
shaders/ABuffer/constants.hglsl
|
||||
*.OpenSpaceGenerated.glsl
|
||||
LuaScripting.txt
|
||||
Properties.txt
|
||||
log.html
|
||||
gui/externaltimecontrol/CMakeLists.txt
|
||||
gui/externaltimecontrol/main.cpp
|
||||
gui/externaltimecontrol/mainwindow.cpp
|
||||
gui/externaltimecontrol/mainwindow.h
|
||||
data/scene/rosetta/67P/obj/67P_rotated_5_130.obj
|
||||
data/spice/NewHorizonsKernels/
|
||||
data/spice/RosettaKernels/
|
||||
data/scene/newhorizons/pluto/pluto/textures/
|
||||
data/scene/newhorizons/pluto/pluto/utcEvents.txt
|
||||
data/scene/rosetta/rosetta/obj/mainbodyros.obj
|
||||
data/scene/rosetta/rosetta/obj/solarpanelleft.obj
|
||||
data/scene/rosetta/rosetta/obj/solarpanelright.obj
|
||||
data/scene/rosetta/rosetta/textures/defaultProj.png
|
||||
data/scene/rosetta/rosetta/textures/glare_blue.png
|
||||
data/scene/rosetta/rosetta/textures/gray.png
|
||||
data/scene/rosetta/rosetta/textures/squarefov.png
|
||||
data/scene/saturn/textures/saturn.jpg
|
||||
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
|
||||
data/scene/jupiter/io/textures
|
||||
data/scene/jupiter/jupiter/textures
|
||||
data/scene/mars/textures
|
||||
data/scene/mercury/textures
|
||||
data/scene/milkyway/textures
|
||||
data/scene/milkyway-eso/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/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/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/stars/colorbv.cmap
|
||||
data/scene/stars/speck/stars.speck
|
||||
data/scene/stars/textures/glare.png
|
||||
data/scene/stars/textures/halo.png
|
||||
data/scene/sun/textures/marker.png
|
||||
data/scene/sun/textures/sun-glare.png
|
||||
data/scene/sun/textures/sun.jpg
|
||||
data/scene/uranus/textures/uranus.jpg
|
||||
data/scene/venus/textures/venus.jpg
|
||||
data/scene/dawn/vestaprojection/VestaComet/VestaComet_5000.obj
|
||||
data/spice/DawnKernels/
|
||||
data/scene/newhorizons/jupiter/jupiter/ProjectionsOfInterest/
|
||||
data/scene/rosetta/67P/textures/black.jpg
|
||||
data/scene/rosetta/67P/textures/defaultProj.png
|
||||
data/scene/rosetta/67P/textures/gray.jpg
|
||||
data/scene/rosetta/67P/textures/gray.png
|
||||
data/scene/rosetta/67P/textures/texmapflipped.jpg
|
||||
data/scene/rosetta/67P/textures/white.jpg
|
||||
data/scene/rosetta/67P/textures/white.png
|
||||
data/scene/newhorizons/jupiter/callisto/textures/callisto.jpg
|
||||
data/scene/dawn/ceres/textures/gray.png
|
||||
data/scene/newhorizons/pluto/charon/textures/Charon-Text.png
|
||||
data/scene/newhorizons/pluto/charon/textures/charon_highres.jpg
|
||||
data/scene/newhorizons/pluto/charon/textures/charon_highres_annotated.jpg
|
||||
data/scene/newhorizons/pluto/charon/textures/defaultProj.png
|
||||
data/scene/dawn/dawn/obj/mainbodydawn.obj
|
||||
data/scene/dawn/dawn/obj/solarpanelleft.obj
|
||||
data/scene/dawn/dawn/obj/solarpanelright.obj
|
||||
data/scene/dawn/dawn/textures/glare_blue.png
|
||||
data/scene/dawn/dawn/textures/gray.png
|
||||
data/scene/earth/textures/ToastMapOfEarth.jpg
|
||||
data/scene/earth/textures/earth_bluemarble.jpg
|
||||
data/scene/earth/textures/earth_bluemarble_height.jpg
|
||||
data/scene/earth/textures/earth_night.jpg
|
||||
data/scene/earth/textures/marker.png
|
||||
data/scene/earth/textures/earth_clouds.jpg
|
||||
data/scene/earth/textures/earth_reflectance.png
|
||||
data/scene/moon/textures/Moon16K.dds
|
||||
data/scene/newhorizons/jupiter/europa/textures/europa.jpg
|
||||
data/scene/newhorizons/jupiter/ganymede/textures/ganymede.jpg
|
||||
data/scene/newhorizons/jupiter/io/textures/io.jpg
|
||||
data/scene/jupiter/jupiter/textures/jupiter.jpg
|
||||
data/scene/mars/textures/mars.jpg
|
||||
data/scene/mercury/textures/mercury.jpg
|
||||
data/scene/milkyway/textures/DarkUniverse_mellinger_8k.jpg
|
||||
data/scene/neptune/textures/neptune.jpg
|
||||
data/scene/newhorizons/newhorizons/models/Labels.obj
|
||||
data/scene/newhorizons/newhorizons/models/NewHorizonsCleanModel.obj
|
||||
data/scene/newhorizons/newhorizons/textures/NHTexture.jpg
|
||||
data/scene/newhorizons/newhorizons/textures/goldfoilbump.tif
|
||||
data/scene/newhorizons/newhorizons/textures/labels.png
|
||||
data/scene/pluto/textures/
|
||||
data/scene/pluto/textures/Shenk_180.jpg
|
||||
data/scene/pluto/textures/pluto_highres_180.jpg
|
||||
data/scene/newhorizons/pluto/pluto/assets/core_v9h_obs_getmets_v8_time_fix_nofrcd_mld.txt
|
||||
data/scene/newhorizons/pluto/pluto/textures/3.jpg
|
||||
data/scene/newhorizons/pluto/pluto/textures/Pluto-Text.png
|
||||
data/scene/dawn/vestaprojection/VestaComet/VestaComet.mtl
|
||||
data/scene/dawn/vestaprojection/textures/defaultProj_backup.png
|
||||
data/scene/dawn/vestaprojection/textures/dummy.jpg
|
||||
data/scene/dawn/vestaprojection/textures/glare.png
|
||||
data/scene/dawn/vestaprojection/textures/projectMe.png
|
||||
data/spice/MAR063.BSP
|
||||
data/scene/stars/speck
|
||||
data/scene/stars/textures
|
||||
data/scene/stars-denver/denver_colorbv.cmap
|
||||
data/scene/stars-denver/speck
|
||||
data/scene/stars-denver/textures
|
||||
data/scene/sun/textures
|
||||
data/scene/uranus/textures
|
||||
data/scene/venus/textures
|
||||
data/scene/volumetricmilkyway/milkyway
|
||||
data/spice/DawnKernels
|
||||
data/spice/de430_1850-2150.bsp
|
||||
data/spice/jup260.bsp
|
||||
data/BATSRUS.cdf
|
||||
data/ENLIL.cdf
|
||||
data/scene/newhorizons/pluto/pluto/images
|
||||
data/spice/nh_kernels/
|
||||
data/scene/jupiter/jupiter/textures/Jupiter-text.png
|
||||
data/scene/jupiter/callisto/textures/callisto.jpg
|
||||
data/scene/jupiter/europa/textures/europa.jpg
|
||||
data/scene/jupiter/ganymede/textures/ganymede.jpg
|
||||
data/scene/jupiter/io/textures/io.jpg
|
||||
data/scene/milkyway-eso/textures/eso0932a_blend.png
|
||||
data/scene/stars-denver/denver_colorbv.cmap
|
||||
data/scene/stars-denver/speck/stars.speck
|
||||
data/scene/stars-denver/textures/halo.png
|
||||
data/scene/newhorizons/pluto/pluto/full_images/
|
||||
data/scene/rosetta/67P/rosettaimages/
|
||||
data/spice/RosettaKernels_New/
|
||||
data/scene/newhorizons/pluto/charon/utcEvents.txt
|
||||
data/scene/rosetta/67P/obj/67P_HD_2015-05-09.obj
|
||||
data/scene/rosetta/67P/obj/may9_map.jpg
|
||||
data/scene/rosetta/67P/textures/may9_map.jpg
|
||||
data/scene/newhorizons/pluto/charon/textures/cpdem-Mcolor2-MLorriCA-lr-5_ZMfs-cyl.jpg
|
||||
data/scene/newhorizons/pluto/charon/textures/cpmap_cyl_HR_0e.jpg
|
||||
data/scene/volumetricmilkyway/milkyway/
|
||||
ScriptLog.txt
|
||||
data/scene/atmosphereearth/textures/ToastMapOfEarth.jpg
|
||||
data/scene/atmosphereearth/textures/earth_bluemarble.jpg
|
||||
data/scene/atmosphereearth/textures/earth_bluemarble_height.jpg
|
||||
data/scene/atmosphereearth/textures/earth_clouds.jpg
|
||||
data/scene/atmosphereearth/textures/earth_night.jpg
|
||||
data/scene/atmosphereearth/textures/earth_reflectance.png
|
||||
data/scene/atmosphereearth/textures/marker.png
|
||||
data/scene/debugglobe/test_stats
|
||||
data/spice/MAR063.BSP
|
||||
data/spice/NewHorizonsKernels
|
||||
data/spice/nh_kernels
|
||||
data/spice/OsirisRexKernels
|
||||
data/spice/Rosetta
|
||||
data/spice/sat375.bsp
|
||||
|
||||
8
.gitmodules
vendored
@@ -3,4 +3,10 @@
|
||||
url = https://github.com/OpenSpace/Ghoul.git
|
||||
[submodule "modules/kameleon/ext/kameleon"]
|
||||
path = modules/kameleon/ext/kameleon
|
||||
url = https://github.com/OpenSpace/Kameleon.git
|
||||
url = https://github.com/OpenSpace/Kameleon.git
|
||||
[submodule "ext/spice"]
|
||||
path = ext/spice
|
||||
url = https://github.com/OpenSpace/Spice.git
|
||||
[submodule "ext/sgct"]
|
||||
path = ext/sgct
|
||||
url = https://github.com/opensgct/sgct.git
|
||||
|
||||
@@ -22,13 +22,11 @@
|
||||
# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #
|
||||
#########################################################################################
|
||||
|
||||
cmake_minimum_required (VERSION 3.0 FATAL_ERROR)
|
||||
cmake_minimum_required (VERSION 3.4 FATAL_ERROR)
|
||||
|
||||
project (OpenSpace)
|
||||
message(STATUS "Generating OpenSpace project")
|
||||
|
||||
set(BOOST_ROOT "G:/deps/bin/boost_1_60_0")
|
||||
|
||||
set(OPENSPACE_BASE_DIR "${PROJECT_SOURCE_DIR}")
|
||||
set(OPENSPACE_APPS_DIR "${OPENSPACE_BASE_DIR}/apps")
|
||||
set(OPENSPACE_EXT_DIR "${OPENSPACE_BASE_DIR}/ext")
|
||||
|
||||
386
Doxyfile
@@ -1,45 +1,19 @@
|
||||
# Doxyfile 1.7.6.1
|
||||
# Doxyfile 1.8.8
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Project related configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
|
||||
DOXYFILE_ENCODING = UTF-8
|
||||
PROJECT_NAME = OpenSpace
|
||||
PROJECT_NUMBER =
|
||||
PROJECT_LOGO =
|
||||
OUTPUT_DIRECTORY = doc/
|
||||
CREATE_SUBDIRS = NO
|
||||
OUTPUT_LANGUAGE = English
|
||||
BRIEF_MEMBER_DESC = YES
|
||||
REPEAT_BRIEF = YES
|
||||
ALWAYS_DETAILED_SEC = YES
|
||||
INLINE_INHERITED_MEMB = NO
|
||||
FULL_PATH_NAMES = YES
|
||||
JAVADOC_AUTOBRIEF = YES
|
||||
QT_AUTOBRIEF = YES
|
||||
|
||||
# This tag can be used to specify a number of aliases that acts
|
||||
# as commands in the documentation. An alias has the form "name=value".
|
||||
# For example adding "sideeffect=\par Side Effects:\n" will allow you to
|
||||
# put the command \sideeffect (or @sideeffect) in the documentation, which
|
||||
# will result in a user-defined paragraph with heading "Side Effects:".
|
||||
# You can put \n's in the value part of an alias to insert newlines.
|
||||
|
||||
ALIASES =
|
||||
BUILTIN_STL_SUPPORT = NO
|
||||
|
||||
SUBGROUPING = YES
|
||||
|
||||
# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and
|
||||
# unions are shown inside the group in which they are included (e.g. using
|
||||
# @ingroup) instead of on a separate page (for HTML and Man pages) or
|
||||
# section (for LaTeX and RTF).
|
||||
|
||||
INLINE_GROUPED_CLASSES = NO
|
||||
INLINE_SIMPLE_STRUCTS = YES
|
||||
TYPEDEF_HIDES_STRUCT = NO
|
||||
LOOKUP_CACHE_SIZE = 1
|
||||
LOOKUP_CACHE_SIZE = 9
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Build related configuration options
|
||||
@@ -48,405 +22,83 @@ LOOKUP_CACHE_SIZE = 1
|
||||
EXTRACT_ALL = YES
|
||||
EXTRACT_PRIVATE = YES
|
||||
EXTRACT_STATIC = YES
|
||||
EXTRACT_LOCAL_CLASSES = YES
|
||||
EXTRACT_LOCAL_METHODS = NO
|
||||
EXTRACT_ANON_NSPACES = NO
|
||||
HIDE_IN_BODY_DOCS = NO
|
||||
INTERNAL_DOCS = NO
|
||||
CASE_SENSE_NAMES = NO
|
||||
HIDE_SCOPE_NAMES = YES
|
||||
SHOW_INCLUDE_FILES = YES
|
||||
FORCE_LOCAL_INCLUDES = NO
|
||||
INLINE_INFO = NO
|
||||
SORT_MEMBER_DOCS = YES
|
||||
SORT_BRIEF_DOCS = YES
|
||||
SORT_MEMBERS_CTORS_1ST = YES
|
||||
SORT_GROUP_NAMES = NO
|
||||
SORT_BY_SCOPE_NAME = NO
|
||||
STRICT_PROTO_MATCHING = NO
|
||||
GENERATE_TODOLIST = YES
|
||||
GENERATE_TODOLIST = NO
|
||||
GENERATE_TESTLIST = NO
|
||||
GENERATE_BUGLIST = YES
|
||||
GENERATE_BUGLIST = NO
|
||||
GENERATE_DEPRECATEDLIST= YES
|
||||
MAX_INITIALIZER_LINES = 30
|
||||
SHOW_USED_FILES = NO
|
||||
SHOW_FILES = NO
|
||||
SHOW_NAMESPACES = YES
|
||||
SHOW_FILES = YES
|
||||
LAYOUT_FILE =
|
||||
EXTENSION_MAPPING = inl=C++
|
||||
BUILTIN_STL_SUPPORT = YES
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to warning and progress messages
|
||||
# Configuration options related to warning and progress messages
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
QUIET = YES
|
||||
WARNINGS = YES
|
||||
WARN_IF_DOC_ERROR = YES
|
||||
WARN_NO_PARAMDOC = YES
|
||||
WARN_FORMAT = "$file:$line: $text"
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the input files
|
||||
# Configuration options related to the input files
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
INPUT = src \
|
||||
include
|
||||
|
||||
INPUT_ENCODING = UTF-8
|
||||
FILE_PATTERNS = *.c \
|
||||
*.cpp \
|
||||
FILE_PATTERNS = *.cpp \
|
||||
*.h \
|
||||
*.inl
|
||||
|
||||
RECURSIVE = YES
|
||||
EXCLUDE =
|
||||
EXCLUDE_SYMLINKS = NO
|
||||
EXCLUDE_PATTERNS = /ext/* bin/* build/* config/* gui/* kernels/* openspace-data/* scripts/* shaders/*
|
||||
EXCLUDE_SYMBOLS =
|
||||
EXCLUDE_PATTERNS = ext/* bin/* build/* config/* gui/* kernels/* data/* scripts/* shaders/*
|
||||
USE_MDFILE_AS_MAINPAGE = README.md
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to source browsing
|
||||
# Configuration options related to source browsing
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
SOURCE_BROWSER = YES
|
||||
INLINE_SOURCES = NO
|
||||
STRIP_CODE_COMMENTS = YES
|
||||
REFERENCED_BY_RELATION = NO
|
||||
REFERENCES_RELATION = NO
|
||||
REFERENCES_LINK_SOURCE = YES
|
||||
VERBATIM_HEADERS = NO
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the alphabetical class index
|
||||
# Configuration options related to the HTML output
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
ALPHABETICAL_INDEX = YES
|
||||
COLS_IN_ALPHA_INDEX = 4
|
||||
IGNORE_PREFIX =
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the HTML output
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
GENERATE_HTML = YES
|
||||
HTML_OUTPUT = html
|
||||
HTML_FILE_EXTENSION = .html
|
||||
HTML_HEADER = support/doxygen/header.html
|
||||
HTML_FOOTER = support/doxygen/footer.html
|
||||
HTML_STYLESHEET = support/doxygen/stylesheet.css
|
||||
#HTML_EXTRA_FILES =
|
||||
HTML_COLORSTYLE_HUE = 200
|
||||
HTML_COLORSTYLE_SAT = 100
|
||||
HTML_COLORSTYLE_GAMMA = 80
|
||||
HTML_TIMESTAMP = NO
|
||||
HTML_DYNAMIC_SECTIONS = NO
|
||||
# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
|
||||
# for more information.
|
||||
GENERATE_DOCSET = NO
|
||||
DOCSET_FEEDNAME =
|
||||
DOCSET_BUNDLE_ID =
|
||||
DOCSET_PUBLISHER_ID =
|
||||
DOCSET_PUBLISHER_NAME =
|
||||
GENERATE_HTMLHELP = NO
|
||||
CHM_FILE =
|
||||
HHC_LOCATION =
|
||||
GENERATE_CHI = NO
|
||||
CHM_INDEX_ENCODING =
|
||||
BINARY_TOC = NO
|
||||
TOC_EXPAND = NO
|
||||
DISABLE_INDEX = YES
|
||||
HTML_COLORSTYLE_HUE = 225
|
||||
HTML_COLORSTYLE_SAT = 18
|
||||
HTML_COLORSTYLE_GAMMA = 100
|
||||
GENERATE_TREEVIEW = YES
|
||||
ENUM_VALUES_PER_LINE = 6
|
||||
TREEVIEW_WIDTH = 300
|
||||
EXT_LINKS_IN_WINDOW = NO
|
||||
FORMULA_FONTSIZE = 10
|
||||
FORMULA_TRANSPARENT = YES
|
||||
USE_MATHJAX = NO
|
||||
MATHJAX_RELPATH = http://www.mathjax.org/mathjax
|
||||
MATHJAX_EXTENSIONS =
|
||||
SEARCHENGINE = YES
|
||||
SERVER_BASED_SEARCH = NO
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the LaTeX output
|
||||
# Other output configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
GENERATE_LATEX = NO
|
||||
LATEX_OUTPUT = latex
|
||||
LATEX_CMD_NAME = latex
|
||||
MAKEINDEX_CMD_NAME = makeindex
|
||||
COMPACT_LATEX = NO
|
||||
PAPER_TYPE = a4wide
|
||||
EXTRA_PACKAGES =
|
||||
LATEX_HEADER =
|
||||
LATEX_FOOTER =
|
||||
PDF_HYPERLINKS = YES
|
||||
USE_PDFLATEX = YES
|
||||
LATEX_BATCHMODE = NO
|
||||
LATEX_HIDE_INDICES = NO
|
||||
LATEX_SOURCE_CODE = NO
|
||||
LATEX_BIB_STYLE = plain
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the RTF output
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
GENERATE_RTF = NO
|
||||
RTF_OUTPUT = rtf
|
||||
COMPACT_RTF = NO
|
||||
RTF_HYPERLINKS = NO
|
||||
RTF_STYLESHEET_FILE =
|
||||
RTF_EXTENSIONS_FILE =
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the man page output
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
GENERATE_MAN = NO
|
||||
MAN_OUTPUT = man
|
||||
MAN_EXTENSION = .3
|
||||
MAN_LINKS = NO
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the XML output
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
GENERATE_XML = NO
|
||||
XML_OUTPUT = xml
|
||||
XML_SCHEMA =
|
||||
XML_DTD =
|
||||
XML_PROGRAMLISTING = YES
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options for the AutoGen Definitions output
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
GENERATE_AUTOGEN_DEF = NO
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the Perl module output
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
GENERATE_PERLMOD = NO
|
||||
PERLMOD_LATEX = NO
|
||||
PERLMOD_PRETTY = YES
|
||||
PERLMOD_MAKEVAR_PREFIX =
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration options related to the preprocessor
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
ENABLE_PREPROCESSING = YES
|
||||
MACRO_EXPANSION = YES
|
||||
EXPAND_ONLY_PREDEF = YES
|
||||
SEARCH_INCLUDES = YES
|
||||
INCLUDE_PATH =
|
||||
INCLUDE_FILE_PATTERNS =
|
||||
PREDEFINED =
|
||||
EXPAND_AS_DEFINED = YES
|
||||
SKIP_FUNCTION_MACROS = NO
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration::additions related to external references
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
TAGFILES =
|
||||
GENERATE_TAGFILE =
|
||||
ALLEXTERNALS = NO
|
||||
EXTERNAL_GROUPS = YES
|
||||
PERL_PATH = /usr/bin/perl
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration options related to the dot tool
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
CLASS_DIAGRAMS = YES
|
||||
MSCGEN_PATH =
|
||||
HIDE_UNDOC_RELATIONS = YES
|
||||
|
||||
# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
|
||||
# available from the path. This tool is part of Graphviz, a graph visualization
|
||||
# toolkit from AT&T and Lucent Bell Labs. The other options in this section
|
||||
# have no effect if this option is set to NO (the default)
|
||||
|
||||
HAVE_DOT = NO
|
||||
|
||||
# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is
|
||||
# allowed to run in parallel. When set to 0 (the default) doxygen will
|
||||
# base this on the number of processors available in the system. You can set it
|
||||
# explicitly to a value larger than 0 to get control over the balance
|
||||
# between CPU load and processing speed.
|
||||
|
||||
DOT_NUM_THREADS = 0
|
||||
|
||||
# By default doxygen will use the Helvetica font for all dot files that
|
||||
# doxygen generates. When you want a differently looking font you can specify
|
||||
# the font name using DOT_FONTNAME. You need to make sure dot is able to find
|
||||
# the font, which can be done by putting it in a standard location or by setting
|
||||
# the DOTFONTPATH environment variable or by setting DOT_FONTPATH to the
|
||||
# directory containing the font.
|
||||
|
||||
DOT_FONTNAME = Helvetica
|
||||
|
||||
# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs.
|
||||
# The default size is 10pt.
|
||||
|
||||
DOT_FONTSIZE = 10
|
||||
|
||||
# By default doxygen will tell dot to use the Helvetica font.
|
||||
# If you specify a different font using DOT_FONTNAME you can use DOT_FONTPATH to
|
||||
# set the path where dot can find it.
|
||||
|
||||
DOT_FONTPATH =
|
||||
|
||||
# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
|
||||
# will generate a graph for each documented class showing the direct and
|
||||
# indirect inheritance relations. Setting this tag to YES will force the
|
||||
# CLASS_DIAGRAMS tag to NO.
|
||||
|
||||
CLASS_GRAPH = YES
|
||||
|
||||
# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
|
||||
# will generate a graph for each documented class showing the direct and
|
||||
# indirect implementation dependencies (inheritance, containment, and
|
||||
# class references variables) of the class with other documented classes.
|
||||
|
||||
COLLABORATION_GRAPH = YES
|
||||
|
||||
# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen
|
||||
# will generate a graph for groups, showing the direct groups dependencies
|
||||
|
||||
GROUP_GRAPHS = YES
|
||||
|
||||
# If the UML_LOOK tag is set to YES doxygen will generate inheritance and
|
||||
# collaboration diagrams in a style similar to the OMG's Unified Modeling
|
||||
# Language.
|
||||
|
||||
UML_LOOK = NO
|
||||
|
||||
# If set to YES, the inheritance and collaboration graphs will show the
|
||||
# relations between templates and their instances.
|
||||
|
||||
TEMPLATE_RELATIONS = NO
|
||||
|
||||
# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
|
||||
# tags are set to YES then doxygen will generate a graph for each documented
|
||||
# file showing the direct and indirect include dependencies of the file with
|
||||
# other documented files.
|
||||
|
||||
INCLUDE_GRAPH = YES
|
||||
|
||||
# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
|
||||
# HAVE_DOT tags are set to YES then doxygen will generate a graph for each
|
||||
# documented header file showing the documented files that directly or
|
||||
# indirectly include this file.
|
||||
|
||||
INCLUDED_BY_GRAPH = YES
|
||||
|
||||
# If the CALL_GRAPH and HAVE_DOT options are set to YES then
|
||||
# doxygen will generate a call dependency graph for every global function
|
||||
# or class method. Note that enabling this option will significantly increase
|
||||
# the time of a run. So in most cases it will be better to enable call graphs
|
||||
# for selected functions only using the \callgraph command.
|
||||
|
||||
CALL_GRAPH = NO
|
||||
|
||||
# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then
|
||||
# doxygen will generate a caller dependency graph for every global function
|
||||
# or class method. Note that enabling this option will significantly increase
|
||||
# the time of a run. So in most cases it will be better to enable caller
|
||||
# graphs for selected functions only using the \callergraph command.
|
||||
|
||||
CALLER_GRAPH = NO
|
||||
|
||||
# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
|
||||
# will generate a graphical hierarchy of all classes instead of a textual one.
|
||||
|
||||
GRAPHICAL_HIERARCHY = YES
|
||||
|
||||
# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES
|
||||
# then doxygen will show the dependencies a directory has on other directories
|
||||
# in a graphical way. The dependency relations are determined by the #include
|
||||
# relations between the files in the directories.
|
||||
|
||||
DIRECTORY_GRAPH = YES
|
||||
|
||||
# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
|
||||
# generated by dot. Possible values are svg, png, jpg, or gif.
|
||||
# If left blank png will be used. If you choose svg you need to set
|
||||
# HTML_FILE_EXTENSION to xhtml in order to make the SVG files
|
||||
# visible in IE 9+ (other browsers do not have this requirement).
|
||||
|
||||
DOT_IMAGE_FORMAT = png
|
||||
|
||||
# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
|
||||
# enable generation of interactive SVG images that allow zooming and panning.
|
||||
# Note that this requires a modern browser other than Internet Explorer.
|
||||
# Tested and working are Firefox, Chrome, Safari, and Opera. For IE 9+ you
|
||||
# need to set HTML_FILE_EXTENSION to xhtml in order to make the SVG files
|
||||
# visible. Older versions of IE do not have SVG support.
|
||||
|
||||
INTERACTIVE_SVG = NO
|
||||
|
||||
# The tag DOT_PATH can be used to specify the path where the dot tool can be
|
||||
# found. If left blank, it is assumed the dot tool can be found in the path.
|
||||
|
||||
DOT_PATH =
|
||||
|
||||
# The DOTFILE_DIRS tag can be used to specify one or more directories that
|
||||
# contain dot files that are included in the documentation (see the
|
||||
# \dotfile command).
|
||||
|
||||
DOTFILE_DIRS =
|
||||
|
||||
# The MSCFILE_DIRS tag can be used to specify one or more directories that
|
||||
# contain msc files that are included in the documentation (see the
|
||||
# \mscfile command).
|
||||
|
||||
MSCFILE_DIRS =
|
||||
|
||||
# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of
|
||||
# nodes that will be shown in the graph. If the number of nodes in a graph
|
||||
# becomes larger than this value, doxygen will truncate the graph, which is
|
||||
# visualized by representing a node as a red box. Note that doxygen if the
|
||||
# number of direct children of the root node in a graph is already larger than
|
||||
# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note
|
||||
# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
|
||||
|
||||
DOT_GRAPH_MAX_NODES = 50
|
||||
|
||||
# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the
|
||||
# graphs generated by dot. A depth value of 3 means that only nodes reachable
|
||||
# from the root by following a path via at most 3 edges will be shown. Nodes
|
||||
# that lay further from the root node will be omitted. Note that setting this
|
||||
# option to 1 or 2 may greatly reduce the computation time needed for large
|
||||
# code bases. Also note that the size of a graph can be further restricted by
|
||||
# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
|
||||
|
||||
MAX_DOT_GRAPH_DEPTH = 0
|
||||
|
||||
# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
|
||||
# background. This is disabled by default, because dot on Windows does not
|
||||
# seem to support this out of the box. Warning: Depending on the platform used,
|
||||
# enabling this option may lead to badly anti-aliased labels on the edges of
|
||||
# a graph (i.e. they become hard to read).
|
||||
|
||||
DOT_TRANSPARENT = NO
|
||||
|
||||
# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
|
||||
# files in one run (i.e. multiple -o and -T options on the command line). This
|
||||
# makes dot run faster, but since only newer versions of dot (>1.8.10)
|
||||
# support this, this feature is disabled by default.
|
||||
|
||||
DOT_MULTI_TARGETS = NO
|
||||
|
||||
# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
|
||||
# generate a legend page explaining the meaning of the various boxes and
|
||||
# arrows in the dot generated graphs.
|
||||
|
||||
GENERATE_LEGEND = YES
|
||||
|
||||
# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
|
||||
# remove the intermediate dot files that are used to generate
|
||||
# the various graphs.
|
||||
|
||||
DOT_CLEANUP = YES
|
||||
|
||||
@@ -44,8 +44,9 @@ set(HEADER_FILES
|
||||
${application_path}/syncwidget.h
|
||||
)
|
||||
|
||||
find_package(Qt5Widgets)
|
||||
find_package(Qt5Network)
|
||||
find_package(Qt5Core REQUIRED)
|
||||
find_package(Qt5Widgets REQUIRED)
|
||||
find_package(Qt5Network REQUIRED)
|
||||
|
||||
set(MOC_FILES "")
|
||||
qt5_wrap_cpp(MOC_FILES ${HEADER_FILES})
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
namespace {
|
||||
const QSize WindowSize = QSize(640, 480);
|
||||
|
||||
const QString NewsURL = "http://openspace.itn.liu.se/news.txt";
|
||||
const QString NewsURL = "http://openspaceproject.com/news.txt";
|
||||
|
||||
const std::string _configurationFile = "openspace.cfg";
|
||||
|
||||
|
||||
@@ -52,7 +52,6 @@
|
||||
#include <libtorrent/bencode.hpp>
|
||||
#include <libtorrent/session.hpp>
|
||||
#include <libtorrent/alert_types.hpp>
|
||||
#include <openspace/engine/openspaceengine.h>
|
||||
|
||||
#include <fstream>
|
||||
|
||||
@@ -131,8 +130,8 @@ SyncWidget::SyncWidget(QWidget* parent, Qt::WindowFlags f)
|
||||
setLayout(layout);
|
||||
|
||||
ghoul::initialize();
|
||||
//openspace::DownloadManager::initialize("http://openspace.itn.liu.se/data/request", DownloadApplicationVersion);
|
||||
|
||||
_downloadManager = std::make_unique<openspace::DownloadManager>(
|
||||
"http://data.openspaceproject.com/request", DownloadApplicationVersion);
|
||||
|
||||
libtorrent::error_code ec;
|
||||
_session->listen_on(std::make_pair(20280, 20290), ec);
|
||||
@@ -205,7 +204,7 @@ SyncWidget::~SyncWidget() {
|
||||
f.write(size.data.data(), sizeof(uint32_t));
|
||||
f.write(buffer.data(), buffer.size());
|
||||
|
||||
//openspace::DownloadManager::deinitialize();
|
||||
_downloadManager.reset();
|
||||
ghoul::deinitialize();
|
||||
delete _session;
|
||||
}
|
||||
@@ -256,7 +255,7 @@ void SyncWidget::handleDirectFiles() {
|
||||
for (const DirectFile& f : _directFiles) {
|
||||
LDEBUG(f.url.toStdString() << " -> " << f.destination.toStdString());
|
||||
|
||||
std::shared_ptr<openspace::DownloadManager::FileFuture> future = OsEng.downloadManager().downloadFile(
|
||||
std::shared_ptr<openspace::DownloadManager::FileFuture> future = _downloadManager->downloadFile(
|
||||
f.url.toStdString(),
|
||||
absPath("${SCENE}/" + f.module.toStdString() + "/" + f.destination.toStdString()),
|
||||
OverwriteFiles
|
||||
@@ -285,12 +284,12 @@ void SyncWidget::handleFileRequest() {
|
||||
std::string path = absPath(f.destination.toStdString());
|
||||
int version = f.version;
|
||||
|
||||
OsEng.downloadManager().downloadRequestFilesAsync(
|
||||
identifier,
|
||||
path,
|
||||
version,
|
||||
OverwriteFiles,
|
||||
std::bind(&SyncWidget::handleFileFutureAddition, this, std::placeholders::_1)
|
||||
_downloadManager->downloadRequestFilesAsync(
|
||||
identifier,
|
||||
path,
|
||||
version,
|
||||
OverwriteFiles,
|
||||
std::bind(&SyncWidget::handleFileFutureAddition, this, std::placeholders::_1)
|
||||
);
|
||||
|
||||
FileSys.setCurrentDirectory(d);
|
||||
@@ -370,13 +369,7 @@ void SyncWidget::syncButtonPressed() {
|
||||
LERROR("Could not find 'Modules'");
|
||||
return;
|
||||
}
|
||||
|
||||
struct ModuleInformation {
|
||||
QString moduleName;
|
||||
QString moduleDatafile;
|
||||
QString modulePath;
|
||||
};
|
||||
|
||||
|
||||
QDir sceneDir(scene);
|
||||
sceneDir.cdUp();
|
||||
QList<ModuleInformation> modulesList;
|
||||
@@ -528,7 +521,7 @@ void SyncWidget::syncButtonPressed() {
|
||||
//// Make the lists unique
|
||||
{
|
||||
auto equal = [](const DirectFile& lhs, const DirectFile& rhs) -> bool {
|
||||
return lhs.module == rhs.module && lhs.url == rhs.url && lhs.destination == rhs.destination;
|
||||
return lhs.module == rhs.module && lhs.url == rhs.url && lhs.destination == rhs.destination && lhs.baseDir == rhs.baseDir;
|
||||
};
|
||||
|
||||
QList<DirectFile> files;
|
||||
@@ -553,6 +546,7 @@ void SyncWidget::syncButtonPressed() {
|
||||
lhs.module == rhs.module &&
|
||||
lhs.identifier == rhs.identifier &&
|
||||
lhs.destination == rhs.destination &&
|
||||
lhs.baseDir == rhs.baseDir &&
|
||||
lhs.version == rhs.version;
|
||||
};
|
||||
|
||||
@@ -577,7 +571,8 @@ void SyncWidget::syncButtonPressed() {
|
||||
return
|
||||
lhs.module == rhs.module &&
|
||||
lhs.file == rhs.file &&
|
||||
lhs.destination == rhs.destination;
|
||||
lhs.destination == rhs.destination &&
|
||||
lhs.baseDir == rhs.baseDir;
|
||||
};
|
||||
|
||||
QList<TorrentFile> files;
|
||||
|
||||
@@ -83,6 +83,13 @@ private:
|
||||
QString baseDir;
|
||||
};
|
||||
|
||||
|
||||
struct ModuleInformation {
|
||||
QString moduleName;
|
||||
QString moduleDatafile;
|
||||
QString modulePath;
|
||||
};
|
||||
|
||||
void clear();
|
||||
QStringList selectedScenes() const;
|
||||
|
||||
@@ -109,6 +116,9 @@ private:
|
||||
|
||||
std::vector<std::shared_ptr<openspace::DownloadManager::FileFuture>> _futuresToAdd;
|
||||
std::atomic_flag _mutex;
|
||||
|
||||
std::unique_ptr<openspace::DownloadManager> _downloadManager;
|
||||
|
||||
};
|
||||
|
||||
#endif // __SYNCWIDGET_H__
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
#include <ghoul/misc/assert.h>
|
||||
#include <ghoul/opengl/ghoul_gl.h>
|
||||
|
||||
#include <thread>
|
||||
|
||||
#include <sgct.h>
|
||||
|
||||
sgct::Engine* _sgctEngine;
|
||||
@@ -130,6 +132,9 @@ int main(int argc, char** argv) {
|
||||
_sgctEngine->setExternalControlCallback(mainExternalControlCallback);
|
||||
_sgctEngine->setCharCallbackFunction(mainCharCallback);
|
||||
|
||||
// Disable the immediate exit of the application when the ESC key is pressed
|
||||
_sgctEngine->setExitKey(SGCT_KEY_UNKNOWN);
|
||||
|
||||
sgct::MessageHandler::instance()->setNotifyLevel(sgct::MessageHandler::NOTIFY_ALL);
|
||||
|
||||
// set encode and decode functions
|
||||
@@ -211,34 +216,97 @@ void mainInitFunc() {
|
||||
|
||||
}
|
||||
|
||||
void mainPreSyncFunc() {
|
||||
OsEng.setRunTime(sgct::Engine::getTime());
|
||||
OsEng.preSynchronization();
|
||||
struct FunctionLogKey {
|
||||
char begin, end;
|
||||
};
|
||||
|
||||
#include <sstream>
|
||||
|
||||
|
||||
std::stringstream& operator<<(std::stringstream& o, const FunctionLogKey& l) {
|
||||
o << l.begin << l.end;
|
||||
return o;
|
||||
}
|
||||
|
||||
|
||||
|
||||
const FunctionLogKey PRE_SYNC = { '1', '2' };
|
||||
const FunctionLogKey ENCODE = { 'E', 'e' };
|
||||
const FunctionLogKey DECODE = { 'D', 'd' };
|
||||
const FunctionLogKey POST_SYNC = { '3', '4' };
|
||||
const FunctionLogKey RENDER = { 'R', 'r' };
|
||||
const FunctionLogKey POST_DRAW = { 'P', 'p' };
|
||||
|
||||
std::stringstream minilog;
|
||||
std::stringstream masterlog;
|
||||
std::stringstream slavelog;
|
||||
|
||||
const std::string EXPECTED_MASTER_LOG = (masterlog << PRE_SYNC << ENCODE << POST_SYNC << RENDER << POST_DRAW).str();
|
||||
const std::string EXPECTED_SLAVE_LOG = (slavelog << PRE_SYNC << DECODE << POST_SYNC << RENDER << POST_DRAW).str();
|
||||
|
||||
#define LOG_BEGIN(x) minilog << (x).begin
|
||||
#define LOG_END(x) minilog << (x).end
|
||||
|
||||
|
||||
void mainPreSyncFunc() {
|
||||
LOG_BEGIN(PRE_SYNC);
|
||||
OsEng.setRunTime(sgct::Engine::getTime());
|
||||
OsEng.preSynchronization();
|
||||
LOG_END(PRE_SYNC);
|
||||
}
|
||||
|
||||
volatile bool busyWaitDecode = false;
|
||||
void mainPostSyncPreDrawFunc() {
|
||||
if (OsEng.useBusyWaitForDecode() && !sgct::Engine::instance()->isMaster()) {
|
||||
while (minilog.str().size() && minilog.str().back() != DECODE.end) {
|
||||
std::this_thread::sleep_for(std::chrono::microseconds(10));
|
||||
}
|
||||
}
|
||||
LOG_BEGIN(POST_SYNC);
|
||||
OsEng.postSynchronizationPreDraw();
|
||||
LOG_END(POST_SYNC);
|
||||
}
|
||||
|
||||
void mainRenderFunc() {
|
||||
LOG_BEGIN(RENDER);
|
||||
using glm::mat4;
|
||||
using glm::translate;
|
||||
//not the most efficient, but for clarity @JK
|
||||
|
||||
|
||||
mat4 userMatrix = translate(mat4(1.f), _sgctEngine->getDefaultUserPtr()->getPos());
|
||||
mat4 sceneMatrix = _sgctEngine->getModelMatrix();
|
||||
mat4 viewMatrix = _sgctEngine->getCurrentViewMatrix() * userMatrix;
|
||||
|
||||
|
||||
//dont shift nav-direction on master, makes it very tricky to navigate @JK
|
||||
if (!OsEng.ref().isMaster())
|
||||
viewMatrix = viewMatrix * sceneMatrix;
|
||||
|
||||
mat4 projectionMatrix = _sgctEngine->getCurrentProjectionMatrix();
|
||||
OsEng.render(projectionMatrix, viewMatrix);
|
||||
LOG_END(RENDER);
|
||||
}
|
||||
|
||||
void mainPostDrawFunc() {
|
||||
LOG_BEGIN(POST_DRAW);
|
||||
OsEng.postDraw();
|
||||
LOG_END(POST_DRAW);
|
||||
|
||||
if (OsEng.logSGCTOutOfOrderErrors()) {
|
||||
if (sgct::Engine::instance()->isMaster()) {
|
||||
if (minilog.str() != EXPECTED_MASTER_LOG) {
|
||||
LERRORC("Minilog", "Bad combination: " << minilog.str());
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (minilog.str() != EXPECTED_SLAVE_LOG) {
|
||||
LERRORC("Minilog", "Bad combination: " << minilog.str());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// clear
|
||||
minilog.str(std::string());
|
||||
}
|
||||
|
||||
void mainExternalControlCallback(const char* receivedChars, int size) {
|
||||
@@ -252,7 +320,7 @@ void mainKeyboardCallback(int key, int, int action, int mods) {
|
||||
openspace::Key(key),
|
||||
openspace::KeyModifier(mods),
|
||||
openspace::KeyAction(action)
|
||||
);
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -261,7 +329,7 @@ void mainMouseButtonCallback(int key, int action) {
|
||||
OsEng.mouseButtonCallback(
|
||||
openspace::MouseButton(key),
|
||||
openspace::MouseAction(action)
|
||||
);
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -281,11 +349,16 @@ void mainCharCallback(unsigned int codepoint, int mods) {
|
||||
}
|
||||
|
||||
void mainEncodeFun() {
|
||||
LOG_BEGIN(ENCODE);
|
||||
OsEng.encode();
|
||||
LOG_END(ENCODE);
|
||||
}
|
||||
|
||||
void mainDecodeFun() {
|
||||
LOG_BEGIN(DECODE);
|
||||
OsEng.decode();
|
||||
LOG_END(DECODE);
|
||||
|
||||
}
|
||||
|
||||
void mainLogCallback(const char* msg) {
|
||||
|
||||
@@ -1,82 +1,82 @@
|
||||
<?xml version="1.0" ?>
|
||||
<Cluster masterAddress="127.0.0.1" externalControlPort="20500">
|
||||
<Node address="127.0.0.1" port="20400">
|
||||
<Window fullScreen="false">
|
||||
<Stereo type="none" />
|
||||
<Pos x="0" y="100" />
|
||||
<Size x="910" y="263" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="-3.34533" y="-0.965" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="-3.34533" y="0.965" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="3.34533" y="0.965" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<Node address="127.0.0.2" port="20401">
|
||||
<Window fullScreen="false">
|
||||
<Stereo type="none" />
|
||||
<Size x="400" y="300" />
|
||||
<Pos x="0" y="400" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="-3.34533" y="-0.965" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="-3.34533" y="0.965" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="-0.772" y="0.965" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<Node address="127.0.0.3" port="20402">
|
||||
<Window fullScreen="false">
|
||||
<Stereo type="none" />
|
||||
<Size x="400" y="300" />
|
||||
<Pos x="400" y="400" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="-1.286667" y="-0.965" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="-1.286667" y="0.965" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="1.286667" y="0.965" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<Node address="127.0.0.4" port="20403">
|
||||
<Window fullScreen="false">
|
||||
<Stereo type="none" />
|
||||
<Size x="400" y="300" />
|
||||
<Pos x="800" y="400" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="0.772" y="-0.965" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="0.772" y="0.965" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="3.34533" y="0.965" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<User eyeSeparation="0.065">
|
||||
<Pos x="0.0" y="-0.065" z="4.0" />
|
||||
</User>
|
||||
<Node address="127.0.0.1" port="20400">
|
||||
<Window fullScreen="false">
|
||||
<Stereo type="none" />
|
||||
<Pos x="0" y="100" />
|
||||
<Size x="910" y="263" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="-3.34533" y="-0.965" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="-3.34533" y="0.965" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="3.34533" y="0.965" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<Node address="127.0.0.2" port="20401">
|
||||
<Window fullScreen="false">
|
||||
<Stereo type="none" />
|
||||
<Size x="400" y="300" />
|
||||
<Pos x="0" y="400" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="-3.34533" y="-0.965" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="-3.34533" y="0.965" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="-0.772" y="0.965" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<Node address="127.0.0.3" port="20402">
|
||||
<Window fullScreen="false">
|
||||
<Stereo type="none" />
|
||||
<Size x="400" y="300" />
|
||||
<Pos x="400" y="400" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="-1.286667" y="-0.965" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="-1.286667" y="0.965" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="1.286667" y="0.965" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<Node address="127.0.0.4" port="20403">
|
||||
<Window fullScreen="false">
|
||||
<Stereo type="none" />
|
||||
<Size x="400" y="300" />
|
||||
<Pos x="800" y="400" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="0.772" y="-0.965" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="0.772" y="0.965" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="3.34533" y="0.965" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<User eyeSeparation="0.065">
|
||||
<Pos x="0.0" y="-0.065" z="4.0" />
|
||||
</User>
|
||||
</Cluster>
|
||||
@@ -1,24 +1,24 @@
|
||||
<?xml version="1.0" ?>
|
||||
<Cluster masterAddress="localhost" externalControlPort="20500">
|
||||
<Settings>
|
||||
<Display swapInterval="0" />
|
||||
</Settings>
|
||||
<Node address="localhost" port="20401">
|
||||
<Window fullScreen="false" fxaa="false" numberOfSamples="8" name="OpenSpace">
|
||||
<Stereo type="none" />
|
||||
<Size x="1280" y="720" />
|
||||
<Settings>
|
||||
<Display swapInterval="0" />
|
||||
</Settings>
|
||||
<Node address="localhost" port="20401">
|
||||
<Window fullScreen="false" fxaa="false" numberOfSamples="8" name="OpenSpace">
|
||||
<Stereo type="none" />
|
||||
<Size x="1280" y="720" />
|
||||
<Pos x="50" y="50" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<PlanarProjection>
|
||||
<FOV down="16.875" left="30.0" right="30.0" up="16.875" />
|
||||
<Orientation heading="0.0" pitch="0.0" roll="0.0" />
|
||||
</PlanarProjection>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<User eyeSeparation="0.065">
|
||||
<Pos x="0.0" y="0.0" z="0.0" />
|
||||
</User>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<User eyeSeparation="0.065">
|
||||
<Pos x="0.0" y="0.0" z="0.0" />
|
||||
</User>
|
||||
</Cluster>
|
||||
|
||||
25
config/sgct/single_4k.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" ?>
|
||||
<Cluster masterAddress="localhost" externalControlPort="20500">
|
||||
<Settings>
|
||||
<Display swapInterval="0" />
|
||||
</Settings>
|
||||
<Node address="localhost" port="20401">
|
||||
<Window fullScreen="false" fxaa="false" numberOfSamples="8" name="OpenSpace">
|
||||
<Stereo type="none" />
|
||||
<Size x="1280" y="720" />
|
||||
<Res x="3840" y="2160" />
|
||||
<Pos x="50" y="50" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<PlanarProjection>
|
||||
<FOV down="16.875" left="30.0" right="30.0" up="16.875" />
|
||||
<Orientation heading="0.0" pitch="0.0" roll="0.0" />
|
||||
</PlanarProjection>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<User eyeSeparation="0.065">
|
||||
<Pos x="0.0" y="0.0" z="0.0" />
|
||||
</User>
|
||||
</Cluster>
|
||||
@@ -1,37 +1,37 @@
|
||||
<?xml version="1.0" ?>
|
||||
<Cluster masterAddress="localhost">
|
||||
<!-- <Scene>
|
||||
<Orientation yaw="0.0" pitch="-27.0" roll="0.0" />
|
||||
<Offset x="0.0" y="0.0" z="0.0" />
|
||||
<Scale value="1.0" />
|
||||
</Scene> -->
|
||||
<Node address="localhost" port="20401">
|
||||
<Window fullScreen="false" numberOfSamples="8" name="OpenSpace">
|
||||
<Stereo type="none" />
|
||||
<!-- 16:9 aspect ratio -->
|
||||
<Size x="1024" y="1024" />
|
||||
<!-- Frame buffer resolution
|
||||
<Res x="4096" y="4096" /> -->
|
||||
<!--
|
||||
quality options (cubemap size):
|
||||
- low (256)
|
||||
- medium (512)
|
||||
- high/1k (1024)
|
||||
- 2k (2048)
|
||||
- 4k (4096)
|
||||
- 8k (8192)
|
||||
tilt specifies the dome tilt angle in degrees from the horizontal
|
||||
-->
|
||||
<Viewport name="fisheye">
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<FisheyeProjection fov="180" quality="1k" tilt="27.0">
|
||||
<Background r="0.1" g="0.1" b="0.1" a="1.0" />
|
||||
</FisheyeProjection>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<User eyeSeparation="0.06">
|
||||
<Pos x="0.0" y="0.0" z="0.0" />
|
||||
</User>
|
||||
<!-- <Scene>
|
||||
<Orientation yaw="0.0" pitch="-27.0" roll="0.0" />
|
||||
<Offset x="0.0" y="0.0" z="0.0" />
|
||||
<Scale value="1.0" />
|
||||
</Scene> -->
|
||||
<Node address="localhost" port="20401">
|
||||
<Window fullScreen="false" numberOfSamples="8" name="OpenSpace">
|
||||
<Stereo type="none" />
|
||||
<!-- 16:9 aspect ratio -->
|
||||
<Size x="1024" y="1024" />
|
||||
<!-- Frame buffer resolution
|
||||
<Res x="4096" y="4096" /> -->
|
||||
<!--
|
||||
quality options (cubemap size):
|
||||
- low (256)
|
||||
- medium (512)
|
||||
- high/1k (1024)
|
||||
- 2k (2048)
|
||||
- 4k (4096)
|
||||
- 8k (8192)
|
||||
tilt specifies the dome tilt angle in degrees from the horizontal
|
||||
-->
|
||||
<Viewport name="fisheye">
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<FisheyeProjection fov="180" quality="1k" tilt="27.0">
|
||||
<Background r="0.1" g="0.1" b="0.1" a="1.0" />
|
||||
</FisheyeProjection>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<User eyeSeparation="0.06">
|
||||
<Pos x="0.0" y="0.0" z="0.0" />
|
||||
</User>
|
||||
</Cluster>
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
<?xml version="1.0" ?>
|
||||
<Cluster masterAddress="localhost" externalControlPort="20500">
|
||||
<Settings>
|
||||
<Display swapInterval="0" />
|
||||
</Settings>
|
||||
<Node address="localhost" port="20401">
|
||||
<Window fullScreen="false" fxaa="false" numberOfSamples="8" name="OpenSpace">
|
||||
<Stereo type="none" />
|
||||
<Size x="1280" y="720" />
|
||||
<Settings>
|
||||
<Display swapInterval="0" />
|
||||
</Settings>
|
||||
<Node address="localhost" port="20401">
|
||||
<Window fullScreen="false" fxaa="false" numberOfSamples="8" name="OpenSpace">
|
||||
<Stereo type="none" />
|
||||
<Size x="1280" y="720" />
|
||||
<Pos x="50" y="50" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<PlanarProjection>
|
||||
<FOV down="16.875" left="30.0" right="30.0" up="16.875" />
|
||||
<Orientation heading="0.0" pitch="0.0" roll="0.0" />
|
||||
</PlanarProjection>
|
||||
</Viewport>
|
||||
</Window>
|
||||
<Window fullScreen="false" fxaa="false" numberOfSamples="8" name="GUI">
|
||||
<Stereo type="none" />
|
||||
<Size x="1280" y="720" />
|
||||
</Viewport>
|
||||
</Window>
|
||||
<Window fullScreen="false" fxaa="false" numberOfSamples="8" name="GUI">
|
||||
<Stereo type="none" />
|
||||
<Size x="1280" y="720" />
|
||||
<Pos x="50" y="50" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<PlanarProjection>
|
||||
<FOV down="16.875" left="30.0" right="30.0" up="16.875" />
|
||||
<Orientation heading="0.0" pitch="0.0" roll="0.0" />
|
||||
</PlanarProjection>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<User eyeSeparation="0.065">
|
||||
<Pos x="0.0" y="0.0" z="0.0" />
|
||||
</User>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<User eyeSeparation="0.065">
|
||||
<Pos x="0.0" y="0.0" z="0.0" />
|
||||
</User>
|
||||
</Cluster>
|
||||
|
||||
@@ -1,39 +1,21 @@
|
||||
<?xml version="1.0" ?>
|
||||
<Cluster masterAddress="127.0.0.1">
|
||||
<Node address="127.0.0.1" port="20401">
|
||||
<Window fullScreen="false">
|
||||
<Stereo type="side_by_side" />
|
||||
<!-- <Stereo type="side_by_side_inverted" /> -->
|
||||
<Pos x="200" y="300" />
|
||||
<!-- 16:9 aspect ratio -->
|
||||
<Size x="1280" y="360" />
|
||||
<Viewport eye="left">
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="0.5" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="-1.778" y="-1.0" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="-1.778" y="1.0" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="1.778" y="1.0" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
<Viewport eye="right">
|
||||
<Pos x="0.5" y="0.0" />
|
||||
<Size x="0.5" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="-1.778" y="-1.0" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="-1.778" y="1.0" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="1.778" y="1.0" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<User eyeSeparation="0.065">
|
||||
<Pos x="0.0" y="0.0" z="4.0" />
|
||||
</User>
|
||||
<Cluster masterAddress="localhost">
|
||||
<Node address="localhost" port="20401">
|
||||
<Window fullScreen="false" numberOfSamples="8" name="OpenSpace">
|
||||
<Stereo type="side_by_side" />
|
||||
<!-- 16:9 aspect ratio -->
|
||||
<Size x="3840" y="1080" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<PlanarProjection>
|
||||
<FOV down="16.875" left="30.0" right="30.0" up="16.875" />
|
||||
<Orientation heading="0.0" pitch="0.0" roll="0.0" />
|
||||
</PlanarProjection>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<User eyeSeparation="0.065">
|
||||
<Pos x="0.0" y="0.0" z="4.0" />
|
||||
</User>
|
||||
</Cluster>
|
||||
@@ -1,25 +1,25 @@
|
||||
<?xml version="1.0" ?>
|
||||
<Cluster masterAddress="localhost">
|
||||
<Node address="localhost" port="20401">
|
||||
<Window fullScreen="false" numberOfSamples="8" name="OpenSpace">
|
||||
<Stereo type="test" />
|
||||
<!-- 16:9 aspect ratio -->
|
||||
<Size x="640" y="360" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="-1.778" y="-1.0" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="-1.778" y="1.0" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="1.778" y="1.0" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<User eyeSeparation="0.065">
|
||||
<Pos x="0.0" y="0.0" z="4.0" />
|
||||
</User>
|
||||
<Node address="localhost" port="20401">
|
||||
<Window fullScreen="false" numberOfSamples="8" name="OpenSpace">
|
||||
<Stereo type="test" />
|
||||
<!-- 16:9 aspect ratio -->
|
||||
<Size x="640" y="360" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="-1.778" y="-1.0" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="-1.778" y="1.0" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="1.778" y="1.0" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<User eyeSeparation="0.065">
|
||||
<Pos x="0.0" y="0.0" z="4.0" />
|
||||
</User>
|
||||
</Cluster>
|
||||
@@ -1,40 +1,40 @@
|
||||
<?xml version="1.0" ?>
|
||||
<Cluster masterAddress="127.0.0.1">
|
||||
<Node address="127.0.0.1" port="20401">
|
||||
<Window fullScreen="false" numberOfSamples="8" border="true">
|
||||
<Pos x="10" y="100" />
|
||||
<Size x="320" y="480" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="-1.778" y="-1.0" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="-1.778" y="1.0" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="0.0" y="1.0" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
<Window fullScreen="false" numberOfSamples="8" border="false">
|
||||
<Pos x="340" y="100" />
|
||||
<Size x="320" y="480" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="0.0" y="-1.0" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="0.0" y="1.0" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="1.778" y="1.0" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<User eyeSeparation="0.065">
|
||||
<Pos x="0.0" y="0.0" z="4.0" />
|
||||
</User>
|
||||
<Node address="127.0.0.1" port="20401">
|
||||
<Window fullScreen="false" numberOfSamples="8" border="true">
|
||||
<Pos x="10" y="100" />
|
||||
<Size x="320" y="480" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="-1.778" y="-1.0" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="-1.778" y="1.0" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="0.0" y="1.0" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
<Window fullScreen="false" numberOfSamples="8" border="false">
|
||||
<Pos x="340" y="100" />
|
||||
<Size x="320" y="480" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="0.0" y="-1.0" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="0.0" y="1.0" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="1.778" y="1.0" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<User eyeSeparation="0.065">
|
||||
<Pos x="0.0" y="0.0" z="4.0" />
|
||||
</User>
|
||||
</Cluster>
|
||||
@@ -1,44 +1,44 @@
|
||||
<?xml version="1.0" ?>
|
||||
<Cluster masterAddress="127.0.0.1">
|
||||
<Node address="127.0.0.1" port="20401">
|
||||
<Window fullScreen="false">
|
||||
<Pos x="0" y="300" />
|
||||
<!-- 16:9 aspect ratio -->
|
||||
<Size x="640" y="360" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="-1.778" y="-1.0" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="-1.778" y="1.0" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="1.778" y="1.0" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<Node address="127.0.0.2" port="20402">
|
||||
<Window fullScreen="false">
|
||||
<Pos x="640" y="300" />
|
||||
<!-- 16:9 aspect ratio -->
|
||||
<Size x="640" y="360" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="-1.778" y="-1.0" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="-1.778" y="1.0" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="1.778" y="1.0" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<User eyeSeparation="0.065">
|
||||
<Pos x="0.0" y="0.0" z="4.0" />
|
||||
</User>
|
||||
<Node address="127.0.0.1" port="20401">
|
||||
<Window fullScreen="false">
|
||||
<Pos x="0" y="300" />
|
||||
<!-- 16:9 aspect ratio -->
|
||||
<Size x="640" y="360" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="-1.778" y="-1.0" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="-1.778" y="1.0" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="1.778" y="1.0" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<Node address="127.0.0.2" port="20402">
|
||||
<Window fullScreen="false">
|
||||
<Pos x="640" y="300" />
|
||||
<!-- 16:9 aspect ratio -->
|
||||
<Size x="640" y="360" />
|
||||
<Viewport>
|
||||
<Pos x="0.0" y="0.0" />
|
||||
<Size x="1.0" y="1.0" />
|
||||
<Viewplane>
|
||||
<!-- Lower left -->
|
||||
<Pos x="-1.778" y="-1.0" z="0.0" />
|
||||
<!-- Upper left -->
|
||||
<Pos x="-1.778" y="1.0" z="0.0" />
|
||||
<!-- Upper right -->
|
||||
<Pos x="1.778" y="1.0" z="0.0" />
|
||||
</Viewplane>
|
||||
</Viewport>
|
||||
</Window>
|
||||
</Node>
|
||||
<User eyeSeparation="0.065">
|
||||
<Pos x="0.0" y="0.0" z="4.0" />
|
||||
</User>
|
||||
</Cluster>
|
||||
@@ -6,6 +6,9 @@ function preInitialization()
|
||||
critical objects.
|
||||
]]--
|
||||
|
||||
openspace.spice.loadKernel("${SPICE}/naif0011.tls")
|
||||
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
|
||||
|
||||
openspace.time.setTime(openspace.time.currentWallTime())
|
||||
dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
|
||||
end
|
||||
|
||||
@@ -4,15 +4,14 @@ return {
|
||||
Name = "EarthBarycenter",
|
||||
Parent = "SolarSystemBarycenter",
|
||||
Static = true,
|
||||
Ephemeris = {
|
||||
Type = "Spice",
|
||||
Body = "EARTH BARYCENTER",
|
||||
Reference = "ECLIPJ2000",
|
||||
Observer = "SUN",
|
||||
Kernels = {
|
||||
"${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
||||
}
|
||||
},
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "Spice",
|
||||
Body = "EARTH BARYCENTER",
|
||||
Observer = "SUN",
|
||||
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
||||
},
|
||||
}
|
||||
},
|
||||
-- Earth module
|
||||
{
|
||||
@@ -101,9 +100,7 @@ return {
|
||||
-- G = 0.65,
|
||||
-- },
|
||||
}
|
||||
},
|
||||
|
||||
GuiName = "/Solar/Planets/Earth"
|
||||
}
|
||||
},
|
||||
-- EarthTrail module
|
||||
{
|
||||
@@ -118,8 +115,7 @@ return {
|
||||
TropicalOrbitPeriod = 365.242,
|
||||
EarthOrbitRatio = 1,
|
||||
DayLength = 24
|
||||
},
|
||||
GuiName = "/Solar/EarthTrail"
|
||||
}
|
||||
},
|
||||
{
|
||||
Name = "EarthMarker",
|
||||
@@ -129,7 +125,8 @@ return {
|
||||
Size = {3.0, 11.0},
|
||||
Origin = "Center",
|
||||
Billboard = true,
|
||||
Texture = "textures/marker.png"
|
||||
Texture = "textures/marker.png",
|
||||
BlendMode = "Additive"
|
||||
},
|
||||
Ephemeris = {
|
||||
Type = "Static",
|
||||
|
||||
@@ -57,8 +57,6 @@ return {
|
||||
TransferFunctionName = "BatsrusPTF",
|
||||
TransferFunction = "transferfunctions/p.txt",
|
||||
Sampler = "psampler.glsl",
|
||||
},
|
||||
GuiName = "/Volumes/Volume"
|
||||
}
|
||||
}
|
||||
--]]
|
||||
}
|
||||
@@ -2,10 +2,6 @@ return {
|
||||
-- Solar System module
|
||||
{
|
||||
Name = "SolarSystem",
|
||||
Parent = "Root",
|
||||
Ephemeris = {
|
||||
Type = "Static",
|
||||
Position = { 0, 0, 0, 0}
|
||||
}
|
||||
Parent = "Root"
|
||||
},
|
||||
}
|
||||
@@ -8,9 +8,6 @@ return {
|
||||
File = "${OPENSPACE_DATA}/scene/constellationbounds/data/bound_20.dat",
|
||||
ConstellationFile = "${OPENSPACE_DATA}/scene/constellationbounds/data/constellations.dat",
|
||||
ReferenceFrame = "J2000"
|
||||
},
|
||||
Ephemeris = {
|
||||
Type = "Static"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -6,6 +6,9 @@ function preInitialization()
|
||||
critical objects.
|
||||
]]--
|
||||
|
||||
openspace.spice.loadKernel("${SPICE}/naif0011.tls")
|
||||
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
|
||||
|
||||
openspace.time.setTime("2011 AUG 06 00:00:00")
|
||||
dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
|
||||
end
|
||||
|
||||
@@ -23,7 +23,6 @@ return {
|
||||
Ephemeris = {
|
||||
Type = "Spice",
|
||||
Body = "CERES",
|
||||
Reference = "GALACTIC",
|
||||
Observer = "SUN",
|
||||
Kernels = {
|
||||
"${OPENSPACE_DATA}/spice/DawnKernels/pck/dawn_ceres_v01.tpc",
|
||||
@@ -35,9 +34,7 @@ return {
|
||||
Type = "Spice",
|
||||
Frame = "IAU_CERES",
|
||||
Reference = "GALACTIC"
|
||||
},
|
||||
|
||||
GuiName = "/Solar/Ceres"
|
||||
}
|
||||
},
|
||||
--[[ Ceres Trail Module
|
||||
{
|
||||
@@ -62,8 +59,7 @@ return {
|
||||
},
|
||||
StartTime = "2010 JAN 01T00:00:00",
|
||||
EndTime = "2018 JAN 22 12:00:00"
|
||||
},
|
||||
GuiName = "/Solar/CeresTrail"
|
||||
}
|
||||
}
|
||||
--]]
|
||||
}
|
||||
@@ -25,7 +25,6 @@ return {
|
||||
Ephemeris = {
|
||||
Type = "Spice",
|
||||
Body = "DAWN",
|
||||
Reference = "GALACTIC",
|
||||
Observer = "SUN",
|
||||
Kernels = {
|
||||
"${OPENSPACE_DATA}/spice/DawnKernels/spk/dawn_ref_070926-150201_070829.bsp",
|
||||
@@ -621,8 +620,7 @@ return {
|
||||
"${OPENSPACE_DATA}/spice/DawnKernels/ck/dawn_sa_120903_120909.bc",
|
||||
"${OPENSPACE_DATA}/spice/DawnKernels/ck/dawn_sa_120910_120916.bc",
|
||||
}
|
||||
},
|
||||
GuiName = "/Solar/Dawn"
|
||||
}
|
||||
},
|
||||
|
||||
-- Dawn Solar Array module 1
|
||||
@@ -719,7 +717,6 @@ return {
|
||||
StartTime = "2007 SEP 26 13:28:00",
|
||||
EndTime = "2012 SEP 12 12:00:00"
|
||||
},
|
||||
GuiName = "DawnTrail"
|
||||
},
|
||||
--
|
||||
-- -- Dawn Trail Module
|
||||
@@ -771,7 +768,6 @@ return {
|
||||
"CERES"
|
||||
}
|
||||
},
|
||||
GuiName = "/Solar/Dawn_FC1"
|
||||
},
|
||||
|
||||
-- DawnFov 1
|
||||
@@ -798,6 +794,5 @@ return {
|
||||
"CERES"
|
||||
}
|
||||
},
|
||||
GuiName = "/Solar/Dawn_FC"
|
||||
},
|
||||
}
|
||||
|
||||
@@ -88,16 +88,12 @@ return {
|
||||
Ephemeris = {
|
||||
Type = "Spice",
|
||||
Body = "VESTA",
|
||||
Reference = "GALACTIC",
|
||||
Observer = "SUN",
|
||||
Kernels = {
|
||||
--"${OPENSPACE_DATA}/spice/DAWN_KERNELS/pck/dawn_vesta_v06.tpc",
|
||||
"${OPENSPACE_DATA}/spice/DawnKernels/spk/sb_vesta_071107.bsp",
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
GuiName = "/Solar/Vesta"
|
||||
}
|
||||
},
|
||||
-- Vesta Trail Module
|
||||
{
|
||||
@@ -122,7 +118,6 @@ return {
|
||||
},
|
||||
StartTime = "2007 JUL 20 12:00:00",
|
||||
EndTime = "2018 JAN 22 12:00:00"
|
||||
},
|
||||
GuiName = "/Solar/VestaTrail"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,40 +2,33 @@ return {
|
||||
-- Earth barycenter module
|
||||
{
|
||||
Name = "EarthBarycenter",
|
||||
Parent = "Root",
|
||||
Parent = "SolarSystemBarycenter",
|
||||
Static = true,
|
||||
--[[
|
||||
Ephemeris = {
|
||||
Type = "Kepler",
|
||||
Inclination = 0.00041,
|
||||
AscendingNode = 349.2,
|
||||
Perihelion = 102.8517,
|
||||
SemiMajorAxis = 1.00002,
|
||||
DailyMotion = 0.9855796,
|
||||
Eccentricity = 0.0166967,
|
||||
MeanLongitude = 328.40353
|
||||
}
|
||||
--]]
|
||||
Ephemeris = {
|
||||
Type = "Static"
|
||||
}
|
||||
Type = "Spice",
|
||||
Body = "EARTH BARYCENTER",
|
||||
Observer = "SUN",
|
||||
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
||||
},
|
||||
},
|
||||
-- RenderableGlobe module
|
||||
{
|
||||
Name = "DebugGlobe",
|
||||
Parent = "Root",
|
||||
Parent = "EarthBarycenter",
|
||||
Renderable = {
|
||||
Type = "RenderableGlobe",
|
||||
Frame = "IAU_EARTH",
|
||||
Body = "EARTH",
|
||||
--Radii = {6378137.0, 6378137.0, 6356752.314245}, -- Earth's radii
|
||||
--Radii = {1738100, 1738100, 1736000}, -- Moon's radii
|
||||
Radii = {3396190.0, 3396190.0, 3376200.0}, -- Mars' radii
|
||||
--Radii = {2439700.0, 2439700.0, 2439700.0},
|
||||
CameraMinHeight = 1000,
|
||||
InteractionDepthBelowEllipsoid = 10000, -- Useful when having negative height map values
|
||||
SegmentsPerPatch = 90,
|
||||
TextureInitData = {
|
||||
ColorTextureMinimumSize = 512,
|
||||
OverlayMinimumSize = 2048,
|
||||
OverlayMinimumSize = 512,
|
||||
HeightMapMinimumSize = 64,
|
||||
},
|
||||
Textures = {
|
||||
@@ -43,7 +36,7 @@ return {
|
||||
{
|
||||
Type = "Temporal",
|
||||
Name = "Temporal VIIRS SNPP",
|
||||
FilePath = "map_service_configs/Temporal_VIIRS_SNPP_CorrectedReflectance_TrueColor.xml",
|
||||
FilePath = "map_service_configs/earth/Temporal_VIIRS_SNPP_CorrectedReflectance_TrueColor.xml",
|
||||
},
|
||||
{
|
||||
Type = "SingleImage",
|
||||
@@ -53,86 +46,133 @@ return {
|
||||
--[[{
|
||||
Type = "Temporal",
|
||||
Name = "Temporal MODIS Aqua CorrectedRecflectance TrueColor",
|
||||
FilePath = "map_service_configs/Temporal_MODIS_Aqua_CorrectedReflectance_TrueColor.xml",
|
||||
},]]
|
||||
{
|
||||
Name = "MODIS_Terra_CorrectedReflectance_TrueColor",
|
||||
FilePath = "map_service_configs/MODIS_Terra_CorrectedReflectance_TrueColor.xml",
|
||||
FilePath = "map_service_configs/earth/Temporal_MODIS_Aqua_CorrectedReflectance_TrueColor.xml",
|
||||
},
|
||||
{
|
||||
Name = "MODIS_Terra_CorrectedReflectance_TrueColor",
|
||||
FilePath = "map_service_configs/earth/MODIS_Terra_CorrectedReflectance_TrueColor.xml",
|
||||
},]]
|
||||
|
||||
{
|
||||
Name = "ESRI Imagery World 2D",
|
||||
FilePath = "map_service_configs/ESRI_Imagery_World_2D.wms",
|
||||
FilePath = "map_service_configs/earth/ESRI_Imagery_World_2D.wms",
|
||||
--Enabled = true,
|
||||
},
|
||||
{
|
||||
Name = "MARS_Viking_MDIM21",
|
||||
FilePath = "map_service_configs/MARS_Viking_MDIM21.xml",
|
||||
FilePath = "map_service_configs/mars/MARS_Viking_MDIM21.xml",
|
||||
Enabled = true,
|
||||
},
|
||||
--[[
|
||||
{
|
||||
Name = "Mars Viking Clr",
|
||||
FilePath = "textures/Mars_Viking_ClrMosaic_global_925m_longlat_full.vrt",
|
||||
Enabled = true,
|
||||
},
|
||||
{
|
||||
Name = "On Mercury Color",
|
||||
FilePath = "map_service_configs/mercury/OnMercuryColor.xml",
|
||||
},
|
||||
{
|
||||
Name = "On Mercury Image",
|
||||
FilePath = "map_service_configs/mercury/OnMercuryImage.xml",
|
||||
},
|
||||
]]
|
||||
},
|
||||
GrayScaleOverlays = {
|
||||
--[[ {
|
||||
{
|
||||
Name = "CTX Mosaic",
|
||||
FilePath = "map_service_configs/CTX_Mosaic.xml",
|
||||
Enabled = true,
|
||||
},]]---
|
||||
FilePath = "map_service_configs/mars/CTX_Mosaic.xml",
|
||||
Enabled = false,
|
||||
},
|
||||
|
||||
--[[
|
||||
{
|
||||
Name = "On Moon Color",
|
||||
FilePath = "map_service_configs/moon/OnMoonColor.xml",
|
||||
--Enabled = true,
|
||||
}]]
|
||||
|
||||
},
|
||||
NightTextures = {
|
||||
{
|
||||
Name = "Earth at Night 2012",
|
||||
FilePath = "map_service_configs/VIIRS_CityLights_2012.xml",
|
||||
FilePath = "map_service_configs/earth/VIIRS_CityLights_2012.xml",
|
||||
},
|
||||
},
|
||||
HeightMaps = {
|
||||
{
|
||||
Name = "Terrain tileset",
|
||||
FilePath = "map_service_configs/TERRAIN.wms",
|
||||
},
|
||||
--[[{
|
||||
Name = "Mola Elevation",
|
||||
FilePath = "map_service_configs/Mola_Elevation.xml",
|
||||
Enabled = true,
|
||||
},]]--
|
||||
},
|
||||
WaterMasks = {
|
||||
{
|
||||
Name = "MODIS_Water_Mask",
|
||||
FilePath = "map_service_configs/MODIS_Water_Mask.xml",
|
||||
FilePath = "map_service_configs/earth/MODIS_Water_Mask.xml",
|
||||
},
|
||||
},
|
||||
Overlays = {
|
||||
{
|
||||
Name = "Coastlines",
|
||||
FilePath = "map_service_configs/Coastlines.xml",
|
||||
FilePath = "map_service_configs/earth/Coastlines.xml",
|
||||
},
|
||||
{
|
||||
Name = "Reference_Features",
|
||||
FilePath = "map_service_configs/Reference_Features.xml",
|
||||
FilePath = "map_service_configs/earth/Reference_Features.xml",
|
||||
},
|
||||
{
|
||||
Name = "Reference_Labels",
|
||||
FilePath = "map_service_configs/Reference_Labels.xml",
|
||||
FilePath = "map_service_configs/earth/Reference_Labels.xml",
|
||||
},
|
||||
{
|
||||
Type = "ChunkIndex",
|
||||
Name = "Indices",
|
||||
FilePath = "textures/test_tile.png",
|
||||
},
|
||||
},
|
||||
HeightMaps = {
|
||||
|
||||
{
|
||||
Name = "Mola Elevation",
|
||||
FilePath = "map_service_configs/mars/Mola_Elevation.xml",
|
||||
Enabled = true,
|
||||
},
|
||||
--[[ {
|
||||
Name = "Terrain tileset",
|
||||
FilePath = "map_service_configs/earth/TERRAIN.wms",
|
||||
--Enabled = true,
|
||||
},
|
||||
|
||||
{
|
||||
Name = "On Moon Height",
|
||||
FilePath = "map_service_configs/moon/OnMoonHeight.xml",
|
||||
--Enabled = true,
|
||||
},]]
|
||||
{
|
||||
Name = "On Mercury Height",
|
||||
FilePath = "map_service_configs/mercury/OnMercuryElevationGaskell.xml",
|
||||
},
|
||||
},
|
||||
HeightMapOverlays = {
|
||||
--[[
|
||||
{
|
||||
Name = "West_Candor_Chasma_DEM_longlat_global2",
|
||||
FilePath = "map_datasets/West_Candor_Chasma_DEM_longlat_global.vrt",
|
||||
Enabled = true,
|
||||
},
|
||||
]]
|
||||
},
|
||||
},
|
||||
},
|
||||
--[[
|
||||
Ephemeris = {
|
||||
Type = "Spice",
|
||||
Body = "EARTH",
|
||||
Reference = "ECLIPJ2000",
|
||||
Observer = "SUN",
|
||||
Observer = "EARTH BARYCENTER",
|
||||
Kernels = {
|
||||
"${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
||||
}
|
||||
},
|
||||
--]]
|
||||
GuiName = "/Solar/Planets/DebugGlobe"
|
||||
}
|
||||
},
|
||||
--[[
|
||||
-- EarthTrail module
|
||||
{
|
||||
Name = "EarthTrail",
|
||||
Parent = "EarthBarycenter",
|
||||
Parent = "SolarSystemBarycenter",
|
||||
Renderable = {
|
||||
Type = "RenderableTrail",
|
||||
Body = "EARTH",
|
||||
@@ -142,8 +182,16 @@ return {
|
||||
TropicalOrbitPeriod = 365.242,
|
||||
EarthOrbitRatio = 1,
|
||||
DayLength = 24
|
||||
},
|
||||
GuiName = "/Solar/EarthTrail"
|
||||
},
|
||||
--]]
|
||||
}
|
||||
}
|
||||
--[[,
|
||||
{
|
||||
Name = "DebugPlane",
|
||||
Parent = "DebugGlobe",
|
||||
Renderable = {
|
||||
Type = "RenderableDebugPlane",
|
||||
Texture = 34,
|
||||
Size = { 1, 7 }
|
||||
}
|
||||
}]]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TiledWMS">
|
||||
<ServerUrl>https://gibs.earthdata.nasa.gov/wmts/epsg4326/std/wmts.cgi?</ServerUrl>
|
||||
<TiledGroupName>MODIS TERRA tileset</TiledGroupName>
|
||||
<Change key="${time}">${t}</Change>
|
||||
<Layers>Landsat_WELD_CorrectedReflectance_TrueColor_Global_Monthly_v3_STD</Layers>
|
||||
<ImageFormat>image/jpeg</ImageFormat>
|
||||
</Service>
|
||||
<MaxConnections>20</MaxConnections>
|
||||
</GDAL_WMS>
|
||||
@@ -0,0 +1,19 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TMS">
|
||||
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/MODIS_Terra_CorrectedReflectance_TrueColor/default/${t}/EPSG4326_250m/${z}/${y}/${x}.jpg</ServerUrl>
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<UpperLeftX>-180.0</UpperLeftX>
|
||||
<UpperLeftY>90</UpperLeftY>
|
||||
<LowerRightX>396.0</LowerRightX>
|
||||
<LowerRightY>-198</LowerRightY>
|
||||
<TileLevel>8</TileLevel>
|
||||
<TileCountX>2</TileCountX>
|
||||
<TileCountY>1</TileCountY>
|
||||
<YOrigin>top</YOrigin>
|
||||
</DataWindow>
|
||||
<Projection>EPSG:4326</Projection>
|
||||
<BlockSizeX>512</BlockSizeX>
|
||||
<BlockSizeY>512</BlockSizeY>
|
||||
<BandsCount>3</BandsCount>
|
||||
</GDAL_WMS>
|
||||
@@ -0,0 +1,20 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TMS">
|
||||
<ServerUrl>http://tile.openstreetmap.org/${z}/${x}/${y}.png</ServerUrl>
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<UpperLeftX>-180</UpperLeftX>
|
||||
<UpperLeftY>90</UpperLeftY>
|
||||
<LowerRightX>180</LowerRightX>
|
||||
<LowerRightY>-90</LowerRightY>
|
||||
<TileLevel>18</TileLevel>
|
||||
<TileCountX>1</TileCountX>
|
||||
<TileCountY>1</TileCountY>
|
||||
<YOrigin>top</YOrigin>
|
||||
</DataWindow>
|
||||
<Projection>EPSG:4326</Projection>
|
||||
<BlockSizeX>256</BlockSizeX>
|
||||
<BlockSizeY>256</BlockSizeY>
|
||||
<BandsCount>3</BandsCount>
|
||||
<Cache/>
|
||||
</GDAL_WMS>
|
||||
@@ -0,0 +1,30 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TiledWMS">
|
||||
<ServerUrl>http://192.168.1.167/OnMercury/wms.cgi?</ServerUrl>
|
||||
<TiledGroupName>Color 665m</TiledGroupName>
|
||||
<!--
|
||||
These are the available layers that can be used as TiledGroupName:
|
||||
Color Ratio
|
||||
Colorized Elevation
|
||||
Color 665m
|
||||
Color 665m, x6g2
|
||||
Color 332m
|
||||
Color 332m, stretched
|
||||
MASC Color Ratio Map
|
||||
MASC Color Ratio Map sat75, white
|
||||
MASC Color Ratio Map sat85, black
|
||||
-->
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<UpperLeftX>-180.0</UpperLeftX>
|
||||
<UpperLeftY>90</UpperLeftY>
|
||||
<LowerRightX>180.0</LowerRightX>
|
||||
<LowerRightY>-90</LowerRightY>
|
||||
<TileLevel>20</TileLevel>
|
||||
<TileCountX>2</TileCountX>
|
||||
<TileCountY>1</TileCountY>
|
||||
<YOrigin>top</YOrigin>
|
||||
</DataWindow>
|
||||
<BlockSizeX>512</BlockSizeX>
|
||||
<BlockSizeY>512</BlockSizeY>
|
||||
</GDAL_WMS>
|
||||
@@ -0,0 +1,24 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TiledWMS">
|
||||
<ServerUrl>http://192.168.1.167/OnMercury/wms.cgi?</ServerUrl>
|
||||
<!--
|
||||
These are the available layers that can be used as TiledGroupName:
|
||||
Elevation, Gaskell
|
||||
Elevation 16bit, Gaskell
|
||||
Elevation 16bit, Gaskell, 2014-12-04
|
||||
-->
|
||||
<TiledGroupName>Elevation 16bit, Gaskell</TiledGroupName>
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<UpperLeftX>-180.0</UpperLeftX>
|
||||
<UpperLeftY>90</UpperLeftY>
|
||||
<LowerRightX>180.0</LowerRightX>
|
||||
<LowerRightY>-90</LowerRightY>
|
||||
<TileLevel>8</TileLevel>
|
||||
<TileCountX>2</TileCountX>
|
||||
<TileCountY>1</TileCountY>
|
||||
<YOrigin>top</YOrigin>
|
||||
</DataWindow>
|
||||
<BlockSizeX>512</BlockSizeX>
|
||||
<BlockSizeY>512</BlockSizeY>
|
||||
</GDAL_WMS>
|
||||
@@ -0,0 +1,31 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TiledWMS">
|
||||
<ServerUrl>http://192.168.1.167/OnMercury/wms.cgi?</ServerUrl>
|
||||
<TiledGroupName>Mercury Image</TiledGroupName>
|
||||
<!--
|
||||
Mercury Image
|
||||
Gravity, contours
|
||||
Gravity, no contours
|
||||
Fast Neutron
|
||||
Sigma Map
|
||||
Aluminum
|
||||
Calcium
|
||||
Iron
|
||||
Magnesium
|
||||
Sulfur
|
||||
Potassium
|
||||
-->
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<UpperLeftX>-180.0</UpperLeftX>
|
||||
<UpperLeftY>90</UpperLeftY>
|
||||
<LowerRightX>180.0</LowerRightX>
|
||||
<LowerRightY>-90</LowerRightY>
|
||||
<TileLevel>20</TileLevel>
|
||||
<TileCountX>2</TileCountX>
|
||||
<TileCountY>1</TileCountY>
|
||||
<YOrigin>top</YOrigin>
|
||||
</DataWindow>
|
||||
<BlockSizeX>512</BlockSizeX>
|
||||
<BlockSizeY>512</BlockSizeY>
|
||||
</GDAL_WMS>
|
||||
@@ -0,0 +1,65 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TiledWMS">
|
||||
<ServerUrl>http://onmoon.lmmp.nasa.gov/wms.cgi?</ServerUrl>
|
||||
<TiledGroupName>LRO WAC Mosaic, LMMP</TiledGroupName>
|
||||
|
||||
<!--
|
||||
Clementine LO Hybrid, LMMP
|
||||
Clementine Mosaic, LMMP
|
||||
LRO WAC Mosaic, LMMP
|
||||
LOLA v2, LMMP
|
||||
LOLA Shade v2, LMMP
|
||||
LOLA ClrShade v2, LMMP
|
||||
LOLA v4, LMMP
|
||||
LOLA v4 Coverage, LMMP
|
||||
LOLA v4 NoData Mask, LMMP
|
||||
LOLA Shade v4, LMMP
|
||||
LOLA ClrShade v4, LMMP
|
||||
Apollo 15, LMMP
|
||||
Apollo 15 DEM Grayscale, LMMP
|
||||
Apollo 15 HillShade, LMMP
|
||||
Apollo 15 Colorized HillShade, LMMP
|
||||
Apollo 15 Colorized Confidence, LMMP
|
||||
Apollo 16 image, LMMP
|
||||
Apollo 16 DEM Grayscale, LMMP
|
||||
Apollo 16 HillShade, LMMP
|
||||
Apollo 16 Colorized HillShade, LMMP
|
||||
Apollo 16 Colorized Confidence, LMMP
|
||||
Apollo 17 image Old, LMMP
|
||||
Apollo 17 image, LMMP
|
||||
Apollo 17 DEM Grayscale, LMMP
|
||||
Apollo 17 HillShade, LMMP
|
||||
Apollo 17 Colorized HillShade, LMMP
|
||||
Apollo 17 Colorized Confidence, LMMP
|
||||
Apollo Zone image, LMMP
|
||||
Apollo Zone image 3033, LMMP
|
||||
Apollo Zone DEM Grayscale, LMMP
|
||||
Apollo Zone HillShade, LMMP
|
||||
Apollo Zone Colorized HillShade, LMMP
|
||||
Apollo Zone Colorized Confidence, LMMP
|
||||
LRO Diviner CF Filled, LMMP
|
||||
LRO Diviner CF, LMMP
|
||||
Clementine Color Ratio, LMMP
|
||||
Clementine Optical Maturity, LMMP
|
||||
Clementine FeO abundance, LMMP
|
||||
Clementine TiO2 abundance, LMMP
|
||||
LP Fe Abundance, colorized, LMMP
|
||||
LP K Abundance, colorized, LMMP
|
||||
LP Th Abundance, colorized, LMMP
|
||||
LP H Abundance, colorized, LMMP
|
||||
-->
|
||||
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<UpperLeftX>-180.0</UpperLeftX>
|
||||
<UpperLeftY>90</UpperLeftY>
|
||||
<LowerRightX>180.0</LowerRightX>
|
||||
<LowerRightY>-90</LowerRightY>
|
||||
<TileLevel>20</TileLevel>
|
||||
<TileCountX>2</TileCountX>
|
||||
<TileCountY>1</TileCountY>
|
||||
<YOrigin>top</YOrigin>
|
||||
</DataWindow>
|
||||
<BlockSizeX>512</BlockSizeX>
|
||||
<BlockSizeY>512</BlockSizeY>
|
||||
</GDAL_WMS>
|
||||
@@ -0,0 +1,21 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TiledWMS">
|
||||
<ServerUrl>http://onmoon.lmmp.nasa.gov/raw/wms.cgi?</ServerUrl>
|
||||
<TiledGroupName>Lunar Elevation v2, half meters</TiledGroupName>
|
||||
<!--
|
||||
Lunar Elevation v2
|
||||
-->
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<UpperLeftX>-180.0</UpperLeftX>
|
||||
<UpperLeftY>90</UpperLeftY>
|
||||
<LowerRightX>180.0</LowerRightX>
|
||||
<LowerRightY>-90</LowerRightY>
|
||||
<TileLevel>24</TileLevel>
|
||||
<TileCountX>2</TileCountX>
|
||||
<TileCountY>1</TileCountY>
|
||||
<YOrigin>top</YOrigin>
|
||||
</DataWindow>
|
||||
<BlockSizeX>512</BlockSizeX>
|
||||
<BlockSizeY>512</BlockSizeY>
|
||||
</GDAL_WMS>
|
||||
BIN
data/scene/debugglobe/textures/arrows.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
data/scene/debugglobe/textures/test_tile511x511.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
data/scene/debugglobe/textures/test_tile512x511.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
data/scene/debugglobe/textures/test_tile727x728.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
data/scene/debugglobe/textures/test_tile728x727.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
@@ -1,90 +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.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",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,10 +6,12 @@ function preInitialization()
|
||||
critical objects.
|
||||
]]--
|
||||
|
||||
--openspace.time.setTime(openspace.time.currentWallTime())
|
||||
openspace.time.setTime('2015-03-15T11:00:00.00')
|
||||
openspace.time.setDeltaTime(0)
|
||||
openspace.spice.loadKernel("${SPICE}/naif0011.tls")
|
||||
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
|
||||
|
||||
openspace.time.setTime(openspace.time.currentWallTime())
|
||||
dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
|
||||
|
||||
end
|
||||
|
||||
function postInitialization()
|
||||
@@ -34,7 +36,7 @@ function postInitialization()
|
||||
|
||||
if openspace.modules.isLoaded("ISWA") then
|
||||
|
||||
openspace.iswa.addCdfFiles("${OPENSPACE_DATA}/iswa/cdflist.json");
|
||||
openspace.iswa.addCdfFiles("${OPENSPACE_DATA}/cdflist.json");
|
||||
|
||||
--openspace.iswa.addCygnet(7);
|
||||
|
||||
@@ -52,23 +54,22 @@ return {
|
||||
ScenePath = ".",
|
||||
CommonFolder = "common",
|
||||
Camera = {
|
||||
Focus = "Earth",
|
||||
--Position = {-6495542956.323095,-74757244129.089355,128449973103.825272, 0.000001},
|
||||
Position = {41717685.600207, -0.000000, -0.000000},
|
||||
Rotation = {-0.106166, 0.981574, -0.084545, 0.134513},
|
||||
Focus = "Earth",
|
||||
Position = {505370268486.696167, 1089706179272.719116, -890259148524.319458},
|
||||
Rotation = {0.250635, -0.028751, 0.879269, 0.404030},
|
||||
},
|
||||
Modules = {
|
||||
"sun",
|
||||
--"mercury",
|
||||
--"venus",
|
||||
"mercury",
|
||||
"venus",
|
||||
"earth",
|
||||
--"mars",
|
||||
--"jupiter",
|
||||
--"saturn",
|
||||
--"uranus",
|
||||
--"neptune",
|
||||
"mars",
|
||||
"jupiter",
|
||||
"saturn",
|
||||
"uranus",
|
||||
"neptune",
|
||||
"stars",
|
||||
--"stars-denver",
|
||||
-- "stars-denver",
|
||||
"milkyway",
|
||||
--"milkyway-eso",
|
||||
"constellationbounds",
|
||||
|
||||
@@ -3,16 +3,14 @@ return {
|
||||
{
|
||||
Name = "EarthBarycenter",
|
||||
Parent = "SolarSystemBarycenter",
|
||||
Static = true,
|
||||
Ephemeris = {
|
||||
Type = "Spice",
|
||||
Body = "EARTH BARYCENTER",
|
||||
Reference = "ECLIPJ2000",
|
||||
Observer = "SUN",
|
||||
Kernels = {
|
||||
"${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "SpiceTranslation",
|
||||
Body = "EARTH",
|
||||
Observer = "SUN",
|
||||
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
-- Earth module
|
||||
{
|
||||
@@ -21,7 +19,7 @@ return {
|
||||
Renderable = {
|
||||
Type = "RenderablePlanet",
|
||||
Frame = "IAU_EARTH",
|
||||
Body = "EARTH",
|
||||
Body = "EARTH",
|
||||
Geometry = {
|
||||
Type = "SimpleSphere",
|
||||
Radius = { 6.371, 6 },
|
||||
@@ -30,14 +28,26 @@ return {
|
||||
Textures = {
|
||||
Type = "simple",
|
||||
Color = "textures/earth_bluemarble.jpg",
|
||||
Night = "textures/earth_night.jpg",
|
||||
--Height = "textures/earth_bluemarble_height.jpg",
|
||||
-- Depth = "textures/earth_depth.png",
|
||||
Reflectance = "textures/earth_reflectance.png",
|
||||
Clouds = "textures/earth_clouds.jpg"
|
||||
Night = "textures/earth_night.jpg",
|
||||
Height = "textures/earth_bluemarble_height.jpg"
|
||||
},
|
||||
Atmosphere = {
|
||||
Type = "Nishita", -- for example, values missing etc etc
|
||||
MieFactor = 1.0,
|
||||
MieColor = {1.0, 1.0, 1.0}
|
||||
}
|
||||
},
|
||||
|
||||
Transform = {
|
||||
Rotation = {
|
||||
Type = "SpiceRotation",
|
||||
SourceFrame = "IAU_EARTH",
|
||||
DestinationFrame = "GALACTIC",
|
||||
},
|
||||
Scale = {
|
||||
Type = "StaticScale",
|
||||
Scale = 1,
|
||||
},
|
||||
},
|
||||
GuiName = "/Solar/Planets/Earth"
|
||||
},
|
||||
-- EarthTrail module
|
||||
@@ -56,6 +66,7 @@ return {
|
||||
},
|
||||
GuiName = "/Solar/EarthTrail"
|
||||
},
|
||||
--[[
|
||||
{
|
||||
Name = "EarthMarker",
|
||||
Parent = "Earth",
|
||||
@@ -64,31 +75,13 @@ return {
|
||||
Size = {3.0, 11.0},
|
||||
Origin = "Center",
|
||||
Billboard = true,
|
||||
Texture = "textures/marker.png"
|
||||
Texture = "textures/marker.png",
|
||||
BlendMode = "Additive"
|
||||
},
|
||||
Ephemeris = {
|
||||
Type = "Static",
|
||||
Position = {0, 0, 0, 5}
|
||||
}
|
||||
}
|
||||
-- Plane
|
||||
-- {
|
||||
-- Name = "EarthPlane",
|
||||
-- Parent = "Earth",
|
||||
-- Renderable = {
|
||||
-- Type = "RenderablePlane",
|
||||
-- Billboard = true,
|
||||
-- Size = { 6.371, 6 },
|
||||
-- Texture = "textures/graph.jpg",
|
||||
-- Atmosphere = {
|
||||
-- Type = "Nishita", -- for example, values missing etc etc
|
||||
-- MieFactor = 1.0,
|
||||
-- MieColor = {1.0, 1.0, 1.0}
|
||||
-- }
|
||||
-- },
|
||||
-- Ephemeris = {
|
||||
-- Type = "Static",
|
||||
-- Position = { 6.371*2, 0, 0, 6},
|
||||
-- },
|
||||
-- }
|
||||
]]
|
||||
}
|
||||
|
||||
@@ -4,14 +4,9 @@ return {
|
||||
{
|
||||
Name = "Enlil",
|
||||
Parent = "Root",
|
||||
Ephemeris = {
|
||||
Type = "Static",
|
||||
Position = { 0.0, 0.0, 0.0, 0}
|
||||
},
|
||||
RenderableToggle = "e",
|
||||
Renderable = {
|
||||
Type = "RenderableVolumeGL",
|
||||
---[[
|
||||
BoxScaling = { f, f, f},
|
||||
VolumeName = "EnlilVolume",
|
||||
Volume = "${OPENSPACE_DATA}/enlil/Hong_Xie_120312_SH_1.enlil.0016.cdf",
|
||||
@@ -26,8 +21,6 @@ return {
|
||||
TransferFunction = "transferfunctions/t2.txt",
|
||||
-- TransferFunction = "transferfunctions/t1.txt",
|
||||
Sampler = "sampler.glsl",
|
||||
--]]
|
||||
},
|
||||
GuiName = "/Volumes/Volume"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,10 +3,6 @@ return {
|
||||
{
|
||||
Name = "Enlil New Horizons",
|
||||
Parent = "Root",
|
||||
Ephemeris = {
|
||||
Type = "Static",
|
||||
Position = { 0.0, 0.0, 0.0, 0}
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderableMultiresVolume",
|
||||
ReferenceFrame = "HEEQ",
|
||||
@@ -18,7 +14,6 @@ return {
|
||||
ErrorHistogramsSource = "tsp/enlil_nh_128_128_16_50.errorHistograms",
|
||||
TransferFunction = "transferfunctions/fire.txt",
|
||||
BrickSelector = "tf",
|
||||
},
|
||||
GuiName = "/Volumes/ENLIL New Horizons"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,6 +6,9 @@ function preInitialization()
|
||||
critical objects.
|
||||
]]--
|
||||
|
||||
openspace.spice.loadKernel("${SPICE}/naif0011.tls")
|
||||
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
|
||||
|
||||
openspace.time.setTime("2015 JAN 01 12:00:00.000")
|
||||
dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
|
||||
end
|
||||
|
||||
@@ -10,10 +10,6 @@ return {
|
||||
{
|
||||
Name = "Fieldlines1",
|
||||
Parent = "Earth",
|
||||
Ephemeris = {
|
||||
Type = "Static",
|
||||
Position = { 0, 0, 0, 0},
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderableFieldlines",
|
||||
VectorField = {
|
||||
@@ -30,16 +26,11 @@ return {
|
||||
Type = "File",
|
||||
File = '${OPENSPACE_DATA}/scene/fieldlines/bats_seeds/BATS_R_US_closed_seeds_all.txt';
|
||||
}
|
||||
},
|
||||
GuiName = "/Geometry/Fieldlines"
|
||||
}
|
||||
},
|
||||
{
|
||||
Name = "Fieldlines2",
|
||||
Parent = "Earth",
|
||||
Ephemeris = {
|
||||
Type = "Static",
|
||||
Position = { 0, 0, 0, 0},
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderableFieldlines",
|
||||
VectorField = {
|
||||
@@ -56,16 +47,11 @@ return {
|
||||
Type = "File",
|
||||
File = '${OPENSPACE_DATA}/scene/fieldlines/bats_seeds/BATS_R_US_open_north_all.txt'
|
||||
}
|
||||
},
|
||||
GuiName = "/Geometry/Fieldlines"
|
||||
}
|
||||
},
|
||||
{
|
||||
Name = "Fieldlines3",
|
||||
Parent = "Earth",
|
||||
Ephemeris = {
|
||||
Type = "Static",
|
||||
Position = { 0, 0, 0, 0},
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderableFieldlines",
|
||||
VectorField = {
|
||||
@@ -82,16 +68,11 @@ return {
|
||||
Type = "File",
|
||||
File = '${OPENSPACE_DATA}/scene/fieldlines/bats_seeds/BATS_R_US_open_south_all.txt'
|
||||
}
|
||||
},
|
||||
GuiName = "/Geometry/Fieldlines"
|
||||
}
|
||||
},
|
||||
{
|
||||
Name = "Fieldlines4",
|
||||
Parent = "Earth",
|
||||
Ephemeris = {
|
||||
Type = "Static",
|
||||
Position = { 0, 0, 0, 0},
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderableFieldlines",
|
||||
VectorField = {
|
||||
@@ -108,16 +89,11 @@ return {
|
||||
Type = "File",
|
||||
File = '${OPENSPACE_DATA}/scene/fieldlines/bats_seeds/BATS_R_US_solar_wind_all.txt'
|
||||
}
|
||||
},
|
||||
GuiName = "/Geometry/Fieldlines"
|
||||
}
|
||||
},
|
||||
{
|
||||
Name = "Fieldlines5",
|
||||
Parent = "Earth",
|
||||
Ephemeris = {
|
||||
Type = "Static",
|
||||
Position = { 0, 0, 0, 0},
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderableFieldlines",
|
||||
VectorField = {
|
||||
@@ -134,7 +110,6 @@ return {
|
||||
Type = "File",
|
||||
File = '${OPENSPACE_DATA}/scene/fieldlines/bats_seeds/BATS_R_US_separatrix_seeds_all.txt'
|
||||
}
|
||||
},
|
||||
GuiName = "/Geometry/Fieldlines"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,10 +3,6 @@ return {
|
||||
{
|
||||
Name = "Flare",
|
||||
Parent = "Root",
|
||||
Ephemeris = {
|
||||
Type = "Static",
|
||||
Position = { 0, 0, 0, 0}
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderableFlare",
|
||||
Source = "${OPENSPACE_DATA}/enlil_64_32_8.tsp",
|
||||
@@ -23,7 +19,6 @@ return {
|
||||
|
||||
tsp_traveral_stepsize = 0.02,
|
||||
raycaster_stepsize = 0.005,
|
||||
},
|
||||
GuiName = "/Volumes/Flare"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -6,20 +6,32 @@ function preInitialization()
|
||||
critical objects.
|
||||
]]--
|
||||
|
||||
--openspace.time.setTime("2015 NOV 24 00:00:00")
|
||||
--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")
|
||||
|
||||
openspace.time.setTime(openspace.time.currentWallTime())
|
||||
dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
|
||||
--openspace.bindKey("v", "openspace.setPropertyValue('DebugGlobe.saveOrThrowCamera', true)")
|
||||
end
|
||||
|
||||
function postInitialization()
|
||||
openspace.setInteractionMode('GlobeBrowsingInteractionMode')
|
||||
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)
|
||||
|
||||
openspace.setPropertyValue("Sun.renderable.enabled", true)
|
||||
openspace.setPropertyValue("SunGlare.renderable.enabled", false)
|
||||
openspace.setPropertyValue("SunMarker.renderable.enabled", false)
|
||||
|
||||
|
||||
openspace.resetCameraDirection()
|
||||
openspace.time.setDeltaTime(0)
|
||||
|
||||
openspace.printInfo("Done setting default values")
|
||||
end
|
||||
@@ -29,15 +41,19 @@ return {
|
||||
ScenePath = ".",
|
||||
CommonFolder = "common",
|
||||
Camera = {
|
||||
Focus = "DebugGlobe",
|
||||
Position = {41717685.600207, -0.000000, -0.000000},
|
||||
Rotation = {0.031159, -0.713114, 0.015919, -0.700174},
|
||||
Focus = "Mars",
|
||||
Position = {138530625167.228241, 42217005217.825005, -46336405755.934372},
|
||||
Rotation = {0.633883, 0.492158, -0.123913, -0.583625},
|
||||
},
|
||||
|
||||
Modules = {
|
||||
"debugglobe",
|
||||
"lodearth",
|
||||
"lodmoon",
|
||||
"lodmars",
|
||||
"lodmercury",
|
||||
"sun",
|
||||
"stars",
|
||||
"milkyway",
|
||||
"milkyway",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@ return {
|
||||
{
|
||||
Name = "SphericalGrid",
|
||||
Parent = "Root",
|
||||
Static = true,
|
||||
Renderable = {
|
||||
Type = "RenderableSphericalGrid",
|
||||
GridType = "ECLIPJ2000",
|
||||
@@ -13,22 +12,6 @@ return {
|
||||
-0.09647644, 0.8622859, 0.4971472 , 0.0,
|
||||
0.0 , 0.0 , 0.0 , 1.0 },
|
||||
GridSegments = 36,
|
||||
},
|
||||
Ephemeris = {
|
||||
Type = "Static" -- for now, might change.
|
||||
},
|
||||
|
||||
--[[
|
||||
Ephemeris = {
|
||||
Type = "Spice",
|
||||
Body = "EARTH",
|
||||
Reference = "ECLIPJ2000",
|
||||
Observer = "EARTH BARYCENTER",
|
||||
Kernels = {
|
||||
"kernels/earth.bsp"
|
||||
}
|
||||
},
|
||||
--]]
|
||||
GuiName = "/Grid/Ecliptic"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,6 @@ return {
|
||||
{
|
||||
Name = "SphericalGrid",
|
||||
Parent = "Root",
|
||||
Static = true,
|
||||
Renderable = {
|
||||
Type = "RenderableSphericalGrid",
|
||||
GridType = "ICRF",
|
||||
@@ -13,11 +12,6 @@ return {
|
||||
-0.483835 , 0.7469823, 0.4559838, 0.0,
|
||||
0.0 , 0.0 , 0.0 , 1.0 },
|
||||
GridSegments = 36,
|
||||
},
|
||||
Ephemeris = {
|
||||
Type = "Static" -- for now, might change.
|
||||
},
|
||||
|
||||
GuiName = "/Grid/Equatorial"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,32 +3,15 @@ return {
|
||||
{
|
||||
Name = "gridGalactic",
|
||||
Parent = "SolarSystem",
|
||||
Static = true,
|
||||
Renderable = {
|
||||
Type = "RenderableSphericalGrid",
|
||||
GridType = "GALACTIC",
|
||||
GridColor = { 0.0, 0.4, 0.4, 1},
|
||||
GridMatrix = { 1.0, 0.0, 0.0, 0.0,
|
||||
0.0, 1.0, 0.0, 0.0,
|
||||
0.0, 0.0, 1.0, 0.0,
|
||||
GridMatrix = { 1.0, 0.0, 0.0, 0.0,
|
||||
0.0, 1.0, 0.0, 0.0,
|
||||
0.0, 0.0, 1.0, 0.0,
|
||||
0.0, 0.0, 0.0, 1.0 },
|
||||
GridSegments = 36,
|
||||
},
|
||||
Ephemeris = {
|
||||
Type = "Static" -- for now, might change.
|
||||
},
|
||||
|
||||
--[[
|
||||
Ephemeris = {
|
||||
Type = "Spice",
|
||||
Body = "EARTH",
|
||||
Reference = "ECLIPJ2000",
|
||||
Observer = "EARTH BARYCENTER",
|
||||
Kernels = {
|
||||
"kernels/earth.bsp"
|
||||
}
|
||||
},
|
||||
--]]
|
||||
GuiName = "/Grid/Galactic"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
return {
|
||||
-- Latest image taken by LORRI
|
||||
{
|
||||
Name = "ImagePlane",
|
||||
Parent = "NewHorizons",
|
||||
Renderable = {
|
||||
Type = "RenderablePlaneProjection",
|
||||
Frame = "IAU_JUPITER",
|
||||
DefaultTarget = "JUPITER",
|
||||
Spacecraft = "NEW HORIZONS",
|
||||
Instrument = "NH_LORRI",
|
||||
Moving = false,
|
||||
Texture = "textures/test.jpg",
|
||||
},
|
||||
Ephemeris = {
|
||||
Type = "Static",
|
||||
Position = {0, 0, 0, 1}
|
||||
},
|
||||
},
|
||||
-- LORRI FoV square
|
||||
{
|
||||
Name = "ImagePlane2",
|
||||
Parent = "NewHorizons",
|
||||
Renderable = {
|
||||
Type = "RenderablePlaneProjection",
|
||||
Frame = "IAU_JUPITER",
|
||||
DefaultTarget = "JUPITER",
|
||||
Spacecraft = "NEW HORIZONS",
|
||||
Instrument = "NH_LORRI",
|
||||
Moving = true,
|
||||
Texture = "textures/squarefov.png",
|
||||
},
|
||||
Ephemeris = {
|
||||
Type = "Static",
|
||||
Position = {0, 0, 0, 1}
|
||||
},
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 64 KiB |
66
data/scene/juno.scene
Executable file
@@ -0,0 +1,66 @@
|
||||
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}/naif0011.tls")
|
||||
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()
|
||||
helper.setCommonKeys()
|
||||
helper.setDeltaTimeKeys({
|
||||
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()
|
||||
--[[
|
||||
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",
|
||||
"uranus",
|
||||
"neptune",
|
||||
"stars",
|
||||
"milkyway",
|
||||
"juno"
|
||||
}
|
||||
}
|
||||
|
||||
144
data/scene/juno/juno/juno.mod
Normal file
@@ -0,0 +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",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -16,22 +16,29 @@ return {
|
||||
Type = "simple",
|
||||
Color = "textures/callisto.jpg",
|
||||
},
|
||||
},
|
||||
Ephemeris = {
|
||||
Type = "Spice",
|
||||
Body = "CALLISTO",
|
||||
Reference = "ECLIPJ2000",
|
||||
Observer = "JUPITER BARYCENTER",
|
||||
Kernels = {
|
||||
"${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
||||
Atmosphere = {
|
||||
Type = "Nishita", -- for example, values missing etc etc
|
||||
MieFactor = 1.0,
|
||||
MieColor = {1.0, 1.0, 1.0}
|
||||
}
|
||||
},
|
||||
Rotation = {
|
||||
Type = "Spice",
|
||||
Frame = "IAU_JUPITER",
|
||||
Reference = "ECLIPJ2000"
|
||||
},
|
||||
GuiName = "/Solar/Planets/Callisto"
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "SpiceTranslation",
|
||||
Body = "CALLISTO",
|
||||
Observer = "JUPITER BARYCENTER",
|
||||
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
|
||||
},
|
||||
Rotation = {
|
||||
Type = "SpiceRotation",
|
||||
SourceFrame = "IAU_CALLISTO",
|
||||
DestinationFrame = "IAU_JUPITER",
|
||||
},
|
||||
Scale = {
|
||||
Type = "StaticScale",
|
||||
Scale = 1,
|
||||
},
|
||||
}
|
||||
},
|
||||
-- CallistoTrail module
|
||||
{
|
||||
@@ -51,7 +58,6 @@ return {
|
||||
Color = "${COMMON_MODULE}/textures/glare_blue.png",
|
||||
-- need to add different texture
|
||||
},
|
||||
},
|
||||
GuiName = "/Solar/CallistoTrail"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,22 +16,25 @@ return {
|
||||
Type = "simple",
|
||||
Color = "textures/europa.jpg",
|
||||
},
|
||||
},
|
||||
Ephemeris = {
|
||||
Type = "Spice",
|
||||
Body = "EUROPA",
|
||||
Reference = "ECLIPJ2000",
|
||||
Observer = "JUPITER BARYCENTER",
|
||||
Kernels = {
|
||||
"${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
||||
Atmosphere = {
|
||||
Type = "Nishita", -- for example, values missing etc etc
|
||||
MieFactor = 1.0,
|
||||
MieColor = {1.0, 1.0, 1.0}
|
||||
}
|
||||
},
|
||||
Rotation = {
|
||||
Type = "Spice",
|
||||
Frame = "IAU_JUPITER",
|
||||
Reference = "ECLIPJ2000"
|
||||
},
|
||||
GuiName = "/Solar/Planets/EUROPA"
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "SpiceTranslation",
|
||||
Body = "EUROPA",
|
||||
Observer = "JUPITER BARYCENTER",
|
||||
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
|
||||
},
|
||||
Rotation = {
|
||||
Type = "SpiceRotation",
|
||||
SourceFrame = "IAU_EUROPA",
|
||||
DestinationFrame = "IAU_JUPITER",
|
||||
}
|
||||
}
|
||||
},
|
||||
-- EuropaTrail module
|
||||
{
|
||||
@@ -51,7 +54,6 @@ return {
|
||||
Color = "${COMMON_MODULE}/textures/glare_blue.png",
|
||||
-- need to add different texture
|
||||
},
|
||||
},
|
||||
GuiName = "/Solar/EuropaTrail"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,22 +16,29 @@ return {
|
||||
Type = "simple",
|
||||
Color = "textures/ganymede.jpg",
|
||||
},
|
||||
},
|
||||
Ephemeris = {
|
||||
Type = "Spice",
|
||||
Body = "GANYMEDE",
|
||||
Reference = "ECLIPJ2000",
|
||||
Observer = "JUPITER BARYCENTER",
|
||||
Kernels = {
|
||||
"${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
||||
Atmosphere = {
|
||||
Type = "Nishita", -- for example, values missing etc etc
|
||||
MieFactor = 1.0,
|
||||
MieColor = {1.0, 1.0, 1.0}
|
||||
}
|
||||
},
|
||||
Rotation = {
|
||||
Type = "Spice",
|
||||
Frame = "IAU_JUPITER",
|
||||
Reference = "ECLIPJ2000"
|
||||
},
|
||||
GuiName = "/Solar/Planets/Ganymede"
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "SpiceTranslation",
|
||||
Body = "GANYMEDE",
|
||||
Observer = "JUPITER BARYCENTER",
|
||||
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
|
||||
},
|
||||
Rotation = {
|
||||
Type = "SpiceRotation",
|
||||
SourceFrame = "IAU_GANYMEDE",
|
||||
DestinationFrame = "IAU_JUPITER",
|
||||
},
|
||||
Scale = {
|
||||
Type = "StaticScale",
|
||||
Scale = 1,
|
||||
},
|
||||
}
|
||||
},
|
||||
-- GanymedeTrail module
|
||||
{
|
||||
@@ -51,7 +58,6 @@ return {
|
||||
Color = "${COMMON_MODULE}/textures/glare_blue.png",
|
||||
-- need to add different texture
|
||||
},
|
||||
},
|
||||
GuiName = "/Solar/GanymedeTrail"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,28 +16,34 @@ return {
|
||||
Type = "simple",
|
||||
Color = "textures/io.jpg",
|
||||
},
|
||||
},
|
||||
Ephemeris = {
|
||||
Type = "Spice",
|
||||
Body = "IO",
|
||||
Reference = "ECLIPJ2000",
|
||||
Observer = "JUPITER BARYCENTER",
|
||||
Kernels = {
|
||||
--"${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
||||
"${SPICE}/jup260.bsp",
|
||||
Atmosphere = {
|
||||
Type = "Nishita", -- for example, values missing etc etc
|
||||
MieFactor = 1.0,
|
||||
MieColor = {1.0, 1.0, 1.0}
|
||||
}
|
||||
},
|
||||
Rotation = {
|
||||
Type = "Spice",
|
||||
Frame = "IAU_JUPITER",
|
||||
Reference = "ECLIPJ2000"
|
||||
},
|
||||
GuiName = "/Solar/Planets/Jupiter"
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "SpiceTranslation",
|
||||
Body = "IO",
|
||||
Observer = "JUPITER BARYCENTER",
|
||||
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
|
||||
},
|
||||
Rotation = {
|
||||
Type = "SpiceRotation",
|
||||
SourceFrame = "IAU_IO",
|
||||
DestinationFrame = "IAU_JUPITER",
|
||||
},
|
||||
Scale = {
|
||||
Type = "StaticScale",
|
||||
Scale = 1,
|
||||
},
|
||||
}
|
||||
},
|
||||
-- IoTrail module
|
||||
{
|
||||
Name = "IoTrail",
|
||||
Parent = "Io",
|
||||
Parent = "JupiterBarycenter",
|
||||
Renderable = {
|
||||
Type = "RenderableTrail",
|
||||
Body = "IO",
|
||||
@@ -52,7 +58,6 @@ return {
|
||||
Color = "${COMMON_MODULE}/textures/glare_blue.png",
|
||||
-- need to add different texture
|
||||
},
|
||||
},
|
||||
GuiName = "/Solar/IoTrail"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BIN
data/scene/jupiter/jupiter/jup260.bsp.torrent
Normal file
@@ -2,4 +2,7 @@ return {
|
||||
FileRequest = {
|
||||
{ Identifier = "jupiter_textures", Destination = "textures", Version = 1 }
|
||||
},
|
||||
TorrentFiles = {
|
||||
{ File = "jup260.bsp.torrent", Destination = "${SPICE}" },
|
||||
}
|
||||
}
|
||||
@@ -3,14 +3,13 @@ return {
|
||||
{
|
||||
Name = "JupiterBarycenter",
|
||||
Parent = "SolarSystemBarycenter",
|
||||
Ephemeris = {
|
||||
Type = "Spice",
|
||||
Body = "JUPITER BARYCENTER",
|
||||
Reference = "ECLIPJ2000",
|
||||
Observer = "SUN",
|
||||
Kernels = {
|
||||
"${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
||||
}
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "SpiceTranslation",
|
||||
Body = "JUPITER BARYCENTER",
|
||||
Observer = "SUN",
|
||||
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
||||
},
|
||||
},
|
||||
},
|
||||
-- Jupiter module
|
||||
@@ -30,16 +29,27 @@ return {
|
||||
Type = "simple",
|
||||
Color = "textures/jupiter.jpg",
|
||||
},
|
||||
Atmosphere = {
|
||||
Type = "Nishita", -- for example, values missing etc etc
|
||||
MieFactor = 1.0,
|
||||
MieColor = {1.0, 1.0, 1.0}
|
||||
}
|
||||
},
|
||||
Ephemeris = {
|
||||
Type = "Static" -- jupiter is at its barycenter
|
||||
},
|
||||
Rotation = {
|
||||
Type = "Spice",
|
||||
Frame = "IAU_JUPITER",
|
||||
Reference = "ECLIPJ2000"
|
||||
},
|
||||
GuiName = "/Solar/Planets/Jupiter"
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "StaticTranslation",
|
||||
Position = {0, 0, 0}, -- jupiter is at its barycenter
|
||||
},
|
||||
Rotation = {
|
||||
Type = "SpiceRotation",
|
||||
SourceFrame = "IAU_JUPITER",
|
||||
DestinationFrame = "ECLIPJ2000",
|
||||
},
|
||||
Scale = {
|
||||
Type = "StaticScale",
|
||||
Scale = 1,
|
||||
},
|
||||
}
|
||||
},
|
||||
-- JupiterTrail module
|
||||
{
|
||||
@@ -59,7 +69,6 @@ return {
|
||||
Color = "${COMMON_MODULE}/textures/glare_blue.png",
|
||||
-- need to add different texture
|
||||
},
|
||||
},
|
||||
GuiName = "/Solar/JupiterTrail"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 2.3 KiB |
131
data/scene/lodearth/lodearth.mod
Normal file
@@ -0,0 +1,131 @@
|
||||
earthEllipsoid = {6378137.0, 6378137.0, 6356752.314245} -- Earth's radii
|
||||
return {
|
||||
-- Earth barycenter module
|
||||
{
|
||||
Name = "EarthBarycenter",
|
||||
Parent = "SolarSystemBarycenter",
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "SpiceTranslation",
|
||||
Body = "EARTH",
|
||||
Observer = "SUN",
|
||||
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
|
||||
},
|
||||
},
|
||||
},
|
||||
-- EarthTrail module
|
||||
{
|
||||
Name = "EarthTrail",
|
||||
Parent = "SolarSystemBarycenter",
|
||||
Renderable = {
|
||||
Type = "RenderableTrail",
|
||||
Body = "EARTH",
|
||||
Frame = "GALACTIC",
|
||||
Observer = "SUN",
|
||||
RGB = { 0.5, 0.8, 1.0},
|
||||
TropicalOrbitPeriod = 365.242,
|
||||
EarthOrbitRatio = 1,
|
||||
DayLength = 24
|
||||
}
|
||||
},
|
||||
-- RenderableGlobe module
|
||||
{
|
||||
Name = "Earth",
|
||||
Parent = "EarthBarycenter",
|
||||
Transform = {
|
||||
Rotation = {
|
||||
Type = "SpiceRotation",
|
||||
SourceFrame = "IAU_EARTH",
|
||||
DestinationFrame = "GALACTIC",
|
||||
},
|
||||
Scale = {
|
||||
Type = "StaticScale",
|
||||
Scale = 1,
|
||||
},
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderableGlobe",
|
||||
Radii = earthEllipsoid,
|
||||
CameraMinHeight = 300,
|
||||
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
|
||||
SegmentsPerPatch = 64,
|
||||
TextureInitData = {
|
||||
ColorTextureMinimumSize = 512,--512,
|
||||
OverlayMinimumSize = 512,
|
||||
HeightMapMinimumSize = 64,
|
||||
},
|
||||
Textures = {
|
||||
ColorTextures = {
|
||||
{
|
||||
Type = "Temporal",
|
||||
Name = "Temporal VIIRS SNPP",
|
||||
FilePath = "map_service_configs/GIBS/Temporal_VIIRS_SNPP_CorrectedReflectance_TrueColor.xml",
|
||||
},
|
||||
{
|
||||
Type = "SingleImage",
|
||||
Name = "Debug Tiles",
|
||||
FilePath = "textures/test_tile.png",
|
||||
},
|
||||
{
|
||||
Type = "Temporal",
|
||||
Name = "Temporal MODIS Aqua CorrectedRecflectance TrueColor",
|
||||
FilePath = "map_service_configs/GIBS/Temporal_MODIS_Aqua_CorrectedReflectance_TrueColor.xml",
|
||||
},
|
||||
{
|
||||
Name = "MODIS_Terra_CorrectedReflectance_TrueColor",
|
||||
FilePath = "map_service_configs/GIBS/MODIS_Terra_CorrectedReflectance_TrueColor.xml",
|
||||
},
|
||||
{
|
||||
Name = "ESRI Imagery World 2D",
|
||||
FilePath = "map_service_configs/ESRI/ESRI_Imagery_World_2D.wms",
|
||||
Enabled = true,
|
||||
}
|
||||
},
|
||||
GrayScaleOverlays = {
|
||||
|
||||
},
|
||||
NightTextures = {
|
||||
{
|
||||
Name = "Earth at Night 2012",
|
||||
FilePath = "map_service_configs/GIBS/VIIRS_CityLights_2012.xml",
|
||||
},
|
||||
},
|
||||
WaterMasks = {
|
||||
{
|
||||
Name = "MODIS_Water_Mask",
|
||||
FilePath = "map_service_configs/GIBS/MODIS_Water_Mask.xml",
|
||||
},
|
||||
},
|
||||
Overlays = {
|
||||
{
|
||||
Name = "Coastlines",
|
||||
FilePath = "map_service_configs/GIBS/Coastlines.xml",
|
||||
},
|
||||
{
|
||||
Name = "Reference_Features",
|
||||
FilePath = "map_service_configs/GIBS/Reference_Features.xml",
|
||||
},
|
||||
{
|
||||
Name = "Reference_Labels",
|
||||
FilePath = "map_service_configs/GIBS/Reference_Labels.xml",
|
||||
},
|
||||
{
|
||||
Type = "SizeReference",
|
||||
Name = "Size Reference",
|
||||
Radii = earthEllipsoid,
|
||||
BackgroundImagePath = "../debugglobe/textures/arrows.png",
|
||||
},
|
||||
},
|
||||
HeightMaps = {
|
||||
{
|
||||
Name = "Terrain tileset",
|
||||
FilePath = "map_service_configs/ESRI/TERRAIN.wms",
|
||||
Enabled = true,
|
||||
MinimumPixelSize = 90,
|
||||
DoPreProcessing = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TMS">
|
||||
<ServerUrl>http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer/tile/${z}/${y}/${x}</ServerUrl>
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<TileLevel>15</TileLevel>
|
||||
<TileCountX>2</TileCountX>
|
||||
<TileCountY>1</TileCountY>
|
||||
<YOrigin>top</YOrigin>
|
||||
</DataWindow>
|
||||
<Projection>EPSG:4326</Projection>
|
||||
<BlockSizeX>512</BlockSizeX>
|
||||
<BlockSizeY>512</BlockSizeY>
|
||||
<BandsCount>3</BandsCount>
|
||||
<MaxConnections>5</MaxConnections>
|
||||
<!--
|
||||
<Cache>
|
||||
<Path>./gdalwmscache</Path>
|
||||
<Depth>2</Depth>
|
||||
<Extension>.jpg</Extension>
|
||||
</Cache>
|
||||
<OfflineMode>true</OfflineMode>
|
||||
-->
|
||||
</GDAL_WMS>
|
||||
13
data/scene/lodearth/map_service_configs/ESRI/TERRAIN.wms
Normal file
@@ -0,0 +1,13 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TiledWMS">
|
||||
<ServerUrl>http://198.102.45.23/arcgis/rest/services/worldelevation3d/terrain3d?</ServerUrl>
|
||||
<TiledGroupName>GCS_Elevation</TiledGroupName>
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<UpperLeftX>-180.0</UpperLeftX>
|
||||
<UpperLeftY>90.0</UpperLeftY>
|
||||
<LowerRightX>180.0</LowerRightX>
|
||||
<LowerRightY>-90.0</LowerRightY>
|
||||
<YOrigin>bottom</YOrigin>
|
||||
</DataWindow>
|
||||
</GDAL_WMS>
|
||||
19
data/scene/lodearth/map_service_configs/GIBS/Coastlines.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TMS">
|
||||
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/Coastlines/default/2013-08-21/EPSG4326_250m/${z}/${y}/${x}.png</ServerUrl>
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<UpperLeftX>-180.0</UpperLeftX>
|
||||
<UpperLeftY>90</UpperLeftY>
|
||||
<LowerRightX>396.0</LowerRightX>
|
||||
<LowerRightY>-198</LowerRightY>
|
||||
<TileLevel>9</TileLevel>
|
||||
<TileCountX>2</TileCountX>
|
||||
<TileCountY>1</TileCountY>
|
||||
<YOrigin>top</YOrigin>
|
||||
</DataWindow>
|
||||
<Projection>EPSG:4326</Projection>
|
||||
<BlockSizeX>512</BlockSizeX>
|
||||
<BlockSizeY>512</BlockSizeY>
|
||||
<BandsCount>4</BandsCount>
|
||||
</GDAL_WMS>
|
||||
@@ -0,0 +1,19 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TMS">
|
||||
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/MODIS_Aqua_CorrectedReflectance_TrueColor/default/2013-08-21/EPSG4326_250m/${z}/${y}/${x}.jpg</ServerUrl>
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<UpperLeftX>-180.0</UpperLeftX>
|
||||
<UpperLeftY>90</UpperLeftY>
|
||||
<LowerRightX>396.0</LowerRightX>
|
||||
<LowerRightY>-198</LowerRightY>
|
||||
<TileLevel>8</TileLevel>
|
||||
<TileCountX>2</TileCountX>
|
||||
<TileCountY>1</TileCountY>
|
||||
<YOrigin>top</YOrigin>
|
||||
</DataWindow>
|
||||
<Projection>EPSG:4326</Projection>
|
||||
<BlockSizeX>512</BlockSizeX>
|
||||
<BlockSizeY>512</BlockSizeY>
|
||||
<BandsCount>3</BandsCount>
|
||||
</GDAL_WMS>
|
||||
@@ -0,0 +1,19 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TMS">
|
||||
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/MODIS_Terra_Brightness_Temp_Band31_Day/default/2013-08-21/EPSG4326_1km/${z}/${y}/${x}.png</ServerUrl>
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<UpperLeftX>-180.0</UpperLeftX>
|
||||
<UpperLeftY>90</UpperLeftY>
|
||||
<LowerRightX>396.0</LowerRightX>
|
||||
<LowerRightY>-198</LowerRightY>
|
||||
<TileLevel>8</TileLevel>
|
||||
<TileCountX>2</TileCountX>
|
||||
<TileCountY>1</TileCountY>
|
||||
<YOrigin>top</YOrigin>
|
||||
</DataWindow>
|
||||
<Projection>EPSG:4326</Projection>
|
||||
<BlockSizeX>512</BlockSizeX>
|
||||
<BlockSizeY>512</BlockSizeY>
|
||||
<BandsCount>4</BandsCount>
|
||||
</GDAL_WMS>
|
||||
@@ -0,0 +1,19 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TMS">
|
||||
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/MODIS_Terra_CorrectedReflectance_TrueColor/default/2016-05-16/EPSG4326_250m/${z}/${y}/${x}.jpg</ServerUrl>
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<UpperLeftX>-180.0</UpperLeftX>
|
||||
<UpperLeftY>90</UpperLeftY>
|
||||
<LowerRightX>396.0</LowerRightX>
|
||||
<LowerRightY>-198</LowerRightY>
|
||||
<TileLevel>8</TileLevel>
|
||||
<TileCountX>2</TileCountX>
|
||||
<TileCountY>1</TileCountY>
|
||||
<YOrigin>top</YOrigin>
|
||||
</DataWindow>
|
||||
<Projection>EPSG:4326</Projection>
|
||||
<BlockSizeX>512</BlockSizeX>
|
||||
<BlockSizeY>512</BlockSizeY>
|
||||
<BandsCount>3</BandsCount>
|
||||
</GDAL_WMS>
|
||||
@@ -0,0 +1,19 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TMS">
|
||||
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/MODIS_Terra_CorrectedReflectance_TrueColor/default/${t}/EPSG4326_250m/${z}/${y}/${x}.jpg</ServerUrl>
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<UpperLeftX>-180.0</UpperLeftX>
|
||||
<UpperLeftY>90</UpperLeftY>
|
||||
<LowerRightX>396.0</LowerRightX>
|
||||
<LowerRightY>-198</LowerRightY>
|
||||
<TileLevel>8</TileLevel>
|
||||
<TileCountX>2</TileCountX>
|
||||
<TileCountY>1</TileCountY>
|
||||
<YOrigin>top</YOrigin>
|
||||
</DataWindow>
|
||||
<Projection>EPSG:4326</Projection>
|
||||
<BlockSizeX>512</BlockSizeX>
|
||||
<BlockSizeY>512</BlockSizeY>
|
||||
<BandsCount>3</BandsCount>
|
||||
</GDAL_WMS>
|
||||
@@ -0,0 +1,19 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TMS">
|
||||
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/MODIS_Water_Mask/default/2013-08-21/EPSG4326_250m/${z}/${y}/${x}.png</ServerUrl>
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<UpperLeftX>-180.0</UpperLeftX>
|
||||
<UpperLeftY>90</UpperLeftY>
|
||||
<LowerRightX>396.0</LowerRightX>
|
||||
<LowerRightY>-198</LowerRightY>
|
||||
<TileLevel>7</TileLevel>
|
||||
<TileCountX>2</TileCountX>
|
||||
<TileCountY>1</TileCountY>
|
||||
<YOrigin>top</YOrigin>
|
||||
</DataWindow>
|
||||
<Projection>EPSG:4326</Projection>
|
||||
<BlockSizeX>512</BlockSizeX>
|
||||
<BlockSizeY>512</BlockSizeY>
|
||||
<BandsCount>4</BandsCount>
|
||||
</GDAL_WMS>
|
||||
@@ -0,0 +1,19 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TMS">
|
||||
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/Reference_Features/default/2013-08-21/EPSG4326_250m/${z}/${y}/${x}.png</ServerUrl>
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<UpperLeftX>-180.0</UpperLeftX>
|
||||
<UpperLeftY>90</UpperLeftY>
|
||||
<LowerRightX>396.0</LowerRightX>
|
||||
<LowerRightY>-198</LowerRightY>
|
||||
<TileLevel>9</TileLevel>
|
||||
<TileCountX>2</TileCountX>
|
||||
<TileCountY>1</TileCountY>
|
||||
<YOrigin>top</YOrigin>
|
||||
</DataWindow>
|
||||
<Projection>EPSG:4326</Projection>
|
||||
<BlockSizeX>512</BlockSizeX>
|
||||
<BlockSizeY>512</BlockSizeY>
|
||||
<BandsCount>4</BandsCount>
|
||||
</GDAL_WMS>
|
||||
@@ -0,0 +1,19 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TMS">
|
||||
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/Reference_Labels/default/2013-08-21/EPSG4326_250m/${z}/${y}/${x}.png</ServerUrl>
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<UpperLeftX>-180.0</UpperLeftX>
|
||||
<UpperLeftY>90</UpperLeftY>
|
||||
<LowerRightX>396.0</LowerRightX>
|
||||
<LowerRightY>-198</LowerRightY>
|
||||
<TileLevel>9</TileLevel>
|
||||
<TileCountX>2</TileCountX>
|
||||
<TileCountY>1</TileCountY>
|
||||
<YOrigin>top</YOrigin>
|
||||
</DataWindow>
|
||||
<Projection>EPSG:4326</Projection>
|
||||
<BlockSizeX>512</BlockSizeX>
|
||||
<BlockSizeY>512</BlockSizeY>
|
||||
<BandsCount>4</BandsCount>
|
||||
</GDAL_WMS>
|
||||
@@ -0,0 +1,8 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TiledWMS">
|
||||
<ServerUrl>http://map1.vis.earthdata.nasa.gov/twms-geo/twms.cgi?</ServerUrl>
|
||||
<TiledGroupName>MODIS TERRA tileset</TiledGroupName>
|
||||
<Change key="${time}">2016-04-12</Change>
|
||||
</Service>
|
||||
<MaxConnections>20</MaxConnections>
|
||||
</GDAL_WMS>
|
||||
@@ -0,0 +1,36 @@
|
||||
<OpenSpaceTemporalGDALDataset>
|
||||
<OpenSpaceTimeStart>2012-05-08</OpenSpaceTimeStart>
|
||||
<OpenSpaceTimeEnd></OpenSpaceTimeEnd>
|
||||
<OpenSpaceTimeResolution>1d</OpenSpaceTimeResolution>
|
||||
<OpenSpaceTimeIdFormat>YYYY-MM-DD</OpenSpaceTimeIdFormat>
|
||||
<GDAL_WMS>
|
||||
<Service name="WMS">
|
||||
<Version>1.1.1</Version>
|
||||
<ServerUrl>http://map2.vis.earthdata.nasa.gov/wms/wms.php?TIME=${OpenSpaceTimeId}</ServerUrl>
|
||||
<SRS>EPSG:4326</SRS>
|
||||
<ImageFormat>image/png</ImageFormat>
|
||||
<Transparent>TRUE</Transparent>
|
||||
<Layers>Aqua_Orbit_Asc</Layers>
|
||||
</Service>
|
||||
<DataWindow>
|
||||
<UpperLeftX>-180.0</UpperLeftX>
|
||||
<UpperLeftY>90</UpperLeftY>
|
||||
<LowerRightX>396.0</LowerRightX>
|
||||
<LowerRightY>-198</LowerRightY>
|
||||
<TileLevel>8</TileLevel>
|
||||
<TileCountX>2</TileCountX>
|
||||
<TileCountY>1</TileCountY>
|
||||
<YOrigin>top</YOrigin>
|
||||
</DataWindow>
|
||||
<Projection>EPSG:4326</Projection>
|
||||
<BlockSizeX>512</BlockSizeX>
|
||||
<BlockSizeY>512</BlockSizeY>
|
||||
<BandsCount>3</BandsCount>
|
||||
</GDAL_WMS>
|
||||
</OpenSpaceTemporalGDALDataset>
|
||||
<!--
|
||||
https://map2.vis.earthdata.nasa.gov/wms/wms.php?TIME=2014-07-17&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=Aqua_Orbit_Asc&WIDTH=512&HEIGHT=512&SRS=EPSG%3A4326&STYLES=&BBOX=46.125%2C48.375%2C46.6875%2C48.9375
|
||||
|
||||
|
||||
https://map2.vis.earthdata.nasa.gov/wms/wms.php?TIME=2015-11-23&service=WMS&request=GetMap&version=1.1.1&layers=Aqua_Orbit_Asc&styles=&srs=EPSG:4326&transparent=FALSE&format=image/png&width=512&height=512&bbox=-180.00000000,18.00000000,-108.00000000,90.00000000
|
||||
-->
|
||||