Merge branch 'master' of github.com:OpenSpace/OpenSpace into feature/data-management

Conflicts:
	data/scene/default.scene
	modules/sync/syncmodule.h
	openspace.cfg
	src/engine/openspaceengine.cpp
	src/scene/scene.cpp
	src/scene/scene_doc.inl
	src/scene/scenegraphnode.cpp
	src/scene/scenegraphnode_doc.inl
	src/scene/sceneloader.cpp
	src/scripting/scriptengine.cpp
This commit is contained in:
Emil Axelsson
2017-08-14 11:17:25 +02:00
928 changed files with 10516 additions and 10536 deletions

31
.gitignore vendored
View File

@@ -1,17 +1,17 @@
*~
*.swp
.DS_Store
.vscode
/bin/
/build/
/cache/
Thumbs.db
tmp/
/documentation
/doc
/documentation
/ext/SGCT
/logs
tmp/
Thumbs.db
*~
*.swp
*.gglsl
*.GhoulGenerated.glsl
*.OpenSpaceGenerated.glsl
@@ -30,7 +30,6 @@ install_manifest.txt
.project
shaders/ABuffer/constants.hglsl
log.html
ScriptLog.txt
data/scene/atmosphereearth/textures
@@ -56,8 +55,8 @@ 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/milkyway/digitaluniverse/textures
data/scene/milkyway/eso/textures
data/scene/missions/dawn/ceres/textures
data/scene/missions/dawn/dawn/obj
data/scene/missions/dawn/dawn/textures
@@ -99,12 +98,12 @@ 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
data/scene/stars-denver/denver_colorbv.cmap
data/scene/stars-denver/speck
data/scene/stars-denver/textures
data/scene/stars/digitaluniverse/colorbv.cmap
data/scene/stars/digitaluniverse/speck
data/scene/stars/digitaluniverse/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
@@ -118,4 +117,4 @@ data/spice/nh_kernels
data/spice/OsirisRexKernels
data/spice/plu055.bsp
data/spice/Rosetta
data/spice/sat375.bsp
data/spice/sat375.bsp

View File

@@ -28,9 +28,9 @@ project (OpenSpace)
message(STATUS "Generating OpenSpace project")
set(OPENSPACE_VERSION_MAJOR 0)
set(OPENSPACE_VERSION_MINOR 8)
set(OPENSPACE_VERSION_MINOR 9)
set(OPENSPACE_VERSION_PATCH 0)
set(OPENSPACE_VERSION_STRING "prerelease-13 (Earth Day)")
set(OPENSPACE_VERSION_STRING "prerelease-14 (Astronomy Live)")
set(OPENSPACE_BASE_DIR "${PROJECT_SOURCE_DIR}")
set(OPENSPACE_APPS_DIR "${OPENSPACE_BASE_DIR}/apps")

38
CODE_OF_CONDUCT.md Normal file
View File

@@ -0,0 +1,38 @@
# Contributor Covenant Code of Conduct
In the interest of fostering an open and welcoming environment, we as contributors and maintainers work towards making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment include:
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
- The use of sexualized language or imagery and unwelcome sexual attention or advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at alexander.bock@me.com or vivian@amnh.org. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/

View File

@@ -29,7 +29,8 @@ if (WIN32)
set(RESOURCE_FILE ${OPENSPACE_APPS_DIR}/Launcher/openspace.rc)
endif ()
include (${GHOUL_BASE_DIR}/support/cmake/handle_external_library.cmake)
include(${GHOUL_BASE_DIR}/support/cmake/handle_external_library.cmake)
include(${OPENSPACE_CMAKE_EXT_DIR}/support_macros.cmake)
set(application_path ${OPENSPACE_APPS_DIR}/Launcher)
@@ -65,6 +66,8 @@ add_executable(${APPLICATION_NAME} MACOSX_BUNDLE
${RESOURCE_FILES}
)
set_compile_settings(${APPLICATION_NAME})
target_link_libraries(${APPLICATION_NAME}
Qt5::Widgets
Qt5::Network

View File

@@ -23,6 +23,7 @@
##########################################################################################
include(${GHOUL_BASE_DIR}/support/cmake/CopySharedLibraries.cmake)
include(${OPENSPACE_CMAKE_EXT_DIR}/support_macros.cmake)
set(APPLICATION_NAME OpenSpace)
set(APPLICATION_LINK_TO_OPENSPACE ON)
@@ -130,3 +131,5 @@ if (MSVC)
"/NODEFAULTLIB:LIBCMTD.lib /NODEFAULTLIB:LIBCMT.lib"
)
endif()
set_compile_settings(${APPLICATION_NAME})

