Merge branch 'develop'

This commit is contained in:
Alexander Bock
2016-12-14 23:03:28 +01:00
996 changed files with 53052 additions and 37149 deletions

87
.gitignore vendored
View File

@@ -34,51 +34,71 @@ log.html
ScriptLog.txt
data/scene/atmosphereearth/textures
data/scene/dawn/ceres/textures
data/scene/dawn/dawn/obj
data/scene/dawn/dawn/textures
data/scene/dawn/vestaprojection/textures
data/scene/dawn/vestaprojection/VestaComet
data/scene/debugglobe/textures
data/scene/earth/textures
data/scene/juno/juno/Juno.mtl
data/scene/juno/juno/Juno.obj
data/scene/juno/juno/spice
data/scene/juno/juno/textures
data/scene/jupiter/callisto/textures
data/scene/jupiter/europa/textures
data/scene/jupiter/ganymede/textures
data/scene/jupiter/io/textures
data/scene/jupiter/jupiter/textures
data/scene/lodglobes/jupiter/callisto/textures
data/scene/lodglobes/earth/textures
data/scene/lodglobes/jupiter/europa/textures
data/scene/lodglobes/jupiter/ganymede/textures
data/scene/lodglobes/jupiter/io/textures
data/scene/lodglobes/jupiter/jupiter/textures
data/scene/lodglobes/mars/textures
data/scene/lodglobes/mercury/textures
data/scene/lodglobes/moon/textures
data/scene/lodglobes/neptune/textures
data/scene/lodglobes/saturn/textures
data/scene/lodglobes/uranus/textures
data/scene/lodglobes/venus/textures
data/scene/mars/textures
data/scene/mercury/textures
data/scene/milkyway/textures
data/scene/milkyway-eso/textures
data/scene/missions/dawn/ceres/textures
data/scene/missions/dawn/dawn/obj
data/scene/missions/dawn/dawn/textures
data/scene/missions/dawn/vestaprojection/textures
data/scene/missions/dawn/vestaprojection/VestaComet
data/scene/missions/juno/juno/Juno.mtl
data/scene/missions/juno/juno/Juno.obj
data/scene/missions/juno/juno/spice
data/scene/missions/juno/juno/textures
data/scene/missions/newhorizons/jupiter/callisto/textures
data/scene/missions/newhorizons/jupiter/europa/textures
data/scene/missions/newhorizons/jupiter/ganymede/textures
data/scene/missions/newhorizons/jupiter/io/textures
data/scene/missions/newhorizons/jupiter/jupiter/ProjectionsOfInterest
data/scene/missions/newhorizons/newhorizons/models
data/scene/missions/newhorizons/newhorizons/textures
data/scene/missions/newhorizons/pluto/charon/textures
data/scene/missions/newhorizons/pluto/pluto/assets
data/scene/missions/newhorizons/pluto/pluto/full_images
data/scene/missions/newhorizons/pluto/pluto/images
data/scene/missions/newhorizons/pluto/pluto/textures
data/scene/missions/osirisrex/bennu/models
data/scene/missions/osirisrex/bennu/textures
data/scene/missions/osirisrex/osirisrex/models
data/scene/missions/osirisrex/osirisrex/textures
data/scene/missions/rosetta/67P/obj
data/scene/missions/rosetta/67P/rosettaimages
data/scene/missions/rosetta/67P/textures
data/scene/missions/rosetta/rosetta/rosetta
data/scene/missions/rosetta/rosetta/textures
data/scene/moon/textures
data/scene/neptune/textures
data/scene/newhorizons/jupiter/callisto/textures
data/scene/newhorizons/jupiter/europa/textures
data/scene/newhorizons/jupiter/ganymede/textures
data/scene/newhorizons/jupiter/io/textures
data/scene/newhorizons/jupiter/jupiter/ProjectionsOfInterest
data/scene/newhorizons/newhorizons/models
data/scene/newhorizons/newhorizons/textures
data/scene/newhorizons/pluto/charon/textures
data/scene/newhorizons/pluto/pluto/assets
data/scene/newhorizons/pluto/pluto/full_images
data/scene/newhorizons/pluto/pluto/images
data/scene/newhorizons/pluto/pluto/textures
data/scene/osirisrex/bennu/models
data/scene/osirisrex/bennu/textures
data/scene/osirisrex/osirisrex/models
data/scene/osirisrex/osirisrex/textures
data/scene/pluto/textures
data/scene/saturn/textures
data/scene/rosetta/67P/obj
data/scene/rosetta/67P/rosettaimages
data/scene/rosetta/67P/textures
data/scene/rosetta/rosetta/rosetta
data/scene/rosetta/rosetta/textures
data/scene/saturn/dione/textures
data/scene/saturn/enceladus/textures
data/scene/saturn/iapetus/textures
data/scene/saturn/mimas/textures
data/scene/saturn/rhea/textures
data/scene/saturn/saturn/textures
data/scene/saturn/tethys/textures
data/scene/saturn/titan/textures
data/scene/stars/colorbv.cmap
data/scene/stars/speck
data/scene/stars/textures
@@ -90,11 +110,12 @@ data/scene/uranus/textures
data/scene/venus/textures
data/scene/volumetricmilkyway/milkyway
data/spice/DawnKernels
data/spice/jup260.bsp
data/spice/de430_1850-2150.bsp
data/spice/jup260.bsp
data/spice/MAR063.BSP
data/spice/NewHorizonsKernels
data/spice/nh_kernels
data/spice/OsirisRexKernels
data/spice/plu055.bsp
data/spice/Rosetta
data/spice/sat375.bsp

11
CREDITS
View File

@@ -2,14 +2,15 @@ Alexander Bock
Joakim Kilby
Emil Axelsson
Jonathas Costa
Niclas Hultberg
Michael Nilsson
Sebastian Piwell
Kalle Bladin
Erik Broberg
Matthew Territo
Jonas Strandstedt
Hans-Christian Helltegen
Michal Marcinkowski
Anton Arbring
Tomas Forsyth Rosin
Kalle Bladin
Erik Broberg
Michael Nilsson
Sebastian Piwell
Niclas Hultberg

View File

@@ -74,4 +74,4 @@ endif ()
# Libtorrent
include_external_library(${APPLICATION_NAME} libtorrent ${application_path}/ext/libtorrent)
target_include_directories(${APPLICATION_NAME} PUBLIC SYSTEM ${application_path}/ext/libtorrent/include)
target_include_directories(${APPLICATION_NAME} SYSTEM PUBLIC ${application_path}/ext/libtorrent/include)

View File

