Update initial values

This commit is contained in:
kalbl
2016-09-30 01:54:28 +02:00
parent 619048e3b9
commit c2603e5712
3 changed files with 14 additions and 11 deletions

View File

@@ -29,6 +29,7 @@ function postInitialization()
openspace.setPropertyValue("SunGlare.renderable.enabled", false)
openspace.setPropertyValue("SunMarker.renderable.enabled", false)
openspace.setPropertyValue("Earth.RenderableGlobe.Atmosphere", true)
openspace.resetCameraDirection()
openspace.time.setDeltaTime(0)

View File

@@ -56,16 +56,16 @@ return {
},
Textures = {
ColorTextures = {
{
Name = "ESRI Imagery World 2D",
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",
@@ -76,13 +76,13 @@ return {
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,
}
Type = "SingleImage",
Name = "Debug Tiles",
FilePath = "textures/test_tile.png",
},
},
GrayScaleTextures = {
},
GrayScaleOverlays = {
@@ -91,12 +91,14 @@ return {
{
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,
},
},
Overlays = {

View File

@@ -77,7 +77,7 @@ namespace openspace {
, debugSelection(ReferencedBoolSelection("Debug", "Debug"))
, atmosphereEnabled(properties::BoolProperty("Atmosphere", "Atmosphere", false))
, _performShading(
properties::BoolProperty("performShading", "Perform shading", false))
properties::BoolProperty("performShading", "Perform shading", true))
{
setName("RenderableGlobe");