View File

@@ -26,6 +26,7 @@ set(APPLICATION_NAME TaskRunner)
set(APPLICATION_LINK_TO_OPENSPACE ON)
include (${GHOUL_BASE_DIR}/support/cmake/handle_external_library.cmake)
include(${OPENSPACE_CMAKE_EXT_DIR}/support_macros.cmake)
set(application_path ${OPENSPACE_APPS_DIR}/TaskRunner)
@@ -37,3 +38,4 @@ add_executable(${APPLICATION_NAME} MACOSX_BUNDLE
${SOURCE_FILES}
)
set_compile_settings(${APPLICATION_NAME})

View File

@@ -20,13 +20,13 @@ function postInitialization()
graphical settings for the renderables.
]]--
openspace.printInfo("Setting default values")
openspace.setPropertyValue("Sun.renderable.enabled", false)
openspace.setPropertyValue("SunMarker.renderable.enabled", true)
openspace.setPropertyValue("Sun.renderable.Enabled", false)
openspace.setPropertyValue("SunMarker.renderable.Enabled", true)
openspace.setPropertyValue("EarthMarker.renderable.enabled", true)
openspace.setPropertyValue("Constellation Bounds.renderable.enabled", false)
openspace.setPropertyValue("Constellation Bounds.renderable.Enabled", false)
openspace.setPropertyValue("MilkyWay.renderable.transparency", 0.55)
openspace.setPropertyValue("MilkyWay.renderable.segments", 50)
openspace.setPropertyValue("MilkyWay.renderable.Transparency", 0.55)
openspace.setPropertyValue("MilkyWay.renderable.Segments", 50)
openspace.printInfo("Done setting default values")
@@ -42,14 +42,14 @@ return {
Camera = {
Focus = "Earth",
Position = {1, 0, 0},
Rotation = {0.250635, -0.028751, 0.879269, 0.404030},
Rotation = {0.250635, -0.028751, 0.879269, 0.404030},
},
Modules = {
"sun",
"earth",
"stars",
--"stars-denver",
"milkyway",
-- "milkyway-eso",
"stars/digitaluniverse",
-- "stars/denver",
"milkyway/digitaluniverse",
--"milkyway/eso",
}
}

View File