@@ -62,7 +62,7 @@ namespace {
class QLog : public ghoul::logging::Log {
public:
void log(
ghoul::logging::LogManager::LogLevel level,
ghoul::logging::LogLevel level,
const std::string& category,
const std::string& message
) {
@@ -96,7 +96,7 @@ MainWindow::MainWindow()
_informationWidget = new QTextEdit(this);
_informationWidget->setReadOnly(true);
_informationWidget->setEnabled(false);
//_informationWidget->setEnabled(false);
layout->addWidget(_informationWidget, 1, 0, 2, 1);
layout->setRowStretch(1, 10);
layout->setColumnStretch(0, 4);
@@ -106,13 +106,13 @@ MainWindow::MainWindow()
{
QGridLayout* innerLayout = new QGridLayout;
QLabel* shortcutLabel = new QLabel("Keyboard Shortcuts:");
innerLayout->addWidget(shortcutLabel, 0, 0);
QPushButton* shortcutButton = new QPushButton("Open...");
QObject::connect(shortcutButton, SIGNAL(clicked(bool)),
this, SLOT(shortcutButtonPressed())
);
innerLayout->addWidget(shortcutButton, 0, 1);
//QLabel* shortcutLabel = new QLabel("Keyboard Shortcuts:");
//innerLayout->addWidget(shortcutLabel, 0, 0);
//QPushButton* shortcutButton = new QPushButton("Open...");
//QObject::connect(shortcutButton, SIGNAL(clicked(bool)),
// this, SLOT(shortcutButtonPressed())
// );
//innerLayout->addWidget(shortcutButton, 0, 1);
innerLayout->setRowStretch(1, 10);
@@ -189,7 +189,7 @@ void MainWindow::initialize() {
_syncWidget->setWindowModality(Qt::WindowModal);
_syncWidget->hide();
ghoul::logging::LogManager::initialize(ghoul::logging::LogManager::LogLevel::Debug);
ghoul::logging::LogManager::initialize(ghoul::logging::LogLevel::Debug);
LogMgr.addLog( std::make_unique< ghoul::logging::ConsoleLog >() );
// TODO: This can crash the system in cases where the logfile can't be created ---abock
LogMgr.addLog( std::make_unique< ghoul::logging::HTMLLog >("LauncherLog.html", ghoul::logging::HTMLLog::Append::No) );

View File

@@ -31,8 +31,9 @@
#include <ghoul/ghoul.h>
#include <ghoul/filesystem/filesystem.h>
#include <ghoul/filesystem/file.h>
#include <ghoul/misc/dictionary.h>
#include <ghoul/logging/logmanager.h>
#include <ghoul/lua/ghoul_lua.h>
#include <ghoul/misc/dictionary.h>
#include <QApplication>
#include <QCheckBox>

View File

@@ -31,8 +31,13 @@
#include <ghoul/opengl/ghoul_gl.h>
#include <thread>
#include <thread>
#include <sgct.h>
#include <chrono>
#include <thread>
sgct::Engine* _sgctEngine;
void mainInitFunc();
@@ -169,7 +174,27 @@ int main(int argc, char** argv) {
// Main loop
LDEBUG("Starting rendering loop");
_sgctEngine->render();
try {
_sgctEngine->render();
}
catch (const ghoul::RuntimeError& e) {
// Write out all of the information about the exception, flush the logs, and throw
LFATALC(e.component, e.message);
LogMgr.flushLogs();
throw;
}
catch (const std::exception& e) {
// Write out all of the information about the exception, flush the logs, and throw
LFATALC("Exception", e.what());
LogMgr.flushLogs();
throw;
}
catch (...) {
// Write out all of the information about the exception, flush the logs, and throw
LFATALC("Exception", "Unknown exception");
LogMgr.flushLogs();
throw;
}
//clear function bindings to avoid crash after destroying the OpenSpace Engine
sgct::MessageHandler::instance()->setLogToCallback(false);

View File

@@ -10,7 +10,7 @@ function preInitialization()
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
openspace.time.setTime(openspace.time.currentWallTime())
dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
dofile(openspace.absPath('${SCRIPTS}/bind_common_keys.lua'))
end
function postInitialization()

View File

@@ -4,12 +4,14 @@ return {
Name = "EarthBarycenter",
Parent = "SolarSystemBarycenter",
Static = true,
Ephemeris = {
Type = "Spice",
Body = "EARTH BARYCENTER",
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
{
@@ -18,7 +20,7 @@ return {
Renderable = {
Type = "RenderablePlanet",
Frame = "IAU_EARTH",
Body = "EARTH",
Body = "EARTH",
Geometry = {
Type = "SimpleSphere",
Radius = { 6.371, 6 },
@@ -41,7 +43,7 @@ return {
Textures = {
Type = "simple",
Color = "textures/earth_bluemarble.jpg",
Night = "textures/earth_night.jpg",
Night = "textures/earth_night.jpg",
--Height = "textures/earth_bluemarble_height.jpg",
-- Depth = "textures/earth_depth.png",
Reflectance = "textures/earth_reflectance.png",
@@ -105,15 +107,20 @@ return {
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
}
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "EARTH",
Observer = "SUN"
},
Color = { 0.5, 0.8, 1.0 },
-- StartTime = "2016 JUN 01 12:00:00.000",
-- EndTime = "2017 JAN 01 12:00:00.000",
-- SampleInterval = 3600
Period = 365.242,
Resolution = 1000
},
GuiName = "/Solar/EarthTrail"
},
{
Name = "EarthMarker",
@@ -126,7 +133,7 @@ return {
Texture = "textures/marker.png",
BlendMode = "Additive"
},
Ephemeris = {
Ephemeris = {
Type = "Static",
Position = {0, 0, 0, 5}
}

View File

@@ -10,7 +10,7 @@ function preInitialization()
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
openspace.time.setTime("2011 AUG 06 00:00:00")
dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
dofile(openspace.absPath('${SCRIPTS}/bind_common_keys.lua'))
end
function postInitialization()
@@ -46,18 +46,14 @@ return {
"venus",
"earth",
"mars",
"jupiter",
"saturn",
"jupiter/jupiter",
"saturn/saturn",
"uranus",
"neptune",
"pluto",
"stars",
"milkyway",
"rosetta",
"67P",
"dawn",
"vestaprojection",
"ceres"
"missions/dawn"
}
}

View File

@@ -1,197 +0,0 @@
return {
-- Earth barycenter module
{
Name = "EarthBarycenter",
Parent = "SolarSystemBarycenter",
Static = true,
Ephemeris = {
Type = "Spice",
Body = "EARTH BARYCENTER",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
},
},
-- RenderableGlobe module
{
Name = "DebugGlobe",
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 = 512,
HeightMapMinimumSize = 64,
},
Textures = {
ColorTextures = {
{
Type = "Temporal",
Name = "Temporal VIIRS SNPP",
FilePath = "map_service_configs/earth/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/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/earth/ESRI_Imagery_World_2D.wms",
--Enabled = true,
},
{
Name = "MARS_Viking_MDIM21",
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/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/earth/VIIRS_CityLights_2012.xml",
},
},
WaterMasks = {
{
Name = "MODIS_Water_Mask",
FilePath = "map_service_configs/earth/MODIS_Water_Mask.xml",
},
},
Overlays = {
{
Name = "Coastlines",
FilePath = "map_service_configs/earth/Coastlines.xml",
},
{
Name = "Reference_Features",
FilePath = "map_service_configs/earth/Reference_Features.xml",
},
{
Name = "Reference_Labels",
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 = "EARTH BARYCENTER",
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
}
}
--[[,
{
Name = "DebugPlane",
Parent = "DebugGlobe",
Renderable = {
Type = "RenderableDebugPlane",
Texture = 34,
Size = { 1, 7 }
}
}]]
}

View File

@@ -1,13 +0,0 @@
<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>

View File

@@ -1,19 +0,0 @@
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/VIIRS_SNPP_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>

View File

@@ -1,18 +0,0 @@
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>http://dzw9r5p966egh.cloudfront.net/catalog/Mars_Viking_MDIM21_ClrMosaic_global_232m/1.0.0//default/default028mm/${z}/${y}/${x}.jpg</ServerUrl>
</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>256</BlockSizeX>
<BlockSizeY>256</BlockSizeY>
<BandsCount>3</BandsCount>
</GDAL_WMS>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 645 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -1,53 +0,0 @@
-- TextureResolution = "low"
TextureResolution = "med"
-- TextureResolution = "high"
function preInitialization()
--[[
The scripts in this function are executed after the scene is loaded but before the
scene elements have been initialized, thus they should be used to set the time at
which the scene should start and other settings that might determine initialization
critical objects.
]]--
dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
openspace.spice.loadKernel("${SPICE}/naif0011.tls")
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
openspace.time.setTime("2018-10-25T04:00:00.00")
openspace.time.setDeltaTime(0)
end
function postInitialization()
--[[
The scripts in this function are executed after all objects in the scene have been
created and initialized, but before the first render call. This is the place to set
graphical settings for the renderables.
]]--
openspace.printInfo("Setting default values")
openspace.setPropertyValue("Sun.renderable.enabled", false)
openspace.setPropertyValue("SunGlare.renderable.enabled", false)
openspace.setPropertyValue("SunMarker.renderable.enabled", false)
openspace.printInfo("Done setting default values")
openspace.resetCameraDirection()
end
return {
ScenePath = ".",
CommonFolder = "common",
Camera = {
Focus = "DebugModel",
Position = {292946.630948, 377755.961928, 366248.427057},
Rotation = {0.732615, -0.137003, 0.430036, 0.509485},
},
Modules = {
"sun",
"stars",
"debugmodel",
}
}

View File

@@ -1,93 +0,0 @@
function preInitialization()
--[[
The scripts in this function are executed after the scene is loaded but before the
scene elements have been initialized, thus they should be used to set the time at
which the scene should start and other settings that might determine initialization
critical objects.
]]--
--YYYY-MM-DDTHH:MN:SS
--openspace.time.setTime(openspace.time.currentWallTime())
--[[
-- March 9, 2016 total eclipse times from land
-- Palembang, South Sumatra, Indonesia
-- Partial solar eclipse begins: 6:20 a.m. local Western Indonesian Time
-- Total solar eclipse begins: 7:20 a.m. local time
-- Maximum eclipse: 7:21 a.m. local time
-- Total solar eclipse ends: 7:22 a.m. local time
-- Partial solar eclipse ends: 8:31 a.m. local time
-- 6:20 -> 23:20 day before in UTC
]]--
openspace.spice.loadKernel("${SPICE}/naif0011.tls")
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
openspace.time.setTime("2016-03-08T22:45:00")
-- Total Lunar Eclipse Jan 31, 2018 at 10:51:13 UTC
-- Regions seeing, at least, some parts of the eclipse: North/East Europe,
-- Asia, Australia, North/East Africa, North America, North/East South America,
-- Pacific, Atlantic, Indian Ocean, Arctic, Antarctica.
--openspace.time.setTime("2018-01-31T10:30:00")
--openspace.time.setDeltaTime(200.0)
dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
end
function postInitialization()
--[[
The scripts in this function are executed after all objects in the scene have been
created and initialized, but before the first render call. This is the place to set
graphical settings for the renderables.
]]--
openspace.printInfo("Setting default values")
openspace.setPropertyValue("Sun.renderable.enabled", false)
openspace.setPropertyValue("SunMarker.renderable.enabled", false)
openspace.setPropertyValue("EarthMarker.renderable.enabled", false)
--openspace.setPropertyValue("Constellation Bounds.renderable.enabled", false)
openspace.setPropertyValue("PlutoTrail.renderable.enabled", false)
openspace.setPropertyValue("PlutoTexture.renderable.enabled", false)
openspace.setPropertyValue("MilkyWay.renderable.transparency", 0.55)
openspace.setPropertyValue("MilkyWay.renderable.segments", 50)
openspace.printInfo("Done setting default values")
end
return {
ScenePath = ".",
CommonFolder = "common",
Camera = {
Focus = "Earth",
--Focus = "Moon",
Position = {526781518487.171326, 257168309890.072144, -1381125204152.817383},
Rotation = {-0.106166, 0.981574, -0.084545, 0.134513},
},
Modules = {
"sun",
"mercury",
"venus",
"earth",
"moon",
"mars",
--"jupiter",
"saturn",
"uranus",
"neptune",
"stars",
-- "stars-denver",
"milkyway",
-- "milkyway-eso",
--"constellationbounds",
-- "fieldlines",
--"io",
--"europa",
--"ganymede",
--"callisto",
--"gridGalactic",
--"gridEcliptic",
--"gridEquatorial",
}
}

View File

@@ -10,7 +10,7 @@ function preInitialization()
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
openspace.time.setTime(openspace.time.currentWallTime())
dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
dofile(openspace.absPath('${SCRIPTS}/bind_common_keys.lua'))
end
@@ -21,8 +21,6 @@ function postInitialization()
graphical settings for the renderables.
]]--
openspace.printInfo("Setting default values")
openspace.setPropertyValue("Sun.renderable.enab`led", true)
openspace.setPropertyValue("SunGlare.renderable.enabled", false)
openspace.setPropertyValue("SunMarker.renderable.enabled", false)
openspace.setPropertyValue("EarthMarker.renderable.enabled", false)
openspace.setPropertyValue("Constellation Bounds.renderable.enabled", false)
@@ -33,20 +31,6 @@ function postInitialization()
openspace.resetCameraDirection()
openspace.printInfo("Done setting default values")
if openspace.modules.isLoaded("ISWA") then
openspace.iswa.addCdfFiles("${OPENSPACE_DATA}/cdflist.json");
--openspace.iswa.addCygnet(7);
--openspace.iswa.addCygnet(-4,"Data","Gm");
--openspace.iswa.addCygnet(-5,"Data","Gm");
--openspace.iswa.addCygnet(-6,"Data","Gm");
--openspace.iswa.addCygnet(-7,"Data","Gm");
--openspace.iswa.addCygnet(-8,"Data","Gm");
--openspace.iswa.addCygnet(-9,"Data","Gm");
end
end
@@ -55,8 +39,8 @@ return {
CommonFolder = "common",
Camera = {
Focus = "Earth",
Position = {526781518487.171326, 257168309890.072144, -1381125204152.817383},
Rotation = {-0.106166, 0.981574, -0.084545, 0.134513},
Position = {505370268486.696167, 1089706179272.719116, -890259148524.319458},
Rotation = {0.250635, -0.028751, 0.879269, 0.404030},
},
Modules = {
"sun",

View File

@@ -3,6 +3,26 @@ return {
{
Name = "EarthBarycenter",
Parent = "SolarSystemBarycenter",
Transform = {
Translation = {
Type = "SpiceTranslation",
Body = "EARTH",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
}
}
},
{
-- The default reference frame for Earth-orbiting satellites
Name = "EarthInertial",
Parent = "EarthBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "J2000",
DestinationFrame = "GALACTIC",
}
},
},
-- Earth module
{
@@ -30,12 +50,6 @@ return {
}
},
Transform = {
Translation = {
Type = "SpiceEphemeris",
Body = "EARTH",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
},
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_EARTH",
@@ -51,16 +65,20 @@ return {
-- EarthTrail module
{
Name = "EarthTrail",
Parent = "EarthBarycenter",
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
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "EARTH",
Observer = "SUN"
},
Color = { 0.5, 0.8, 1.0 },
-- StartTime = "2016 JUN 01 12:00:00.000",
-- EndTime = "2017 JAN 01 12:00:00.000",
-- SampleInterval = 3600
Period = 365.242,
Resolution = 1000
},
GuiName = "/Solar/EarthTrail"
},
@@ -76,7 +94,7 @@ return {
Texture = "textures/marker.png",
BlendMode = "Additive"
},
Ephemeris = {
Ephemeris = {
Type = "Static",
Position = {0, 0, 0, 5}
}

View File

@@ -10,7 +10,7 @@ function preInitialization()
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
openspace.time.setTime("2015 JAN 01 12:00:00.000")
dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
dofile(openspace.absPath('${SCRIPTS}/bind_common_keys.lua'))
end
function postInitialization()

View File

@@ -1,46 +0,0 @@
function preInitialization()
--[[
The scripts in this function are executed after the scene is loaded but before the
scene elements have been initialized, thus they should be used to set the time at
which the scene should start and other settings that might determine initialization
critical objects.
]]--
--openspace.time.setTime(openspace.time.currentWallTime())
openspace.spice.loadKernel("${SPICE}/naif0011.tls")
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
openspace.time.setTime("2015 NOV 24 00:00:00")
dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
end
function postInitialization()
openspace.printInfo("Setting default values")
openspace.setInteractionMode('GlobeBrowsing')
openspace.time.setDeltaTime(0)
openspace.restoreCameraStateFromFile("debugstart.view")
openspace.resetCameraDirection()
openspace.gui.show()
openspace.printInfo("Done setting default values")
end
return {
ScenePath = ".",
CommonFolder = "common",
Camera = {
Focus = "DebugGlobe",
Position = {3428016.852415, 616607.056698, 60430.587719},
Rotation = {0.178551, -0.280661, 0.916566, 0.221935},
},
Modules = {
"debugglobe"
}
}

View File

@@ -10,17 +10,61 @@ function preInitialization()
openspace.spice.loadKernel("${SPICE}/naif0011.tls")
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
openspace.time.setTime("2015 NOV 24 00:00:00")
openspace.time.setTime(openspace.time.currentWallTime())
dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
dofile(openspace.absPath('${SCRIPTS}/bind_common_keys.lua'))
-- Toggle night texture, shading, atmosphere and water
openspace.bindKey("s",
helper.property.invert('Earth.RenderableGlobe.Layers.NightLayers.Earth at Night 2012.enabled') ..
helper.property.invert('Earth.RenderableGlobe.performShading') ..
helper.property.invert('Earth.RenderableGlobe.atmosphere') ..
helper.property.invert('Earth.RenderableGlobe.Layers.WaterMasks.MODIS_Water_Mask.enabled'),
"Toggle night texture, shading, atmosphere, and water for Earth."
)
-- Toggle background
openspace.bindKey("b",
helper.property.invert('MilkyWay.renderable.enabled') ..
helper.property.invert('Stars.renderable.enabled'),
"Toggle background (Stars and Milkyway)."
)
openspace.bindKey("g",
"openspace.setInteractionMode('GlobeBrowsing')" ..
helper.property.invert('MilkyWay.renderable.enabled') ..
helper.property.invert('Stars.renderable.enabled') ..
helper.property.invert('Earth.RenderableGlobe.Layers.NightLayers.Earth at Night 2012.enabled') ..
helper.property.invert('Earth.RenderableGlobe.performShading') ..
helper.property.invert('Mars.RenderableGlobe.performShading') ..
helper.property.invert('Earth.RenderableGlobe.atmosphere') ..
helper.property.invert('Earth.RenderableGlobe.Layers.WaterMasks.MODIS_Water_Mask.enabled') ..
helper.property.invert('Moon.RenderableGlobe.enabled') ..
helper.property.invert('Sun.renderable.enabled'),
"Toogles background and shading mode on the Earth and Mars alongside visibility of the Moon and the Sun"
)
openspace.bindKey("h",
"openspace.setPropertyValue('*Trail.renderable.enabled', false)",
"Disables visibility of the trails"
)
--[[
-- Toggle trails
openspace.bindKey("o",
'openspace.setPropertyValue("*Trail.renderable.enabled", false)'
)
openspace.bindKey("p",
'openspace.setPropertyValue("*Trail.renderable.enabled", true)'
)
]]
end
function postInitialization()
openspace.printInfo("Setting default values")
openspace.setInteractionMode('GlobeBrowsing')
--openspace.restoreCameraStateFromFile("camera_lookat_planet.lua")
openspace.setPropertyValue("MilkyWay.renderable.transparency", 0.55)
openspace.setPropertyValue("MilkyWay.renderable.segments", 50)
@@ -29,9 +73,11 @@ function postInitialization()
openspace.setPropertyValue("SunGlare.renderable.enabled", false)
openspace.setPropertyValue("SunMarker.renderable.enabled", false)
openspace.setPropertyValue("Earth.RenderableGlobe.atmosphere", true)
openspace.setPropertyValue("Earth.RenderableGlobe.Layers.NightLayers.Earth at Night 2012.settings.gamma", 1.8)
openspace.setPropertyValue("Earth.RenderableGlobe.Layers.NightLayers.Earth at Night 2012.settings.multiplier", 10)
openspace.resetCameraDirection()
openspace.time.setDeltaTime(0)
openspace.printInfo("Done setting default values")
end
@@ -41,19 +87,16 @@ return {
ScenePath = ".",
CommonFolder = "common",
Camera = {
Focus = "Mars",
Focus = "Earth",
Position = {138530625167.228241, 42217005217.825005, -46336405755.934372},
Rotation = {0.633883, 0.492158, -0.123913, -0.583625},
},
Modules = {
"lodearth",
"lodmoon",
"lodmars",
"lodmercury",
"lodglobes",
"sun",
"stars",
"milkyway",
"milkyway",
}
}

View File

@@ -9,7 +9,6 @@ function preInitialization()
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
openspace.time.setTime("2016-07-05T10:05:00.00")
openspace.time.setDeltaTime(0)
dofile(openspace.absPath('${SCRIPTS}/common.lua'))
openspace.clearKeys()
@@ -18,8 +17,6 @@ function preInitialization()
1, 5, 10, 20, 40, 90, 360, 720, 2880, 14400,
28800, 57600, 115200, 230400, 460800, 921600, 1843200, 3686400, 7372800, 14745600
})
openspace.bindKey("F6", "openspace.setPropertyValue('Interaction.coordinateSystem', 'Jupiter');");
end
function postInitialization()
@@ -55,12 +52,12 @@ return {
"earth",
"mars",
"jupiter",
"saturn",
"saturn/saturn",
"uranus",
"neptune",
"stars",
"milkyway",
"juno"
"missions/juno"
}
}

View File

@@ -24,7 +24,7 @@ return {
},
Transform = {
Translation = {
Type = "SpiceEphemeris",
Type = "SpiceTranslation",
Body = "CALLISTO",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
@@ -45,19 +45,15 @@ return {
Name = "CallistoTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "CALLISTO",
Frame = "GALACTIC",
Observer = "JUPITER BARYCENTER",
RGB = { 0.4, 0.3, 0.01 },
TropicalOrbitPeriod = 60 ,
EarthOrbitRatio = 0.045,
DayLength = 9.9259,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "CALLISTO",
Observer = "JUPITER BARYCENTER",
},
Color = { 0.4, 0.3, 0.01 },
Period = 17,
Resolution = 1000
}
}
}

View File

@@ -24,7 +24,7 @@ return {
},
Transform = {
Translation = {
Type = "SpiceEphemeris",
Type = "SpiceTranslation",
Body = "EUROPA",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
@@ -33,11 +33,7 @@ return {
Type = "SpiceRotation",
SourceFrame = "IAU_EUROPA",
DestinationFrame = "IAU_JUPITER",
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
}
}
},
-- EuropaTrail module
@@ -45,19 +41,15 @@ return {
Name = "EuropaTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "EUROPA",
Frame = "GALACTIC",
Observer = "JUPITER BARYCENTER",
RGB = { 0.5, 0.3, 0.3 },
TropicalOrbitPeriod = 60,
EarthOrbitRatio = 0.01,
DayLength = 9.9259,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "EUROPA",
Observer = "JUPITER BARYCENTER",
},
Color = { 0.5, 0.3, 0.3 },
Period = 85 / 24,
Resolution = 1000
}
}
}

View File

@@ -24,7 +24,7 @@ return {
},
Transform = {
Translation = {
Type = "SpiceEphemeris",
Type = "SpiceTranslation",
Body = "GANYMEDE",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
@@ -45,19 +45,15 @@ return {
Name = "GanymedeTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "GANYMEDE",
Frame = "GALACTIC",
Observer = "JUPITER BARYCENTER",
RGB = { 0.4, 0.3, 0.3 },
TropicalOrbitPeriod = 60 ,
EarthOrbitRatio = 0.019,
DayLength = 9.9259,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "GANYMEDE",
Observer = "JUPITER BARYCENTER",
},
Color = { 0.4, 0.3, 0.3 },
Period = 172 / 24,
Resolution = 1000
}
}
}

View File

@@ -24,7 +24,7 @@ return {
},
Transform = {
Translation = {
Type = "SpiceEphemeris",
Type = "SpiceTranslation",
Body = "IO",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
@@ -45,19 +45,15 @@ return {
Name = "IoTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "IO",
Frame = "GALACTIC",
Observer = "JUPITER BARYCENTER",
RGB = { 0.4, 0.4, 0.2 },
TropicalOrbitPeriod = 40 ,
EarthOrbitRatio = 0.0045,
DayLength = 9.9259,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "IO",
Observer = "JUPITER BARYCENTER",
},
Color = { 0.4, 0.4, 0.2 },
Period = 42 / 24,
Resolution = 1000
}
}
}

View File

@@ -2,4 +2,7 @@ return {
FileRequest = {
{ Identifier = "jupiter_textures", Destination = "textures", Version = 1 }
},
TorrentFiles = {
{ File = "jup260.bsp.torrent", Destination = "${SPICE}" },
}
}

View File

@@ -5,7 +5,7 @@ return {
Parent = "SolarSystemBarycenter",
Transform = {
Translation = {
Type = "SpiceEphemeris",
Type = "SpiceTranslation",
Body = "JUPITER BARYCENTER",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
@@ -37,7 +37,7 @@ return {
},
Transform = {
Translation = {
Type = "StaticEphemeris",
Type = "StaticTranslation",
Position = {0, 0, 0}, -- jupiter is at its barycenter
},
Rotation = {
@@ -56,19 +56,15 @@ return {
Name = "JupiterTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "JUPITER BARYCENTER",
Frame = "GALACTIC",
Observer = "SUN",
RGB = { 0.8, 0.7, 0.7 },
TropicalOrbitPeriod = 4330.595 ,
EarthOrbitRatio = 11.857,
DayLength = 9.9259,
Textures = {
Type = "simple",
Color = "${COMMON_MODULE}/textures/glare_blue.png",
-- need to add different texture
},
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "JUPITER BARYCENTER",
Observer = "SUN",
},
Color = { 0.8, 0.7, 0.7 },
Period = 4330.595,
Resolution = 1000
}
}
}

View File

@@ -1,24 +0,0 @@
<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>

View File

@@ -1,19 +0,0 @@
<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>

View File

@@ -1,19 +0,0 @@
<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>

View File

@@ -1,19 +0,0 @@
<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>

View File

@@ -1,19 +0,0 @@
<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>

View File

@@ -1,19 +0,0 @@
<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>

View File

@@ -1,19 +0,0 @@
<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>

View File

@@ -1,19 +0,0 @@
<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>

View File

@@ -1,19 +0,0 @@
<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>

View File

@@ -1,8 +0,0 @@
<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>

View File

@@ -1,36 +0,0 @@
<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
-->

View File

@@ -1,25 +0,0 @@
<OpenSpaceTemporalGDALDataset>
<OpenSpaceTimeStart>2015-11-24</OpenSpaceTimeStart>
<OpenSpaceTimeEnd></OpenSpaceTimeEnd>
<OpenSpaceTimeResolution>1d</OpenSpaceTimeResolution>
<OpenSpaceTimeIdFormat>YYYY-MM-DD</OpenSpaceTimeIdFormat>
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/VIIRS_SNPP_CorrectedReflectance_TrueColor/default/${OpenSpaceTimeId}/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>
</OpenSpaceTemporalGDALDataset>

View File

@@ -1,19 +0,0 @@
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/VIIRS_CityLights_2012/default/2012-01-01/EPSG4326_500m/${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>4</BandsCount>
</GDAL_WMS>

View File

@@ -1,19 +0,0 @@
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/ASTER_GDEM_Greyscale_Shaded_Relief/default/2016-05-16/EPSG4326_31m/${z}/${y}/${x}.jpg</ServerUrl>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>90</UpperLeftY>
<LowerRightX>396.0</LowerRightX>
<LowerRightY>-198</LowerRightY>
<TileLevel>12</TileLevel>
<TileCountX>2</TileCountX>
<TileCountY>1</TileCountY>
<YOrigin>top</YOrigin>
</DataWindow>
<Projection>EPSG:4326</Projection>
<BlockSizeX>512</BlockSizeX>
<BlockSizeY>512</BlockSizeY>
<BandsCount>1</BandsCount>
</GDAL_WMS>

View File

@@ -1,10 +0,0 @@
<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>

View File

@@ -1,19 +0,0 @@
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/MLS_O3_46hPa_Day/default/2013-08-21/EPSG4326_2km/${z}/${y}/${x}.png</ServerUrl>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>90</UpperLeftY>
<LowerRightX>396.0</LowerRightX>
<LowerRightY>-198</LowerRightY>
<TileLevel>5</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>

View File

@@ -1,20 +0,0 @@
<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>

View File

@@ -1,7 +0,0 @@
<GDAL_WMS>
<Service name="VirtualEarth">
<ServerUrl>http://a${server_num}.ortho.tiles.virtualearth.net/tiles/a${quadkey}.jpeg?g=90</ServerUrl>
</Service>
<MaxConnections>4</MaxConnections>
<Cache/>
</GDAL_WMS>

View File

@@ -1,79 +0,0 @@
<GDAL_WMS>
<Service name="TiledWMS">
<ServerUrl>http://192.168.1.167/OnMars/wms.cgi?</ServerUrl>
<TiledGroupName>CTX Mosaic</TiledGroupName>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>90.0</UpperLeftY>
<LowerRightX>180.0</LowerRightX>
<LowerRightY>-90.0</LowerRightY>
<YOrigin>bottom</YOrigin>
</DataWindow>
<BandsCount>1</BandsCount>
</GDAL_WMS>
<!--
<GDAL_WMS>
<Service name="WMS">
<ServerUrl>http://192.168.1.167/OnMars/wms.cgi?</ServerUrl>
<Layers>CTX</Layers>
<SRS>IAU2000:49900</SRS>
<CRS>IAU2000:49900</CRS>
<ImageFormat>image/jpeg</ImageFormat>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>90.0</UpperLeftY>
<LowerRightX>180.0</LowerRightX>
<LowerRightY>-90.0</LowerRightY>
<TileLevel>8</TileLevel>
<TileCountX>2</TileCountX>
<TileCountY>1</TileCountY>
<YOrigin>bottom</YOrigin>
</DataWindow>
<BlockSizeX>256</BlockSizeX>
<BlockSizeY>256</BlockSizeY>
</GDAL_WMS>
<GDAL_WMS>
<Service name="WMS">
<ServerUrl>http://192.168.1.167/OnMars/wms.cgi?</ServerUrl>
<Layers>CTX</Layers>
<SRS>IAU2000:49900</SRS>
<CRS>IAU2000:49900</CRS>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>90.0</UpperLeftY>
<LowerRightX>180.0</LowerRightX>
<LowerRightY>-90.0</LowerRightY>
<TileLevel>8</TileLevel>
<TileCountX>2</TileCountX>
<TileCountY>1</TileCountY>
<YOrigin>bottom</YOrigin>
</DataWindow>
</GDAL_WMS>
<GDAL_WMS>
<Service name="WMS">
<ServerUrl>http://192.168.1.167/OnMars/wms.cgi?</ServerUrl>
<ImageFormat>image/png</ImageFormat>
<Layers>CTX</Layers>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>90.0</UpperLeftY>
<LowerRightX>180.0</LowerRightX>
<LowerRightY>-90.0</LowerRightY>
<YOrigin>bottom</YOrigin>
</DataWindow>
<DataType>Byte8</DataType>
</GDAL_WMS>
-->

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

View File

@@ -1,20 +0,0 @@
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>http://planetarydev-1803629091.us-west-2.elb.amazonaws.com/Earth/Bmng/tile/0/${z}/${y}/${x}</ServerUrl>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>90.0</UpperLeftY>
<LowerRightX>180.0</LowerRightX>
<LowerRightY>-90.0</LowerRightY>
<SizeX>86400</SizeX>
<SizeY>43200</SizeY>
<TileLevel>8</TileLevel>
<YOrigin>top</YOrigin>
</DataWindow>
<Projection>EPSG:4326</Projection>
<BlockSizeX>240</BlockSizeX>
<BlockSizeY>240</BlockSizeY>
<BandsCount>3</BandsCount>
<MaxConnections>10</MaxConnections>
</GDAL_WMS>

View File

@@ -1,20 +0,0 @@
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>http://planetarydev-1803629091.us-west-2.elb.amazonaws.com/Earth/Bmng/tile/2/${z}/${y}/${x}</ServerUrl>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>90.0</UpperLeftY>
<LowerRightX>180.0</LowerRightX>
<LowerRightY>-90.0</LowerRightY>
<SizeX>86400</SizeX>
<SizeY>43200</SizeY>
<TileLevel>8</TileLevel>
<YOrigin>top</YOrigin>
</DataWindow>
<Projection>EPSG:4326</Projection>
<BlockSizeX>240</BlockSizeX>
<BlockSizeY>240</BlockSizeY>
<BandsCount>3</BandsCount>
<MaxConnections>10</MaxConnections>
</GDAL_WMS>

View File

@@ -1,291 +0,0 @@
return {
-- Earth barycenter module
{
Name = "EarthBarycenter",
Parent = "SolarSystemBarycenter",
},
-- 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
},
GuiName = "/Solar/EarthTrail"
},
-- RenderableGlobe module
{
Name = "LodEarth",
Parent = "EarthBarycenter",
Ephemeris = {
Type = "Spice",
Body = "EARTH",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430.bsp"
},
Rotation = {
Type = "Spice",
Frame = "IAU_EARTH",
Reference = "ECLIPJ2000"
},
Renderable = {
Type = "RenderableGlobe",
Frame = "IAU_EARTH",
Body = "EARTH",
Radii = {6378137.0, 6378137.0, 6356752.314245}, -- Earth's radii
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
TextureInitData = {
ColorTextureMinimumSize = 512,--512,
OverlayMinimumSize = 512,
HeightMapMinimumSize = 64,
},
Textures = {
ColorTextures = {
{
Name = "Black Marble Next Generation (January)",
FilePath = "earth/BmngJan.wms",
Enabled = true
},
{
Name = "Black Marble Next Generation Bathymetry (January)",
FilePath = "earth/BmngJanBathy.wms",
},
},
GrayScaleOverlays = {
},
NightTextures = {
},
WaterMasks = {
},
Overlays = {
},
HeightMaps = {
{
Name = "Black Marble Next Generation (Januray)",
FilePath = "earth/BmngJanTopo.wms",
Enabled = true,
},
},
HeightMapOverlays = {
},
},
}
},
{
Name = "LodMoon",
Parent = "EarthBarycenter",
Ephemeris = {
Type = "Spice",
Body = "MOON",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430.bsp"
},
Rotation = {
Type = "Spice",
Frame = "IAU_MOON",
Reference = "ECLIPJ2000"
},
Renderable = {
Type = "RenderableGlobe",
Frame = "IAU_MOON",
Body = "MOON",
Radii = {1737000.0, 1737000.0, 1737000.0}, -- Earth's radii
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
TextureInitData = {
ColorTextureMinimumSize = 512,--512,
OverlayMinimumSize = 512,
HeightMapMinimumSize = 64,
},
Textures = {
ColorTextures = {
{
Name = "ClemUvvis",
FilePath = "moon/ClemUvvis.wms",
Enabled = true,
},
{
Name = "Gebco",
FilePath = "moon/Gebco.wms",
},
{
Name = "Kaguya",
FilePath = "moon/Kaguya.wms",
},
-- {
-- Name = "LolaClrShade",
-- FilePath = "moon/LolaClrShade.wms",
-- },
-- {
-- Name = "LolaShade",
-- FilePath = "moon/LolaShade.wms",
-- },
{
Name = "UvvisHybrid",
FilePath = "moon/UvvisHybrid.wms",
},
{
Name = "Wac",
FilePath = "moon/Wac.wms",
},
},
GrayScaleOverlays = {
},
NightTextures = {
},
WaterMasks = {
},
Overlays = {
},
HeightMaps = {
{
Name = "LolaDem",
FilePath = "moon/LolaDem.wms",
Enabled = true,
},
},
HeightMapOverlays = {
},
},
},
},
{
Name = "LodMars",
Parent = "EarthBarycenter",
Ephemeris = {
Type = "Spice",
Body = "MARS",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/MAR063.BSP"
},
Rotation = {
Type = "Spice",
Frame = "IAU_MARS",
Reference = "ECLIPJ2000"
},
Renderable = {
Type = "RenderableGlobe",
Frame = "IAU_MARS",
Body = "MARS",
Radii = {3390000.0, 3390000.0, 3390000.0}, -- Earth's radii
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
TextureInitData = {
ColorTextureMinimumSize = 512,--512,
OverlayMinimumSize = 512,
HeightMapMinimumSize = 64,
},
Textures = {
ColorTextures = {
{
Name = "MDIM",
FilePath = "mars/Mdim.wms",
Enabled = true,
},
{
Name = "MolaPseudoColor",
FilePath = "mars/MolaPseudoColor.wms",
},
},
GrayScaleOverlays = {
{
Name = "ThemisIRDay",
FilePath = "mars/ThemisIRDay.wms",
},
{
Name = "ThemisIRNight",
FilePath = "mars/ThemisIRNight.xml",
},
},
NightTextures = {
},
WaterMasks = {
},
Overlays = {
},
HeightMaps = {
{
Name = "MolaElevation",
FilePath = "mars/MolaElevation.wms",
Enabled = true,
},
},
HeightMapOverlays = {
},
},
}
},
{
Name = "LodMercury",
Parent = "EarthBarycenter",
Ephemeris = {
Type = "Spice",
Body = "MERCURY",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430.bsp"
},
Rotation = {
Type = "Spice",
Frame = "IAU_MERCURY",
Reference = "ECLIPJ2000"
},
Renderable = {
Type = "RenderableGlobe",
Frame = "IAU_MERCURY",
Body = "MERCURY",
Radii = {2440000.0, 2440000.0, 2440000.0}, -- Earth's radii
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
TextureInitData = {
ColorTextureMinimumSize = 512,--512,
OverlayMinimumSize = 512,
HeightMapMinimumSize = 64,
},
Textures = {
ColorTextures = {
{
Name = "MessengerMdis",
FilePath = "mercury/MessengerMdis.wms",
Enabled = true
},
{
Name = "MessengerMosaic",
FilePath = "mercury/MessengerMosaic.wms",
}
},
GrayScaleOverlays = {
},
NightTextures = {
},
WaterMasks = {
},
Overlays = {
},
HeightMaps = {
},
HeightMapOverlays = {
},
},
}
},
}

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -1,5 +1,5 @@
return {
FileRequest = {
{ Identifier = "earth_textures", Destination = "textures", Version = 1 }
{ Identifier = "earth_textures", Destination = "textures", Version = 2 }
},
}
}

View File

@@ -6,7 +6,7 @@ return {
Parent = "SolarSystemBarycenter",
Transform = {
Translation = {
Type = "SpiceEphemeris",
Type = "SpiceTranslation",
Body = "EARTH",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
@@ -18,15 +18,20 @@ return {
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
}
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "EARTH",
Observer = "SUN"
},
Color = { 0.5, 0.8, 1.0 },
-- StartTime = "2016 JUN 01 12:00:00.000",
-- EndTime = "2017 JAN 01 12:00:00.000",
-- SampleInterval = 3600
Period = 365.242,
Resolution = 1000
},
GuiName = "/Solar/EarthTrail"
},
-- RenderableGlobe module
{
@@ -49,54 +54,69 @@ return {
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
TextureInitData = {
ColorTextureMinimumSize = 512,--512,
OverlayMinimumSize = 512,
HeightMapMinimumSize = 64,
},
Textures = {
ColorTextures = {
Layers = {
ColorLayers = {
{
Name = "ESRI VIIRS Combo",
Type = "ByLevel",
LevelTileProviders = {
{
MaxLevel = 7,
TileProvider = { FilePath = "map_service_configs/GIBS/VIIRS_SNPP_CorrectedReflectance_TrueColor.xml", },
},
{
MaxLevel = 22,
TileProvider = { FilePath = "map_service_configs/ESRI/ESRI_Imagery_World_2D.wms" },
},
},
Enabled = true,
},
{
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 = "Temporal_GHRSST_L4_MUR_Sea_Surface_Temperature",
FilePath = "map_service_configs/GIBS/Temporal_GHRSST_L4_MUR_Sea_Surface_Temperature.xml",
},
-- {
-- Type = "SingleImage",
-- Name = "Debug Tiles",
-- FilePath = "../../debugglobe/textures/test_tile.png",
-- },
{
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,
Name = "BMNG",
FilePath = "map_service_configs/Utah/Bmng.wms"
}
-- {
-- Type = "Temporal",
-- Name = "NOAA RT",
-- FilePath = "map_service_configs/other/noaa_rt.xml"
-- }
},
GrayScaleOverlays = {
},
NightTextures = {
GrayScaleLayers = { },
GrayScaleColorOverlays = { },
NightLayers = {
{
Name = "Earth at Night 2012",
FilePath = "map_service_configs/GIBS/VIIRS_CityLights_2012.xml",
Enabled = true,
},
},
WaterMasks = {
{
Name = "MODIS_Water_Mask",
FilePath = "map_service_configs/GIBS/MODIS_Water_Mask.xml",
Enabled = true,
},
{
Name = "GEBCO",
FilePath = "map_service_configs/Utah/Gebco.wms",
}
},
Overlays = {
ColorOverlays = {
{
Name = "Coastlines",
FilePath = "map_service_configs/GIBS/Coastlines.xml",
@@ -109,19 +129,37 @@ return {
Name = "Reference_Labels",
FilePath = "map_service_configs/GIBS/Reference_Labels.xml",
},
{
Type = "TileIndex",
Name = "Tile Indices",
},
{
Type = "SizeReference",
Name = "Size Reference",
Radii = earthEllipsoid,
BackgroundImagePath = "../debugglobe/textures/arrows.png",
BackgroundImagePath = "../arrows.png",
},
--[[{
Name = "Test",
Type = "LevelSpecific",
LevelTileProviders = {
{
MaxLevel = 5,
TileProvider = { Type = "TileIndex" },
},
{
MaxLevel = 7,
TileProvider = { Type = "SingleImage", FilePath = "../../debugglobe/textures/test_tile.png",},
},
},
},]]
},
HeightMaps = {
HeightLayers = {
{
Name = "Terrain tileset",
FilePath = "map_service_configs/ESRI/TERRAIN.wms",
Enabled = true,
MinimumPixelSize = 90,
MinimumPixelSize = 64,
DoPreProcessing = true,
},
},

View File

@@ -13,12 +13,10 @@
<BlockSizeY>512</BlockSizeY>
<BandsCount>3</BandsCount>
<MaxConnections>5</MaxConnections>
<!--
<Cache>
<Path>./gdalwmscache</Path>
<Depth>2</Depth>
<Path>./GDAL_Cache_ESRI_Imagery_World_2d</Path>
<Depth>10</Depth>
<Extension>.jpg</Extension>
</Cache>
<OfflineMode>true</OfflineMode>
-->
<OfflineMode>false</OfflineMode>
</GDAL_WMS>

View File

@@ -10,4 +10,5 @@
<LowerRightY>-90.0</LowerRightY>
<YOrigin>bottom</YOrigin>
</DataWindow>
<Timeout>2</Timeout>
</GDAL_WMS>

View File

@@ -1,11 +1,11 @@
<OpenSpaceTemporalGDALDataset>
<OpenSpaceTimeStart>2012-05-08</OpenSpaceTimeStart>
<OpenSpaceTimeStart>2002-06-01</OpenSpaceTimeStart>
<OpenSpaceTimeEnd></OpenSpaceTimeEnd>
<OpenSpaceTimeResolution>1d</OpenSpaceTimeResolution>
<OpenSpaceTimeIdFormat>YYYY-MM-DD</OpenSpaceTimeIdFormat>
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/MODIS_Aqua_CorrectedReflectance_TrueColor/default/${OpenSpaceTimeId}/EPSG4326_250m/${z}/${y}/${x}.jpg</ServerUrl>
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/GHRSST_L4_MUR_Sea_Surface_Temperature/default/${OpenSpaceTimeId}/EPSG4326_1km/${z}/${y}/${x}.png</ServerUrl>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
@@ -20,6 +20,6 @@
<Projection>EPSG:4326</Projection>
<BlockSizeX>512</BlockSizeX>
<BlockSizeY>512</BlockSizeY>
<BandsCount>3</BandsCount>
<BandsCount>4</BandsCount>
</GDAL_WMS>
</OpenSpaceTemporalGDALDataset>

View File

@@ -1,6 +1,6 @@
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/VIIRS_SNPP_CorrectedReflectance_TrueColor/default/2016-05-16/EPSG4326_250m/${z}/${y}/${x}.jpg</ServerUrl>
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/VIIRS_SNPP_CorrectedReflectance_TrueColor/default/2016-10-01/EPSG4326_250m/${z}/${y}/${x}.jpg</ServerUrl>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>

View File

@@ -1,14 +1,14 @@
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>http://planetarydev-1803629091.us-west-2.elb.amazonaws.com/Earth/Bmng/tile/1/${z}/${y}/${x}</ServerUrl>
<ServerUrl>http://asgard.sci.utah.edu/Earth/Bmng/tile/${z}/${y}/${x}</ServerUrl>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>90.0</UpperLeftY>
<LowerRightX>180.0</LowerRightX>
<LowerRightY>-90.0</LowerRightY>
<SizeX>86400</SizeX>
<SizeY>43200</SizeY>
<SizeX>86400</SizeX>
<SizeY>43200</SizeY>
<TileLevel>8</TileLevel>
<YOrigin>top</YOrigin>
</DataWindow>
@@ -17,4 +17,4 @@
<BlockSizeY>240</BlockSizeY>
<BandsCount>3</BandsCount>
<MaxConnections>10</MaxConnections>
</GDAL_WMS>
</GDAL_WMS>

View File

@@ -1,14 +1,14 @@
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>http://planetarydev-1803629091.us-west-2.elb.amazonaws.com/Earth/Gebco/tile/${z}/${y}/${x}</ServerUrl>
<ServerUrl>http://asgard.sci.utah.edu/Earth/Gebco/tile/${z}/${y}/${x}</ServerUrl>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>90.0</UpperLeftY>
<LowerRightX>180.0</LowerRightX>
<LowerRightY>-90.0</LowerRightY>
<SizeX>43200</SizeX>
<SizeY>21600</SizeY>
<SizeX>43200</SizeX>
<SizeY>21600</SizeY>
<TileLevel>6</TileLevel>
<YOrigin>top</YOrigin>
</DataWindow>
@@ -16,6 +16,5 @@
<BlockSizeX>360</BlockSizeX>
<BlockSizeY>360</BlockSizeY>
<BandsCount>1</BandsCount>
<DataType>Int16</DataType>
<MaxConnections>10</MaxConnections>
</GDAL_WMS>
</GDAL_WMS>

View File

@@ -0,0 +1,8 @@
<OpenSpaceTemporalGDALDataset>
<OpenSpaceTimeStart>2016-11-28T05:00:00</OpenSpaceTimeStart>
<OpenSpaceTimeEnd>2016-12-06T04:30:00</OpenSpaceTimeEnd>
<OpenSpaceTimeResolution>30m</OpenSpaceTimeResolution>
<OpenSpaceTimeIdFormat>YYYY-MM-DDThh_mm_ssZ</OpenSpaceTimeIdFormat>
<FilePath>D:/NOAA/rt/imergert_composite.${OpenSpaceTimeId}.png</FilePath>
</OpenSpaceTemporalGDALDataset>

View File

@@ -0,0 +1,63 @@
return {
-- RenderableGlobe module
{
Name = "Callisto",
Parent = "JupiterBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_CALLISTO",
DestinationFrame = "GALACTIC",
},
Translation = {
Type = "SpiceTranslation",
Body = "CALLISTO",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
},
Renderable = {
Type = "RenderableGlobe",
Radii = {2631000, 2631000, 2631000},
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Callisto Texture",
FilePath = "textures/callisto.jpg",
Enabled = true,
MinimumPixelSize = 112,
},
},
GrayScaleLayers = { },
GrayScaleColorOverlays = { },
NightLayers = { },
WaterMasks = { },
ColorOverlays = { },
HeightLayers = { },
},
}
},
-- Trail module
{
Name = "CallistoTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "CALLISTO",
Observer = "JUPITER BARYCENTER",
},
Color = { 0.4, 0.3, 0.01 },
Period = 17,
Resolution = 1000
}
}
}

View File

@@ -0,0 +1,64 @@
return {
-- RenderableGlobe module
{
Name = "Europa",
Parent = "JupiterBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_EUROPA",
DestinationFrame = "GALACTIC",
},
Translation = {
Type = "SpiceTranslation",
Body = "EUROPA",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
},
Renderable = {
Type = "RenderableGlobe",
Radii = {1561000, 1561000, 1561000},
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Europa Texture",
FilePath = "textures/europa.jpg",
Enabled = true,
MinimumPixelSize = 256,
},
},
GrayScaleLayers = { },
GrayScaleColorOverlays = { },
NightLayers = { },
WaterMasks = { },
ColorOverlays = { },
HeightLayers = { },
},
}
},
-- Trail module
{
Name = "EuropaTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "EUROPA",
Observer = "JUPITER BARYCENTER",
},
Color = { 0.5, 0.3, 0.3 },
Period = 85 / 24,
Resolution = 1000
}
}
}

View File

@@ -0,0 +1,63 @@
return {
-- RenderableGlobe module
{
Name = "Ganymede",
Parent = "JupiterBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_GANYMEDE",
DestinationFrame = "GALACTIC",
},
Translation = {
Type = "SpiceTranslation",
Body = "GANYMEDE",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
},
Renderable = {
Type = "RenderableGlobe",
Radii = {2631000, 2631000, 2631000},
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Ganymede Texture",
FilePath = "textures/ganymede.jpg",
Enabled = true,
MinimumPixelSize = 112,
},
},
GrayScaleLayers = { },
GrayScaleColorOverlays = { },
NightLayers = { },
WaterMasks = { },
ColorOverlays = { },
HeightLayers = { },
},
}
},
-- Trail module
{
Name = "GanymedeTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "GANYMEDE",
Observer = "JUPITER BARYCENTER",
},
Color = { 0.4, 0.3, 0.3 },
Period = 172 / 24,
Resolution = 1000
}
}
}

View File

@@ -0,0 +1,62 @@
return {
-- RenderableGlobe module
{
Name = "Io",
Parent = "JupiterBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_IO",
DestinationFrame = "GALACTIC",
},
Translation = {
Type = "SpiceTranslation",
Body = "IO",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
},
Renderable = {
Type = "RenderableGlobe",
Radii = {1821300, 1821300, 1821300},
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Io Texture",
FilePath = "textures/io.jpg",
Enabled = true,
},
},
GrayScaleLayers = { },
GrayScaleColorOverlays = { },
NightLayers = { },
WaterMasks = { },
ColorOverlays = { },
HeightLayers = { },
},
}
},
-- Trail module
{
Name = "IoTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "IO",
Observer = "JUPITER BARYCENTER",
},
Color = { 0.4, 0.4, 0.2 },
Period = 42 / 24,
Resolution = 1000
}
}
}

View File

@@ -0,0 +1,8 @@
return {
FileRequest = {
{ Identifier = "jupiter_textures", Destination = "textures", Version = 1 }
},
TorrentFiles = {
{ File = "jup260.bsp.torrent", Destination = "${SPICE}" },
}
}

Some files were not shown because too many files have changed in this diff Show More