@@ -40,10 +40,10 @@ return {
},
--Caster2 = { Name = "Independency Day Ship", Radius = 0 }
},
ColorTexture = "textures/earth_bluemarble.jpg",
NightTexture = "textures/earth_night.jpg",
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",
@@ -110,7 +110,7 @@ return {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "EARTH",
Target = "EARTH",
Observer = "SUN"
},
Color = { 0.5, 0.8, 1.0 },

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -1,3 +1,8 @@
local zodiacs = {
"Cancer", "Taurus", "Pisces", "Aries", "Libra", "Aquarius", "Capricornus", "Scorpius",
"Virgo", "Sagittarius", "Gemini", "Leo"
}
return {
-- Stars module
{
@@ -6,7 +11,8 @@ return {
Renderable = {
Type = "RenderableConstellationBounds",
File = "${OPENSPACE_DATA}/scene/constellationbounds/data/bound_20.dat",
ConstellationFile = "${OPENSPACE_DATA}/scene/constellationbounds/data/constellations.dat"
ConstellationFile = "${OPENSPACE_DATA}/scene/constellationbounds/data/constellations.dat",
-- ConstellationSelection = zodiacs
},
Transform = {
Rotation = {

View File

@@ -20,15 +20,15 @@ function postInitialization()
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("Sun.renderable.Enabled", false)
openspace.setPropertyValue("SunMarker.renderable.Enabled", true)
openspace.setPropertyValue("EarthMarker.renderable.Enabled", true)
--openspace.setPropertyValue("Constellation Bounds.renderable.enabled", false)
openspace.setPropertyValue("PlutoTrail.renderable.enabled", false)
openspace.setPropertyValue("PlutoTexture.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.setPropertyValue("MilkyWay.renderable.Transparency", 0.55)
openspace.setPropertyValue("MilkyWay.renderable.Segments", 50)
openspace.printInfo("Done setting default values")
end
@@ -51,8 +51,10 @@ return {
"uranus",
"neptune",
"pluto",
"stars",
"milkyway",
"stars/digitaluniverse",
-- "stars/denver",
"milkyway/digitaluniverse",
--"milkyway/eso",
"missions/dawn"
}
}

View File

@@ -1,3 +1,8 @@
-- Add folders to this list that contain .info files describing HiRISE patches
local mars_folders = {
-- Add a folder here whose contents will be automatically added to the Mars globe
}
function preInitialization()
--[[
The scripts in this function are executed after the scene is loaded but before the
@@ -11,27 +16,76 @@ function preInitialization()
openspace.time.setTime(openspace.time.currentWallTime())
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",
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"
)
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.addVirtualProperty(
"BoolProperty",
"Show Trails",
"*Trail.renderable.Enabled",
"Disable or enable all trails of the scene at the same time",
true,
nil,
nil
)
openspace.printInfo("Setting default values")
openspace.setPropertyValue("SunMarker.renderable.enabled", false)
openspace.setPropertyValue("EarthMarker.renderable.enabled", false)
openspace.setPropertyValue("Constellation Bounds.renderable.enabled", false)
openspace.setPropertyValue("MilkyWay.renderable.transparency", 0.55)
openspace.setPropertyValue("MilkyWay.renderable.segments", 50)
openspace.setPropertyValue("SunGlare.renderable.Enabled", false)
openspace.setPropertyValue("SunMarker.renderable.Enabled", false)
openspace.setPropertyValue("Constellation Bounds.renderable.Enabled", false)
openspace.setPropertyValue("Earth.RenderableGlobe.Atmosphere", true)
openspace.setPropertyValue("Earth.RenderableGlobe.Debug.LevelByProjectedAreaElseDistance", false)
openspace.addVirtualProperty("BoolProperty", "Show Trails", "*Trail.renderable.enabled", true, nil, nil)
openspace.setPropertyValue("Ecliptic Grid.renderable.Enabled", false)
openspace.setPropertyValue("Equatorial Grid.renderable.Enabled", false)
openspace.setPropertyValue("Galactic Grid.renderable.Enabled", false)
openspace.navigation.resetCameraDirection()
openspace.globebrowsing.goToGeo(58.5877, 16.1924, 20000000)
openspace.printInfo("Done setting default values")
-- Add the HiRISE patches described at the top of this file
for _, file in pairs(mars_folders) do
openspace.globebrowsing.addBlendingLayersFromDirectory(file, "Mars")
end
end
@@ -40,24 +94,27 @@ return {
CommonFolder = "common",
Camera = {
Focus = "Earth",
Position = {505370268486.696167, 1089706179272.719116, -890259148524.319458},
Rotation = {0.250635, -0.028751, 0.879269, 0.404030},
Position = {0, 0, 0},
Rotation = {0.758797, 0.221490, -0.605693, -0.091135},
},
Assets = {
"sun",
--"mercury",
--"venus",
"earth",
--"mars",
--"jupiter",
--"saturn",
--"uranus",
--"neptune",
--"stars",
--"enlilsequence/T",
-- "stars-denver",
--"milkyway",
--"milkyway-eso",
--"constellationbounds",
"moon",
"mars",
"jupiter",
"saturn",
"uranus",
"neptune",
"stars/digitaluniverse",
-- "stars/denver",
"milkyway/digitaluniverse",
--"milkyway/eso",
-- "satellites"
"constellationbounds",
"grids"
}
}

View File

Before

Width:  |  Height:  |  Size: 726 B

After

Width:  |  Height:  |  Size: 726 B

View File

Before

Width:  |  Height:  |  Size: 565 B

After

Width:  |  Height:  |  Size: 565 B

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 613 B

After

Width:  |  Height:  |  Size: 613 B

View File

Before

Width:  |  Height:  |  Size: 953 B

After

Width:  |  Height:  |  Size: 953 B

View File

Before

Width:  |  Height:  |  Size: 846 B

After

Width:  |  Height:  |  Size: 846 B

View File

Before

Width:  |  Height:  |  Size: 799 B

After

Width:  |  Height:  |  Size: 799 B

View File

Before

Width:  |  Height:  |  Size: 772 B

After

Width:  |  Height:  |  Size: 772 B

View File

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

View File

@@ -1,3 +1,4 @@
earthEllipsoid = {6378137.0, 6378137.0, 6356752.314245} -- Earth's radii
return {
-- Earth barycenter module
{
@@ -6,7 +7,7 @@ return {
Transform = {
Translation = {
Type = "SpiceTranslation",
Body = "EARTH",
Target = "EARTH",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
}
@@ -20,58 +21,19 @@ return {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "J2000",
DestinationFrame = "GALACTIC",
DestinationFrame = "GALACTIC"
}
},
},
-- Earth module
{
Name = "Earth",
Parent = "EarthBarycenter",
Renderable = {
Type = "RenderablePlanet",
Frame = "IAU_EARTH",
Body = "EARTH",
Geometry = {
Type = "SimpleSphere",
Radius = 6.371E6,
Segments = 100
},
Textures = {
Type = "simple",
Color = "textures/earth_bluemarble.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}
}
},
Tag = {"planet_solarSystem", "planet_terrestrial"},
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_EARTH",
DestinationFrame = "GALACTIC",
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
},
GuiName = "/Solar/Planets/Earth"
}
},
-- EarthTrail module
{
{
Name = "EarthTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "EARTH",
Target = "EARTH",
Observer = "SUN"
},
Color = { 0.5, 0.8, 1.0 },
@@ -79,27 +41,154 @@ return {
-- EndTime = "2017 JAN 01 12:00:00.000",
-- SampleInterval = 3600
Period = 365.242,
Resolution = 1000,
Tag = {"planetTrail_solarSystem", "planetTrail_terrestrial"}
Resolution = 1000
},
GuiName = "/Solar/EarthTrail",
Tag = { "planetTrail_solarSystem", "planetTrail_terrestrial" },
GuiName = "/Solar/EarthTrail"
},
--[[
-- RenderableGlobe module
{
Name = "EarthMarker",
Parent = "Earth",
Renderable = {
Type = "RenderablePlane",
Size = 3.0E11,
Origin = "Center",
Billboard = true,
Texture = "textures/marker.png",
BlendMode = "Additive"
Name = "Earth",
Parent = "EarthBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_EARTH",
DestinationFrame = "GALACTIC",
}
},
Ephemeris = {
Type = "Static",
Position = {0, 0, 0, 5}
Tag = { "planet_solarSystem", "planet_terrestrial" },
Renderable = {
Type = "RenderableGlobe",
Radii = earthEllipsoid,
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "ESRI VIIRS Combo",
Type = "ByLevelTileLayer",
LevelTileProviders = {
{
MaxLevel = 3,
TileProvider = {
Name = "Temporal VIIRS SNPP",
Type = "TemporalTileLayer",
FilePath = "map_service_configs/GIBS/Temporal_VIIRS_SNPP_CorrectedReflectance_TrueColor.xml",
}
},
{
MaxLevel = 22,
TileProvider = {
Name = "ESRI Imagery World 2D",
FilePath = "map_service_configs/ESRI/ESRI_Imagery_World_2D.wms"
}
},
},
Enabled = true,
},
{
Name = "ESRI Imagery World 2D",
FilePath = "map_service_configs/ESRI/ESRI_Imagery_World_2D.wms",
},
{
Name = "Temporal VIIRS SNPP",
Type = "TemporalTileLayer",
FilePath = "map_service_configs/GIBS/Temporal_VIIRS_SNPP_CorrectedReflectance_TrueColor.xml",
},
{
Name = "BMNG",
FilePath = "map_service_configs/Utah/Bmng.wms"
},
{
Name = "Temporal_AMSR2_GCOM_W1_Sea_Ice_Concentration",
Type = "TemporalTileLayer",
FilePath = "map_service_configs/GIBS/Temporal_AMSR2_GCOM_W1_Sea_Ice_Concentration.xml",
},
{
Name = "MODIS_Terra_Chlorophyll_A",
Type = "TemporalTileLayer",
FilePath = openspace.globebrowsing.createTemporalGibsGdalXml(
"MODIS_Terra_Chlorophyll_A",
"2013-07-02",
"Yesterday",
"1d",
"1km",
"png"
)
},
{
Name = "GHRSST_L4_G1SST_Sea_Surface_Temperature",
Type = "TemporalTileLayer",
FilePath = openspace.globebrowsing.createTemporalGibsGdalXml(
"GHRSST_L4_G1SST_Sea_Surface_Temperature",
"2010-06-21",
"Yesterday",
"1d",
"1km",
"png"
)
},
},
NightLayers = {
{
Name = "Earth at Night 2012",
FilePath = "map_service_configs/GIBS/VIIRS_CityLights_2012.xml",
Enabled = true,
Settings = {
Opacity = 1.0,
Gamma = 1.5,
Multiplier = 15.0,
},
},
{
Name = "Temporal Earth at Night",
Type = "TemporalTileLayer",
FilePath = "map_service_configs/GIBS/Temporal_VIIRS_SNPP_DayNightBand_ENCC.xml"
}
},
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 = {
{
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",
},
{
Name = "Tile Indices",
Type = "TileIndexTileLayer",
},
{
Name = "Size Reference",
Type = "SizeReferenceTileLayer",
Radii = earthEllipsoid,
},
},
HeightLayers = {
{
Name = "Terrain tileset",
FilePath = "map_service_configs/ESRI/TERRAIN.wms",
Enabled = true,
TilePixelSize = 64,
}
}
}
}
}
]]
}

View File

@@ -20,13 +20,13 @@ function postInitialization()
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("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("MilkyWay.renderable.transparency", 0.55)
openspace.setPropertyValue("MilkyWay.renderable.segments", 50)
openspace.setPropertyValue("MilkyWay.renderable.Transparency", 0.55)
openspace.setPropertyValue("MilkyWay.renderable.Segments", 50)
openspace.printInfo("Done setting default values")
end
@@ -49,11 +49,11 @@ return {
"saturn",
"uranus",
"neptune",
"stars",
"fieldlines",
-- "stars-denver",
"milkyway",
-- "milkyway-eso",
"stars/digitaluniverse",
-- "stars/denver",
"milkyway/digitaluniverse",
--"milkyway/eso",
"constellationbounds",
}
}

View File

@@ -1,104 +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.spice.loadKernel("${SPICE}/naif0012.tls")
openspace.spice.loadKernel("${SPICE}/pck00010.tpc")
-- For unit test
--openspace.time.setTime("2016 SEP 8 23:00:00.500")
--openspace.time.togglePause()
openspace.time.setTime(openspace.time.currentWallTime())
dofile(openspace.absPath('${SCRIPTS}/bind_common_keys.lua'))
-- 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.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.setPropertyValue("Earth.RenderableGlobe.atmosphere", true)
openspace.setPropertyValue("Earth.RenderableGlobe.Debug.levelByProjectedAreaElseDistance", false)
openspace.setPropertyValue("Earth.RenderableGlobe.Layers.ColorLayers.blendTileLevels", true)
openspace.globebrowsing.goToGeo(0, 0, 20000000)
openspace.printInfo("Done setting default values")
end
return {
ScenePath = ".",
CommonFolder = "common",
Camera = {
Focus = "Earth",
Position = {0, 0, 0},
Rotation = {0.758797, 0.221490, -0.605693, -0.091135},
},
Modules = {
"lodglobes",
"sun",
"stars",
"milkyway",
-- "satellites"
}
}

View File

@@ -1,17 +0,0 @@
return {
-- SphericalGrid module
{
Name = "SphericalGrid",
Parent = "Root",
Renderable = {
Type = "RenderableSphericalGrid",
GridType = "ECLIPJ2000",
GridColor = { 0.4, 0.0, 0.0, 1},
GridMatrix = { -0.05487554, 0.4941095, -0.8676661 , 0.0,
-0.9938214 , -0.1109906, -0.0003515167, 0.0,
-0.09647644, 0.8622859, 0.4971472 , 0.0,
0.0 , 0.0 , 0.0 , 1.0 },
GridSegments = 36,
}
}
}

View File

@@ -1,17 +0,0 @@
return {
-- SphericalGrid module
{
Name = "SphericalGrid",
Parent = "Root",
Renderable = {
Type = "RenderableSphericalGrid",
GridType = "ICRF",
GridColor = { 0.0, 0.0, 0.4, 1},
GridMatrix = { -0.05487554, 0.4941095, -0.8676661, 0.0,
-0.8734371 , -0.4448296, -0.1980764, 0.0,
-0.483835 , 0.7469823, 0.4559838, 0.0,
0.0 , 0.0 , 0.0 , 1.0 },
GridSegments = 36,
}
}
}

View File

@@ -1,17 +0,0 @@
return {
-- gridGalactic module
{
Name = "gridGalactic",
Parent = "SolarSystem",
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,
0.0, 0.0, 0.0, 1.0 },
GridSegments = 36,
}
}
}

View File

@@ -0,0 +1,38 @@
return {
-- SphericalGrid module
{
Name = "Ecliptic Grid",
Parent = "Root",
Renderable = {
Type = "RenderableSphericalGrid",
GridColor = { 0.75, 0.0, 0.0, 1.0},
LineWidth = 0.75,
GridMatrix = { -0.05487554, 0.4941095, -0.8676661 , 0.0,
-0.9938214 , -0.1109906, -0.0003515167, 0.0,
-0.09647644, 0.8622859, 0.4971472 , 0.0,
0.0 , 0.0 , 0.0 , 1.0 }
}
},
{
Name = "Equatorial Grid",
Parent = "Root",
Renderable = {
Type = "RenderableSphericalGrid",
GridColor = { 0.0, 0.0, 0.75, 1.0},
LineWidth = 0.75,
GridMatrix = { -0.05487554, 0.4941095, -0.8676661, 0.0,
-0.8734371 , -0.4448296, -0.1980764, 0.0,
-0.483835 , 0.7469823, 0.4559838, 0.0,
0.0 , 0.0 , 0.0 , 1.0 }
}
},
{
Name = "Galactic Grid",
Parent = "SolarSystem",
Renderable = {
Type = "RenderableSphericalGrid",
LineWidth = 0.75,
GridColor = { 0.0, 0.75, 0.75, 1.0}
}
}
}

View File

@@ -26,14 +26,14 @@ function postInitialization()
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("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("MilkyWay.renderable.Transparency", 0.55)
openspace.setPropertyValue("MilkyWay.renderable.Segments", 50)
openspace.setPropertyValue('Jupiter.renderable.performShading', false);
openspace.setPropertyValue('Jupiter.renderable.PerformShading', false);
openspace.printInfo("Done setting default values")
end
@@ -55,8 +55,10 @@ return {
"saturn/saturn",
"uranus",
"neptune",
"stars",
"milkyway",
"stars/digitaluniverse",
-- "stars/denver",
"milkyway/digitaluniverse",
--"milkyway/eso",
"missions/juno"
}
}

View File

@@ -1,46 +1,38 @@
return {
-- Callisto module
{
-- RenderableGlobe module
{
Name = "Callisto",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderablePlanet",
Frame = "IAU_CALLISTO", -- should exist.
Body = "CALLISTO",
Geometry = {
Type = "SimpleSphere",
Radius = 2.631E6,
Segments = 100
},
Textures = {
Type = "simple",
Color = "textures/callisto.jpg",
},
Atmosphere = {
Type = "Nishita", -- for example, values missing etc etc
MieFactor = 1.0,
MieColor = {1.0, 1.0, 1.0}
}
},
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,
DestinationFrame = "GALACTIC",
},
Translation = {
Type = "SpiceTranslation",
Target = "CALLISTO",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = 2410000,
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Callisto Texture",
FilePath = "textures/callisto.jpg",
Enabled = true
}
}
}
}
},
-- CallistoTrail module
-- Trail module
{
Name = "CallistoTrail",
Parent = "JupiterBarycenter",
@@ -48,11 +40,11 @@ return {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "CALLISTO",
Observer = "JUPITER BARYCENTER",
Target = "CALLISTO",
Observer = "JUPITER BARYCENTER"
},
Color = { 0.4, 0.3, 0.01 },
Period = 17,
Period = 17,
Resolution = 1000
}
}

View File

@@ -1,42 +1,38 @@
return {
-- Europa module
{
-- RenderableGlobe module
{
Name = "Europa",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderablePlanet",
Frame = "IAU_EUROPA", -- should exist.
Body = "EUROPA",
Geometry = {
Type = "SimpleSphere",
Radius = 1.561E6,
Segments = 100
},
Textures = {
Type = "simple",
Color = "textures/europa.jpg",
},
Atmosphere = {
Type = "Nishita", -- for example, values missing etc etc
MieFactor = 1.0,
MieColor = {1.0, 1.0, 1.0}
}
},
Transform = {
Translation = {
Type = "SpiceTranslation",
Body = "EUROPA",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
},
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_EUROPA",
DestinationFrame = "IAU_JUPITER",
}
DestinationFrame = "GALACTIC",
},
Translation = {
Type = "SpiceTranslation",
Target = "EUROPA",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
},
},
Renderable = {
Type = "RenderableGlobe",
Radii = 1560800,
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Europa Texture",
FilePath = "textures/europa.jpg",
Enabled = true,
},
},
},
}
},
-- EuropaTrail module
-- Trail module
{
Name = "EuropaTrail",
Parent = "JupiterBarycenter",
@@ -44,7 +40,7 @@ return {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "EUROPA",
Target = "EUROPA",
Observer = "JUPITER BARYCENTER",
},
Color = { 0.5, 0.3, 0.3 },

View File

@@ -1,46 +1,37 @@
return {
-- Ganymede module
{
-- RenderableGlobe module
{
Name = "Ganymede",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderablePlanet",
Frame = "IAU_GANYMEDE", -- should exist.
Body = "JUPITER BARYCENTER",
Geometry = {
Type = "SimpleSphere",
Radius = 2.631E6,
Segments = 100
},
Textures = {
Type = "simple",
Color = "textures/ganymede.jpg",
},
Atmosphere = {
Type = "Nishita", -- for example, values missing etc etc
MieFactor = 1.0,
MieColor = {1.0, 1.0, 1.0}
}
},
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,
DestinationFrame = "GALACTIC"
},
Translation = {
Type = "SpiceTranslation",
Target = "GANYMEDE",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = 2631000,
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Ganymede Texture",
FilePath = "textures/ganymede.jpg",
Enabled = true
}
}
}
}
},
-- GanymedeTrail module
-- Trail module
{
Name = "GanymedeTrail",
Parent = "JupiterBarycenter",
@@ -48,8 +39,8 @@ return {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "GANYMEDE",
Observer = "JUPITER BARYCENTER",
Target = "GANYMEDE",
Observer = "JUPITER BARYCENTER"
},
Color = { 0.4, 0.3, 0.3 },
Period = 172 / 24,

View File

@@ -1,46 +1,37 @@
return {
-- Io module
{
-- RenderableGlobe module
{
Name = "Io",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderablePlanet",
Frame = "IAU_IO", -- should exist.
Body = "IO",
Geometry = {
Type = "SimpleSphere",
Radius = 1.8213E6,
Segments = 100
},
Textures = {
Type = "simple",
Color = "textures/io.jpg",
},
Atmosphere = {
Type = "Nishita", -- for example, values missing etc etc
MieFactor = 1.0,
MieColor = {1.0, 1.0, 1.0}
}
},
Transform = {
Translation = {
Type = "SpiceTranslation",
Body = "IO",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
},
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_IO",
DestinationFrame = "IAU_JUPITER",
DestinationFrame = "GALACTIC"
},
Scale = {
Type = "StaticScale",
Scale = 1,
Translation = {
Type = "SpiceTranslation",
Target = "IO",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
},
},
Renderable = {
Type = "RenderableGlobe",
Radii = 1821600,
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Io Texture",
FilePath = "textures/io.jpg",
Enabled = true
}
}
}
}
},
-- IoTrail module
-- Trail module
{
Name = "IoTrail",
Parent = "JupiterBarycenter",
@@ -48,8 +39,8 @@ return {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "IO",
Observer = "JUPITER BARYCENTER",
Target = "IO",
Observer = "JUPITER BARYCENTER"
},
Color = { 0.4, 0.4, 0.2 },
Period = 42 / 24,

View File

@@ -1,58 +1,45 @@
return {
-- Jupiter barycenter module
-- Barycenter module
{
Name = "JupiterBarycenter",
Parent = "SolarSystemBarycenter",
Transform = {
Translation = {
Type = "SpiceTranslation",
Body = "JUPITER BARYCENTER",
Target = "JUPITER BARYCENTER",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
},
},
}
}
},
-- Jupiter module
{
-- RenderableGlobe module
{
Name = "Jupiter",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderablePlanet",
Frame = "IAU_JUPITER",
Body = "JUPITER BARYCENTER",
Geometry = {
Type = "SimpleSphere",
Radius = 0.71492E8,
Segments = 200
},
Textures = {
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}
}
},
Tag = "planet_solarSystem",
Transform = {
Translation = {
Type = "StaticTranslation",
Position = {0, 0, 0}, -- jupiter is at its barycenter
},
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_JUPITER",
DestinationFrame = "ECLIPJ2000",
DestinationFrame = "GALACTIC"
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = { 71492000, 71492000, 66854000 },
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Jupiter Texture",
FilePath = "textures/jupiter.jpg",
Enabled = true
}
}
}
},
Tag = { "planet_solarSystem", "planet_giants" },
},
-- JupiterTrail module
-- Trail module
{
Name = "JupiterTrail",
Parent = "SolarSystemBarycenter",
@@ -60,13 +47,13 @@ return {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "JUPITER BARYCENTER",
Observer = "SUN",
Target = "JUPITER BARYCENTER",
Observer = "SUN"
},
Color = { 0.8, 0.7, 0.7 },
Period = 4330.595,
Resolution = 1000,
Resolution = 1000
},
Tag = "planetTrail_solarSystem"
Tag = { "planetTrail_solarSystem", "planetTrail_giants" }
}
}
}

View File

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

View File

@@ -1,188 +0,0 @@
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"
},
},
},
{
-- The default reference frame for Earth-orbiting satellites
Name = "EarthInertial",
Parent = "EarthBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "J2000",
DestinationFrame = "GALACTIC",
}
},
},
-- EarthTrail module
{
Name = "EarthTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
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
{
Name = "Earth",
Parent = "EarthBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_EARTH",
DestinationFrame = "GALACTIC",
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
},
Renderable = {
Type = "RenderableGlobe",
Radii = earthEllipsoid,
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "ESRI VIIRS Combo",
Type = "ByLevelTileLayer",
LevelTileProviders = {
{
MaxLevel = 3,
TileProvider = {
Type = "TemporalTileLayer",
Name = "Temporal VIIRS SNPP",
FilePath = "map_service_configs/GIBS/Temporal_VIIRS_SNPP_CorrectedReflectance_TrueColor.xml", },
},
{
MaxLevel = 22,
TileProvider = {
Name = "ESRI Imagery World 2D",
FilePath = "map_service_configs/ESRI/ESRI_Imagery_World_2D.wms"
},
},
},
Enabled = true,
},
{
FilePath = "map_service_configs/ESRI/ESRI_Imagery_World_2D.wms",
Name = "ESRI",
},
{
Name = "BMNG",
FilePath = "map_service_configs/Utah/Bmng.wms"
},
{
Type = "TemporalTileLayer",
Name = "Temporal_AMSR2_GCOM_W1_Sea_Ice_Concentration",
FilePath = "map_service_configs/GIBS/Temporal_AMSR2_GCOM_W1_Sea_Ice_Concentration.xml",
},
{
Type = "TemporalTileLayer",
Name = "MODIS_Terra_Chlorophyll_A",
FilePath = openspace.globebrowsing.createTemporalGibsGdalXml(
"MODIS_Terra_Chlorophyll_A",
"2013-07-02",
"Yesterday",
"1d",
"1km",
"png")
},
{
Type = "TemporalTileLayer",
Name = "GHRSST_L4_G1SST_Sea_Surface_Temperature",
FilePath = openspace.globebrowsing.createTemporalGibsGdalXml(
"GHRSST_L4_G1SST_Sea_Surface_Temperature",
"2010-06-21",
"Yesterday",
"1d",
"1km",
"png")
},
},
NightLayers = {
{
Name = "Earth at Night 2012",
FilePath = "map_service_configs/GIBS/VIIRS_CityLights_2012.xml",
Enabled = true,
Settings = {
Opacity = 1.0,
Gamma = 1.5,
Multiplier = 15.0,
},
},
{
Type = "TemporalTileLayer",
Name = "Temporal Earth at Night",
FilePath = "map_service_configs/GIBS/Temporal_VIIRS_SNPP_DayNightBand_ENCC.xml"
}
},
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 = {
{
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 = "TileIndexTileLayer",
Name = "Tile Indices",
},
{
Type = "SizeReferenceTileLayer",
Name = "Size Reference",
Radii = earthEllipsoid,
},
},
HeightLayers = {
{
Name = "Terrain tileset",
FilePath = "map_service_configs/ESRI/TERRAIN.wms",
Enabled = true,
TilePixelSize = 64,
},
},
},
}
},
}

View File

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

View File

@@ -1,54 +0,0 @@
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},
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Callisto Texture",
FilePath = "textures/callisto.jpg",
Enabled = true,
},
},
},
}
},
-- 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

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

View File

@@ -1,55 +0,0 @@
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},
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Europa Texture",
FilePath = "textures/europa.jpg",
Enabled = true,
},
},
},
}
},
-- 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

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

View File

@@ -1,54 +0,0 @@
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},
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Ganymede Texture",
FilePath = "textures/ganymede.jpg",
Enabled = true,
},
},
},
}
},
-- 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

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

View File

@@ -1,54 +0,0 @@
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},
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Io Texture",
FilePath = "textures/io.jpg",
Enabled = true,
},
},
},
}
},
-- 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
}
}
}

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