mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Merged master again.
This commit is contained in:
@@ -58,10 +58,12 @@ asset.onInitialize(function ()
|
||||
-- Add local patches described at the top of this file
|
||||
for obj, list in pairs(vrt_folders) do
|
||||
for _, dir in pairs(list) do
|
||||
openspace.globebrowsing.addBlendingLayersFromDirectory(dir, obj)
|
||||
if (dir ~= '') then
|
||||
openspace.globebrowsing.addBlendingLayersFromDirectory(dir, obj)
|
||||
|
||||
if CreateFocusNodes then
|
||||
openspace.globebrowsing.addFocusNodesFromDirectory(dir, obj)
|
||||
if CreateFocusNodes then
|
||||
openspace.globebrowsing.addFocusNodesFromDirectory(dir, obj)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
local assetHelper = asset.require('util/asset_helper')
|
||||
local transforms = asset.require('./../transforms')
|
||||
asset.require("spice/base")
|
||||
asset.request('./../trail')
|
||||
local labelsPath = asset.require('./../pluto_globelabels').LabelsPath
|
||||
|
||||
|
||||
|
||||
local Charon = {
|
||||
Identifier = "Charon",
|
||||
Parent = transforms.PlutoBarycenter.Identifier,
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "SpiceTranslation",
|
||||
Target = "CHARON",
|
||||
Observer = "PLUTO BARYCENTER",
|
||||
Kernels = NewHorizonsKernels
|
||||
},
|
||||
Rotation = {
|
||||
Type = "SpiceRotation",
|
||||
SourceFrame = "IAU_CHARON",
|
||||
DestinationFrame = "GALACTIC"
|
||||
}
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderableGlobe",
|
||||
Radii = { 6.035E5, 6.035E5, 6.035E5 },
|
||||
SegmentsPerPatch = 64,
|
||||
Layers = {},
|
||||
Labels = {
|
||||
Enable = false,
|
||||
FileName = labelsPath .. "/charon.labels",
|
||||
LabelAlignmentOption = "Horizontally", -- or Circularly
|
||||
LabelsFontSize = 14.0,
|
||||
LabelsSize = 8.0,
|
||||
LabelsMinSize = 1.0,
|
||||
LabelsMaxSize = 1500.0,
|
||||
ProximityEnabled = false,
|
||||
LabelsFadeInEnabled = true,
|
||||
FadeInStartingDistance = 500000.0,
|
||||
FadeOutStartingDistance = 1000000.0,
|
||||
LabelsForceDomeRendering = true,
|
||||
LabelsDistanceEPS = 1350000.0,
|
||||
LabelsColor = { 1.0, 1.0, 0.0 }
|
||||
}
|
||||
},
|
||||
Tag = { "planet_solarSystem", "planet_terrestrial" },
|
||||
GUI = {
|
||||
Path = "/Solar System/Dwarf Planets/Pluto"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
assetHelper.registerSceneGraphNodesAndExport(asset, { Charon })
|
||||
@@ -0,0 +1,28 @@
|
||||
local assetHelper = asset.require('util/asset_helper')
|
||||
local transforms = asset.require('../transforms')
|
||||
asset.require("spice/base")
|
||||
|
||||
|
||||
local CharonTrailBarycentric = {
|
||||
Identifier = "CharonBarycentricTrail",
|
||||
Parent = transforms.PlutoBarycenter.Identifier,
|
||||
Renderable = {
|
||||
Type = "RenderableTrailOrbit",
|
||||
Translation = {
|
||||
Type = "SpiceTranslation",
|
||||
Target = "CHARON",
|
||||
Observer = "PLUTO BARYCENTER"
|
||||
},
|
||||
Color = { 0.00, 0.62, 1.00 },
|
||||
Period = 6.38723,
|
||||
Resolution = 1000
|
||||
},
|
||||
GUI = {
|
||||
Name = "Charon Barycentric Trail",
|
||||
Path = "/Solar System/Dwarf Planets/Pluto"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
assetHelper.registerSceneGraphNodesAndExport(asset, { CharonTrailBarycentric })
|
||||
@@ -0,0 +1,13 @@
|
||||
local layerHelper = asset.require('util/layer_helper')
|
||||
local globeAsset = asset.require('./charon')
|
||||
local globeIdentifier = globeAsset.Charon.Identifier
|
||||
|
||||
-- set enabled and fallback layers
|
||||
local defaultLayers = asset.require('./layers/default_layers')
|
||||
|
||||
local colorLayer = asset.require('./layers/colorlayers/greyscale_usgs').layer
|
||||
colorLayer.Enabled = true
|
||||
|
||||
asset.onInitialize(function ()
|
||||
layerHelper.addLayersToGlobe(globeIdentifier, defaultLayers)
|
||||
end)
|
||||
@@ -0,0 +1,7 @@
|
||||
local layer = {
|
||||
Identifier = "Greyscale_USGS",
|
||||
Name = "Black & White [USGS]",
|
||||
FilePath = "WMS:https://planetarymaps.usgs.gov/cgi-bin/mapserv?map=/maps/pluto/charon_simp_cyl.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=NEWHORIZONS_CHARON_MOSAIC&SRS=EPSG:4326&BBOX=-180,-90.0003,359.972,90",
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,15 @@
|
||||
local colorLayersPath = "./colorlayers"
|
||||
local colorLayers = {
|
||||
asset.require(colorLayersPath .. "/greyscale_usgs").layer,
|
||||
}
|
||||
|
||||
local heightLayers = {}
|
||||
local nightLayers = {}
|
||||
local overlays = {}
|
||||
local waterMasks = {}
|
||||
|
||||
asset.export("colorLayers", colorLayers)
|
||||
asset.export("heightLayers", heightLayers)
|
||||
asset.export("nightLayers", nightLayers)
|
||||
asset.export("overlays", overlays)
|
||||
asset.export("waterMasks", waterMasks)
|
||||
@@ -0,0 +1,13 @@
|
||||
local layerHelper = asset.require('util/layer_helper')
|
||||
local globeAsset = asset.require('./pluto')
|
||||
local globeIdentifier = globeAsset.Pluto.Identifier
|
||||
|
||||
-- set enabled and fallback layers
|
||||
local defaultLayers = asset.require('./layers/default_layers')
|
||||
|
||||
local colorLayer = asset.require('./layers/colorlayers/greyscale_usgs').layer
|
||||
colorLayer.Enabled = true
|
||||
|
||||
asset.onInitialize(function ()
|
||||
layerHelper.addLayersToGlobe(globeIdentifier, defaultLayers)
|
||||
end)
|
||||
@@ -0,0 +1,7 @@
|
||||
local layer = {
|
||||
Identifier = "Greyscale_USGS",
|
||||
Name = "Black & White [USGS]",
|
||||
FilePath = "WMS:https://planetarymaps.usgs.gov/cgi-bin/mapserv?map=/maps/pluto/pluto_simp_cyl.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=NEWHORIZONS_PLUTO_MOSAIC&SRS=EPSG:4326&BBOX=-180,-90,360,90",
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,15 @@
|
||||
local colorLayersPath = "./colorlayers"
|
||||
local colorLayers = {
|
||||
asset.require(colorLayersPath .. "/greyscale_usgs").layer,
|
||||
}
|
||||
|
||||
local heightLayers = {}
|
||||
local nightLayers = {}
|
||||
local overlays = {}
|
||||
local waterMasks = {}
|
||||
|
||||
asset.export("colorLayers", colorLayers)
|
||||
asset.export("heightLayers", heightLayers)
|
||||
asset.export("nightLayers", nightLayers)
|
||||
asset.export("overlays", overlays)
|
||||
asset.export("waterMasks", waterMasks)
|
||||
@@ -0,0 +1,51 @@
|
||||
local assetHelper = asset.require('util/asset_helper')
|
||||
local transforms = asset.require('../transforms')
|
||||
local kernels = asset.require('../kernels').PlutoKernels
|
||||
|
||||
|
||||
|
||||
local Hydra = {
|
||||
Identifier = "Hydra",
|
||||
Parent = transforms.PlutoBarycenter.Identifier,
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "SpiceTranslation",
|
||||
Target = "HYDRA",
|
||||
Observer = "PLUTO BARYCENTER",
|
||||
Kernels = kernels
|
||||
}
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderableGlobe",
|
||||
Radii = { 0.53E5, 0.53E5, 0.53E5 },
|
||||
SegmentsPerPatch = 64,
|
||||
Layers = {}
|
||||
},
|
||||
GUI = {
|
||||
Path = "/Solar System/Dwarf Planets/Pluto"
|
||||
}
|
||||
}
|
||||
|
||||
local HydraTrail = {
|
||||
Identifier = "HydraTrail",
|
||||
Parent = transforms.PlutoBarycenter.Identifier,
|
||||
Renderable = {
|
||||
Type = "RenderableTrailOrbit",
|
||||
Translation = {
|
||||
Type = "SpiceTranslation",
|
||||
Target = "HYDRA",
|
||||
Observer = "PLUTO BARYCENTER",
|
||||
},
|
||||
Color = { 0.00, 0.62, 1.00 },
|
||||
Period = 38.20177,
|
||||
Resolution = 1000
|
||||
},
|
||||
GUI = {
|
||||
Name = "Hydra Trail",
|
||||
Path = "/Solar System/Dwarf Planets/Pluto"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
assetHelper.registerSceneGraphNodesAndExport(asset, { Hydra, HydraTrail })
|
||||
@@ -0,0 +1,51 @@
|
||||
local assetHelper = asset.require('util/asset_helper')
|
||||
local transforms = asset.require('../transforms')
|
||||
local kernels = asset.require('../kernels').PlutoKernels
|
||||
|
||||
|
||||
|
||||
local Kerberos = {
|
||||
Identifier = "Kerberos",
|
||||
Parent = transforms.PlutoBarycenter.Identifier,
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "SpiceTranslation",
|
||||
Target = "KERBEROS",
|
||||
Observer = "PLUTO BARYCENTER",
|
||||
Kernels = PlutoKernels
|
||||
}
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderableGlobe",
|
||||
Radii = { 0.1E5, 0.1E5, 0.1E5 },
|
||||
SegmentsPerPatch = 64,
|
||||
Layers = {}
|
||||
},
|
||||
GUI = {
|
||||
Path = "/Solar System/Dwarf Planets/Pluto"
|
||||
}
|
||||
}
|
||||
|
||||
local KerberosTrail = {
|
||||
Identifier = "KerberosTrail",
|
||||
Parent = transforms.PlutoBarycenter.Identifier,
|
||||
Renderable = {
|
||||
Type = "RenderableTrailOrbit",
|
||||
Translation = {
|
||||
Type = "SpiceTranslation",
|
||||
Target = "KERBEROS",
|
||||
Observer = "PLUTO BARYCENTER",
|
||||
},
|
||||
Color = { 0.00, 0.62, 1.00 },
|
||||
Period = 32.16756,
|
||||
Resolution = 1000
|
||||
},
|
||||
GUI = {
|
||||
Name = "Hydra Trail",
|
||||
Path = "/Solar System/Dwarf Planets/Pluto"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
assetHelper.registerSceneGraphNodesAndExport(asset, { Kerberos, KerberosTrail })
|
||||
@@ -0,0 +1,51 @@
|
||||
local assetHelper = asset.require('util/asset_helper')
|
||||
local transforms = asset.require('../transforms')
|
||||
local kernels = asset.require('../kernels').PlutoKernels
|
||||
|
||||
|
||||
|
||||
local Nix = {
|
||||
Identifier = "Nix",
|
||||
Parent = transforms.PlutoBarycenter.Identifier,
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "SpiceTranslation",
|
||||
Target = "NIX",
|
||||
Observer = "PLUTO BARYCENTER",
|
||||
Kernels = PlutoKernels
|
||||
}
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderableGlobe",
|
||||
Radii = { 0.45E5, 0.45E5, 0.45E5 },
|
||||
SegmentsPerPatch = 64,
|
||||
Layers = {}
|
||||
},
|
||||
GUI = {
|
||||
Path = "/Solar System/Dwarf Planets/Pluto"
|
||||
}
|
||||
}
|
||||
|
||||
local NixTrail = {
|
||||
Identifier = "NixTrail",
|
||||
Parent = transforms.PlutoBarycenter.Identifier,
|
||||
Renderable = {
|
||||
Type = "RenderableTrailOrbit",
|
||||
Translation = {
|
||||
Type = "SpiceTranslation",
|
||||
Target = "NIX",
|
||||
Observer = "PLUTO BARYCENTER",
|
||||
},
|
||||
Color = { 0.00, 0.62, 1.00 },
|
||||
Period = 24.85463,
|
||||
Resolution = 1000
|
||||
},
|
||||
GUI = {
|
||||
Name = "Nix Trail",
|
||||
Path = "/Solar System/Dwarf Planets/Pluto"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
assetHelper.registerSceneGraphNodesAndExport(asset, { Nix, NixTrail })
|
||||
@@ -0,0 +1,51 @@
|
||||
local assetHelper = asset.require('util/asset_helper')
|
||||
local transforms = asset.require('../transforms')
|
||||
local kernels = asset.require('../kernels').PlutoKernels
|
||||
|
||||
|
||||
|
||||
local Styx = {
|
||||
Identifier = "Styx",
|
||||
Parent = transforms.PlutoBarycenter.Identifier,
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "SpiceTranslation",
|
||||
Target = "STYX",
|
||||
Observer = "PLUTO BARYCENTER",
|
||||
Kernels = PlutoKernels
|
||||
}
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderableGlobe",
|
||||
Radii = { 0.45E5, 0.45E5, 0.45E5 },
|
||||
SegmentsPerPatch = 64,
|
||||
Layers = {}
|
||||
},
|
||||
GUI = {
|
||||
Path = "/Solar System/Dwarf Planets/Pluto"
|
||||
}
|
||||
}
|
||||
|
||||
local StyxTrail = {
|
||||
Identifier = "StyxTrail",
|
||||
Parent = transforms.PlutoBarycenter.Identifier,
|
||||
Renderable = {
|
||||
Type = "RenderableTrailOrbit",
|
||||
Translation = {
|
||||
Type = "SpiceTranslation",
|
||||
Target = "STYX",
|
||||
Observer = "PLUTO BARYCENTER",
|
||||
},
|
||||
Color = { 0.00, 0.62, 1.00 },
|
||||
Period = 20.16155,
|
||||
Resolution = 1000
|
||||
},
|
||||
GUI = {
|
||||
Name = "Styx Trail",
|
||||
Path = "/Solar System/Dwarf Planets/Pluto"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
assetHelper.registerSceneGraphNodesAndExport(asset, { Styx, StyxTrail })
|
||||
@@ -1,36 +0,0 @@
|
||||
asset.request('./planets/mercury/mercury')
|
||||
|
||||
asset.request('./planets/venus/venus')
|
||||
asset.request('./planets/venus/atmosphere')
|
||||
|
||||
asset.request('./planets/earth/earth')
|
||||
asset.request('./planets/earth/atmosphere')
|
||||
asset.request('./planets/earth/markers')
|
||||
asset.request('./planets/earth/nycmodel/upperMan.asset')
|
||||
asset.request('./planets/earth/nycmodel/lowerMan.asset')
|
||||
asset.request('./planets/earth/moon/moon')
|
||||
|
||||
asset.request('./planets/mars/mars')
|
||||
asset.request('./planets/mars/atmosphere')
|
||||
|
||||
asset.request('./planets/jupiter/jupiter')
|
||||
asset.request('./planets/jupiter/major_moons')
|
||||
|
||||
asset.request('./planets/saturn/saturn')
|
||||
asset.request('./planets/saturn/major_moons')
|
||||
|
||||
asset.request('./planets/uranus/uranus')
|
||||
asset.request('./planets/uranus/major_moons')
|
||||
|
||||
asset.request('./planets/neptune/neptune')
|
||||
asset.request('./planets/neptune/major_moons')
|
||||
|
||||
|
||||
asset.meta = {
|
||||
Name = "Planets",
|
||||
Version = "1.0",
|
||||
Description = [[ Collection of planets in the solar system ]],
|
||||
Author = "OpenSpace Team",
|
||||
URL = "http://openspaceproject.com",
|
||||
License = "MIT license"
|
||||
}
|
||||
28
data/assets/scene/solarsystem/planets/default_layers.asset
Normal file
28
data/assets/scene/solarsystem/planets/default_layers.asset
Normal file
@@ -0,0 +1,28 @@
|
||||
asset.require('./earth/default_layers')
|
||||
asset.require('./earth/moon/default_layers')
|
||||
|
||||
asset.require('./jupiter/default_layers')
|
||||
asset.require('./jupiter/callisto/default_layers')
|
||||
asset.require('./jupiter/europa/default_layers')
|
||||
asset.require('./jupiter/ganymede/default_layers')
|
||||
asset.require('./jupiter/io/default_layers')
|
||||
|
||||
asset.require('./mars/default_layers')
|
||||
|
||||
asset.require('./mercury/default_layers')
|
||||
|
||||
asset.require('./neptune/default_layers')
|
||||
|
||||
asset.require('./saturn/default_layers')
|
||||
asset.require('./saturn/dione/default_layers')
|
||||
asset.require('./saturn/enceladus/default_layers')
|
||||
asset.require('./saturn/hyperion/default_layers')
|
||||
asset.require('./saturn/iapetus/default_layers')
|
||||
asset.require('./saturn/mimas/default_layers')
|
||||
asset.require('./saturn/rhea/default_layers')
|
||||
asset.require('./saturn/tethys/default_layers')
|
||||
asset.require('./saturn/titan/default_layers')
|
||||
|
||||
asset.require('./uranus/default_layers')
|
||||
|
||||
asset.require('./venus/default_layers')
|
||||
@@ -0,0 +1,33 @@
|
||||
local layerHelper = asset.require('util/layer_helper')
|
||||
local globeAsset = asset.require('./earth')
|
||||
local globeIdentifier = globeAsset.Earth.Identifier
|
||||
|
||||
-- set enabled and fallback layers
|
||||
local defaultLayers = asset.require('./layers/default_layers')
|
||||
local colorFallbackLayer = asset.require('./layers/colorlayers/blue_marble_fallback').layer
|
||||
local nightFallbackLayer = asset.require('./layers/nightlayers/earth_night_texture').layer
|
||||
local heightFallbackLayer = asset.require('./layers/heightlayers/blue_marble_height_fallback').layer
|
||||
|
||||
colorFallbackLayer.Enabled = true
|
||||
heightFallbackLayer.Enabled = true
|
||||
nightFallbackLayer.Enabled = true
|
||||
|
||||
local colorLayer = asset.require('./layers/colorlayers/esri_viirs_combo').layer
|
||||
local heightLayer = asset.require('./layers/heightlayers/terrain_tileset').layer
|
||||
local nightLayer = asset.require('./layers/nightlayers/earth_at_night_2012').layer
|
||||
local waterMask = asset.require('./layers/watermasks/modis_water_mask').layer
|
||||
|
||||
colorLayer.Enabled = true
|
||||
colorLayer.Fallback = colorFallbackLayer
|
||||
|
||||
heightLayer.Enabled = true
|
||||
heightLayer.Fallback = heightFallbackLayer
|
||||
|
||||
nightLayer.Enabled = true
|
||||
nightLayer.Fallback = nightFallbackLayer
|
||||
|
||||
waterMask.Enabled = true
|
||||
|
||||
asset.onInitialize(function ()
|
||||
layerHelper.addLayersToGlobe(globeIdentifier, defaultLayers)
|
||||
end)
|
||||
@@ -0,0 +1,15 @@
|
||||
local layer = {
|
||||
Identifier = "AMSR2_GCOM_W1_Sea_Ice_Concentration_Temporal",
|
||||
Name = "AMSR2 GCOM W1 Sea Ice Concentration (Temporal)",
|
||||
Type = "TemporalTileLayer",
|
||||
FilePath = openspace.globebrowsing.createTemporalGibsGdalXml(
|
||||
"AMSRU2_Sea_Ice_Concentration_12km",
|
||||
"2012-05-08",
|
||||
"Yesterday",
|
||||
"1d",
|
||||
"2km",
|
||||
"png"
|
||||
)
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,15 @@
|
||||
local layer = {
|
||||
Identifier = "Aqua_Modis_Temporal",
|
||||
Name = "Aqua Modis (Temporal)",
|
||||
Type = "TemporalTileLayer",
|
||||
FilePath = openspace.globebrowsing.createTemporalGibsGdalXml(
|
||||
"MODIS_Aqua_CorrectedReflectance_TrueColor",
|
||||
"2002-07-04",
|
||||
"Yesterday",
|
||||
"1d",
|
||||
"250m",
|
||||
"jpg"
|
||||
)
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local texturesPath = asset.require("./../../earth_textures").TexturesPath
|
||||
|
||||
local layer = {
|
||||
Identifier = "Blue_Marble",
|
||||
Name = "Blue Marble",
|
||||
FilePath = texturesPath .. "/earth_bluemarble.jpg",
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "BMNG_Sweden",
|
||||
Name = "BMNG [Sweden]",
|
||||
FilePath = mapServiceConfigsPath .. "/LiU/Bmng.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "BMNG_Utah",
|
||||
Name = "BMNG [Utah]",
|
||||
FilePath = mapServiceConfigsPath .. "/Utah/Bmng.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "ESRI_Imagery_World_2D",
|
||||
Name = "ESRI Imagery World 2D",
|
||||
FilePath = mapServiceConfigsPath .. "/ESRI/ESRI_Imagery_World_2D.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,38 @@
|
||||
local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "ESRI_VIIRS_Combo",
|
||||
Name = "ESRI VIIRS Combo",
|
||||
Type = "ByLevelTileLayer",
|
||||
LevelTileProviders = {
|
||||
{
|
||||
MaxLevel = 4,
|
||||
TileProvider = {
|
||||
Identifier = "Temporal_VIIRS_SNPP",
|
||||
Name = "Temporal VIIRS SNPP",
|
||||
Type = "TemporalTileLayer",
|
||||
FilePath = openspace.globebrowsing.createTemporalGibsGdalXml(
|
||||
"VIIRS_SNPP_CorrectedReflectance_TrueColor",
|
||||
"2015-11-24",
|
||||
"Today",
|
||||
"1d",
|
||||
"250m",
|
||||
"jpg"
|
||||
),
|
||||
PadTiles = false
|
||||
}
|
||||
},
|
||||
{
|
||||
MaxLevel = 22,
|
||||
TileProvider = {
|
||||
Identifier = "ESRI_World_Imagery",
|
||||
Name = "ESRI World Imagery",
|
||||
FilePath = mapServiceConfigsPath .. "/ESRI/World_Imagery.wms",
|
||||
PadTiles = false
|
||||
}
|
||||
},
|
||||
},
|
||||
PadTiles = false,
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "ESRI_World_Imagery",
|
||||
Name = "ESRI World Imagery",
|
||||
FilePath = mapServiceConfigsPath .. "/ESRI/World_Imagery.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,15 @@
|
||||
local layer = {
|
||||
Identifier = "GHRSST_L4_MUR_Sea_Surface_Temperature_Temporal",
|
||||
Name = "GHRSST L4 MUR Sea Surface Temperature (Temporal)",
|
||||
Type = "TemporalTileLayer",
|
||||
FilePath = openspace.globebrowsing.createTemporalGibsGdalXml(
|
||||
"GHRSST_L4_MUR_Sea_Surface_Temperature",
|
||||
"2002-06-01",
|
||||
"Yesterday",
|
||||
"1d",
|
||||
"1km",
|
||||
"png"
|
||||
)
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,15 @@
|
||||
local layer = {
|
||||
Identifier = "Terra_Modis_Temporal",
|
||||
Name = "Terra Modis (Temporal)",
|
||||
Type = "TemporalTileLayer",
|
||||
FilePath = openspace.globebrowsing.createTemporalGibsGdalXml(
|
||||
"MODIS_Terra_CorrectedReflectance_TrueColor",
|
||||
"2000-02-24",
|
||||
"Yesterday",
|
||||
"1d",
|
||||
"250m",
|
||||
"jpg"
|
||||
)
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,15 @@
|
||||
local layer = {
|
||||
Identifier = "MODIS_Terra_Chlorophyll_A_Temporal",
|
||||
Name = "MODIS Terra Chlorophyll A (Temporal)",
|
||||
Type = "TemporalTileLayer",
|
||||
FilePath = openspace.globebrowsing.createTemporalGibsGdalXml(
|
||||
"MODIS_Terra_Chlorophyll_A",
|
||||
"2013-07-02",
|
||||
"Yesterday",
|
||||
"1d",
|
||||
"1km",
|
||||
"png"
|
||||
)
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,15 @@
|
||||
local layer = {
|
||||
Identifier = "Terra_Modis_Temporal",
|
||||
Name = "Terra Modis (Temporal)",
|
||||
Type = "TemporalTileLayer",
|
||||
FilePath = openspace.globebrowsing.createTemporalGibsGdalXml(
|
||||
"MODIS_Terra_CorrectedReflectance_TrueColor",
|
||||
"2000-02-24",
|
||||
"Yesterday",
|
||||
"1d",
|
||||
"250m",
|
||||
"jpg"
|
||||
)
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,15 @@
|
||||
local layer = {
|
||||
Identifier = "VIIRS_SNPP_Temporal",
|
||||
Name = "VIIRS SNPP (Temporal)",
|
||||
Type = "TemporalTileLayer",
|
||||
FilePath = openspace.globebrowsing.createTemporalGibsGdalXml(
|
||||
"VIIRS_SNPP_CorrectedReflectance_TrueColor",
|
||||
"2015-11-24",
|
||||
"Yesterday",
|
||||
"1d",
|
||||
"250m",
|
||||
"jpg"
|
||||
)
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,48 @@
|
||||
local colorLayersPath = "./colorlayers"
|
||||
local colorLayers = {
|
||||
asset.require(colorLayersPath .. "/esri_viirs_combo").layer,
|
||||
asset.require(colorLayersPath .. "/esri_world_imagery").layer,
|
||||
asset.require(colorLayersPath .. "/esri_imagery_world_2d").layer,
|
||||
asset.require(colorLayersPath .. "/viirs_snpp_temporal").layer,
|
||||
asset.require(colorLayersPath .. "/aqua_modis_temporal").layer,
|
||||
asset.require(colorLayersPath .. "/terra_modis_temporal").layer,
|
||||
asset.require(colorLayersPath .. "/bmng_utah").layer,
|
||||
asset.require(colorLayersPath .. "/bmng_sweden").layer,
|
||||
asset.require(colorLayersPath .. "/amsr2_gcom_w1_sea_ice_concentration_temporal").layer,
|
||||
asset.require(colorLayersPath .. "/modis_terra_chlorophyll_a_temporal").layer,
|
||||
asset.require(colorLayersPath .. "/ghrsst_l4_g1sst_sea_surface_temperature_temporal").layer,
|
||||
asset.require(colorLayersPath .. "/ghrsst_l4_mur_sea_surface_temperature_temporal").layer
|
||||
}
|
||||
|
||||
local heightLayersPath = "./heightlayers"
|
||||
local heightLayers = {
|
||||
asset.require(heightLayersPath .. "/terrain_tileset").layer
|
||||
}
|
||||
|
||||
local nightLayersPath = "./nightlayers"
|
||||
local nightLayers = {
|
||||
asset.require(nightLayersPath .. "/earth_at_night_2012").layer,
|
||||
asset.require(nightLayersPath .. "/earth_at_night_temporal").layer
|
||||
}
|
||||
|
||||
local overlaysPath = "./overlays"
|
||||
local overlays = {
|
||||
asset.require(overlaysPath .. "/coastlines").layer,
|
||||
asset.require(overlaysPath .. "/reference_features").layer,
|
||||
asset.require(overlaysPath .. "/reference_labels").layer,
|
||||
asset.require(overlaysPath .. "/tile_indices").layer,
|
||||
asset.require(overlaysPath .. "/size_reference").layer
|
||||
}
|
||||
|
||||
local waterMasksPath = "./watermasks"
|
||||
local waterMasks = {
|
||||
asset.require(waterMasksPath .. "/gebco_sweden").layer,
|
||||
asset.require(waterMasksPath .. "/gebco_utah").layer,
|
||||
asset.require(waterMasksPath .. "/modis_water_mask").layer
|
||||
}
|
||||
|
||||
asset.export("colorLayers", colorLayers)
|
||||
asset.export("heightLayers", heightLayers)
|
||||
asset.export("nightLayers", nightLayers)
|
||||
asset.export("overlays", overlays)
|
||||
asset.export("waterMasks", waterMasks)
|
||||
@@ -0,0 +1,9 @@
|
||||
local texturesPath = asset.require("./../../earth_textures").TexturesPath
|
||||
|
||||
local layer = {
|
||||
Name = "Earth Bluemarble Height",
|
||||
Identifier = "Earth_Bluemarble_Height",
|
||||
FilePath = texturesPath .. "/earth_bluemarble_height.jpg",
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,10 @@
|
||||
local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Terrain_tileset",
|
||||
Name = "Terrain tileset",
|
||||
FilePath = mapServiceConfigsPath .. "/ESRI/Terrain.wms",
|
||||
TilePixelSize = 64,
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Earth_at_Night_2012",
|
||||
Name = "Earth at Night 2012",
|
||||
FilePath = mapServiceConfigsPath .. "/GIBS/night/VIIRS_CityLights_2012.wms",
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,15 @@
|
||||
local layer = {
|
||||
Identifier = "Earth_at_Night_Temporal",
|
||||
Name = "Earth at Night (Temporal)",
|
||||
Type = "TemporalTileLayer",
|
||||
FilePath = openspace.globebrowsing.createTemporalGibsGdalXml(
|
||||
"VIIRS_SNPP_DayNightBand_ENCC",
|
||||
"2012-05-08",
|
||||
"Yesterday",
|
||||
"1d",
|
||||
"500m",
|
||||
"png"
|
||||
)
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local texturesPath = asset.require("./../../earth_textures").TexturesPath
|
||||
|
||||
local layer = {
|
||||
Identifier = "Earth_Night",
|
||||
Name = "Earth Night",
|
||||
FilePath = texturesPath .. "/earth_night.jpg",
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,8 @@
|
||||
local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Coastlines",
|
||||
FilePath = mapServiceConfigsPath .. "/GIBS/overlays/Coastlines.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Reference_Features",
|
||||
Name = "Reference Features",
|
||||
FilePath = mapServiceConfigsPath .. "/GIBS/overlays/Reference_Features.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Reference_Labels",
|
||||
Name = "Reference Labels",
|
||||
FilePath = mapServiceConfigsPath .. "/GIBS/overlays/Reference_Labels.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,10 @@
|
||||
local earthAsset = asset.require("./../../earth")
|
||||
|
||||
local layer ={
|
||||
Identifier = "Size_Reference",
|
||||
Name = "Size Reference",
|
||||
Type = "SizeReferenceTileLayer",
|
||||
Radii = earthAsset.Earth.Renderable.Radii
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Tile_Indices",
|
||||
Name = "Tile Indices",
|
||||
Type = "TileIndexTileLayer"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Name = "Gebco [Sweden]",
|
||||
Identifier = "Gebco_Sweden",
|
||||
FilePath = mapServiceConfigsPath .. "/LiU/Gebco.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Name = "Gebco [Utah]",
|
||||
Identifier = "Gebco_Utah",
|
||||
FilePath = mapServiceConfigsPath .. "/Utah/Gebco.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigsPath = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "MODIS_Water_Mask",
|
||||
Name = "MODIS Water Mask",
|
||||
FilePath = mapServiceConfigsPath .. "/GIBS/water/MODIS_Water_Mask.wms",
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,16 @@
|
||||
local layerHelper = asset.require('util/layer_helper')
|
||||
local globeAsset = asset.require('./moon')
|
||||
local globeIdentifier = globeAsset.Moon.Identifier
|
||||
|
||||
-- set enabled and fallback layers
|
||||
local defaultLayers = asset.require('./layers/default_layers')
|
||||
|
||||
local colorLayer = asset.require('./layers/colorlayers/wac_utah').layer
|
||||
local heightLayer = asset.require('./layers/heightlayers/loladem_utah').layer
|
||||
|
||||
colorLayer.Enabled = true
|
||||
heightLayer.Enabled = true
|
||||
|
||||
asset.onInitialize(function ()
|
||||
layerHelper.addLayersToGlobe(globeIdentifier, defaultLayers)
|
||||
end)
|
||||
@@ -0,0 +1,13 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "ClemUvvis_Sweden",
|
||||
Name = "Clem Uvvis [Sweden]",
|
||||
FilePath = mapServiceConfigs .. "/LiU/Clem_Uvvis.wms",
|
||||
Settings = {
|
||||
Gamma = 1.14,
|
||||
Multiplier = 1.4
|
||||
}
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,13 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "ClemUvvis_Utah",
|
||||
Name = "Clem Uvvis [Utah]",
|
||||
FilePath = mapServiceConfigs .. "/Utah/ClemUvvis.wms",
|
||||
Settings = {
|
||||
Gamma = 1.14,
|
||||
Multiplier = 1.4
|
||||
}
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,13 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Kaguya_Sweden",
|
||||
Name = "Kaguya [Sweden]",
|
||||
FilePath = mapServiceConfigs .. "/LiU/Kaguya.vrt",
|
||||
Settings = {
|
||||
Gamma = 1.0,
|
||||
Multiplier = 1.23
|
||||
}
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,13 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Kaguya_Utah",
|
||||
Name = "Kaguya [Utah]",
|
||||
FilePath = mapServiceConfigs .. "/Utah/Kaguya.vrt",
|
||||
Settings = {
|
||||
Gamma = 1.0,
|
||||
Multiplier = 1.23
|
||||
}
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Lola_Clr_Shade_Sweden",
|
||||
Name = "Lola Color Shade [Sweden]",
|
||||
FilePath = mapServiceConfigs .. "/LiU/Lola_Clr_Shade.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Lola_Clr_Shade_Utah",
|
||||
Name = "Lola Color Shade [Utah]",
|
||||
FilePath = mapServiceConfigs .. "/Utah/LolaClrShade.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Lola_Shade_Sweden",
|
||||
Name = "Lola Shade [Sweden]",
|
||||
FilePath = mapServiceConfigs .. "/LiU/Lola_Shade.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Lola_Shade_Utah",
|
||||
Name = "Lola Shade [Utah]",
|
||||
FilePath = mapServiceConfigs .. "/Utah/LolaShade.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,13 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "UvvisHybrid_Sweden",
|
||||
Name = "Uvvis Hybrid [Sweden]",
|
||||
FilePath = mapServiceConfigs .. "/LiU/Uvvis_Hybrid.wms",
|
||||
Settings = {
|
||||
Gamma = 0.52,
|
||||
Multiplier = 0.65
|
||||
}
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,13 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "UvvisHybrid_Utah",
|
||||
Name = "Uvvis Hybrid [Utah]",
|
||||
FilePath = mapServiceConfigs .. "/Utah/UvvisHybrid.wms",
|
||||
Settings = {
|
||||
Gamma = 0.52,
|
||||
Multiplier = 0.65
|
||||
}
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,10 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "WAC_Sweden",
|
||||
Name = "WAC [Sweden]",
|
||||
FilePath = mapServiceConfigs .. "/LiU/WAC.wms",
|
||||
Settings = { Gamma = 0.84 }
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,10 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "WAC_Utah",
|
||||
Name = "WAC [Utah]",
|
||||
FilePath = mapServiceConfigs .. "/Utah/Wac.wms",
|
||||
Settings = { Gamma = 0.84 }
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,31 @@
|
||||
local colorLayersPath = "./colorlayers"
|
||||
local colorLayers = {
|
||||
asset.require(colorLayersPath .. "/wac_utah").layer,
|
||||
asset.require(colorLayersPath .. "/wac_sweden").layer,
|
||||
asset.require(colorLayersPath .. "/clemuvvis_utah").layer,
|
||||
asset.require(colorLayersPath .. "/clemuvvis_sweden").layer,
|
||||
asset.require(colorLayersPath .. "/uvvishybrid_utah").layer,
|
||||
asset.require(colorLayersPath .. "/uvvishybrid_sweden").layer,
|
||||
asset.require(colorLayersPath .. "/kaguya_utah").layer,
|
||||
asset.require(colorLayersPath .. "/kaguya_sweden").layer,
|
||||
asset.require(colorLayersPath .. "/lola_clr_shade_utah").layer,
|
||||
asset.require(colorLayersPath .. "/lola_clr_shade_sweden").layer,
|
||||
asset.require(colorLayersPath .. "/lola_shade_utah").layer,
|
||||
asset.require(colorLayersPath .. "/lola_shade_sweden").layer
|
||||
}
|
||||
|
||||
local heightLayersPath = "./heightlayers"
|
||||
local heightLayers = {
|
||||
asset.require(heightLayersPath .. "/loladem_utah").layer,
|
||||
asset.require(heightLayersPath .. "/loladem_sweden").layer
|
||||
}
|
||||
|
||||
local nightLayers = {}
|
||||
local overlays = {}
|
||||
local waterMasks = {}
|
||||
|
||||
asset.export("colorLayers", colorLayers)
|
||||
asset.export("heightLayers", heightLayers)
|
||||
asset.export("nightLayers", nightLayers)
|
||||
asset.export("overlays", overlays)
|
||||
asset.export("waterMasks", waterMasks)
|
||||
@@ -0,0 +1,11 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "LolaDem_Sweden",
|
||||
Name = "Lola DEM [Sweden]",
|
||||
FilePath = mapServiceConfigs .. "/LiU/Lola_DEM.wms",
|
||||
TilePixelSize = 64,
|
||||
Settings = { Multiplier = 0.5 }
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,11 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "LolaDem_Utah",
|
||||
Name = "Lola DEM [Utah]",
|
||||
FilePath = mapServiceConfigs .. "/Utah/LolaDem.wms",
|
||||
TilePixelSize = 64,
|
||||
Settings = { Multiplier = 0.5 }
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,7 @@
|
||||
local TexturesPath = asset.syncedResource({
|
||||
Name = "Callisto Textures",
|
||||
Type = "HttpSynchronization",
|
||||
Identifier = "callisto_textures",
|
||||
Version = 1
|
||||
})
|
||||
asset.export("TexturesPath", TexturesPath)
|
||||
@@ -0,0 +1,13 @@
|
||||
local layerHelper = asset.require('util/layer_helper')
|
||||
local globeAsset = asset.require('./callisto')
|
||||
local globeIdentifier = globeAsset.Callisto.Identifier
|
||||
|
||||
-- set enabled and fallback layers
|
||||
local defaultLayers = asset.require('./layers/default_layers')
|
||||
|
||||
local colorLayer = asset.require('./layers/colorlayers/callisto_texture').layer
|
||||
colorLayer.Enabled = true
|
||||
|
||||
asset.onInitialize(function ()
|
||||
layerHelper.addLayersToGlobe(globeIdentifier, defaultLayers)
|
||||
end)
|
||||
@@ -0,0 +1,8 @@
|
||||
local texturesPath = asset.require("./../../callisto_textures").TexturesPath
|
||||
|
||||
local layer = {
|
||||
Identifier = "Texture",
|
||||
FilePath = texturesPath .. "/callisto.jpg",
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,15 @@
|
||||
local colorLayersPath = "./colorlayers"
|
||||
local colorLayers = {
|
||||
asset.require(colorLayersPath .. "/callisto_texture").layer,
|
||||
}
|
||||
|
||||
local heightLayers = {}
|
||||
local nightLayers = {}
|
||||
local overlays = {}
|
||||
local waterMasks = {}
|
||||
|
||||
asset.export("colorLayers", colorLayers)
|
||||
asset.export("heightLayers", heightLayers)
|
||||
asset.export("nightLayers", nightLayers)
|
||||
asset.export("overlays", overlays)
|
||||
asset.export("waterMasks", waterMasks)
|
||||
@@ -0,0 +1,13 @@
|
||||
local layerHelper = asset.require('util/layer_helper')
|
||||
local globeAsset = asset.require('./jupiter')
|
||||
local globeIdentifier = globeAsset.Jupiter.Identifier
|
||||
|
||||
-- set enabled and fallback layers
|
||||
local defaultLayers = asset.require('./layers/default_layers')
|
||||
|
||||
local colorLayer = asset.require('./layers/colorlayers/jupiter_texture').layer
|
||||
colorLayer.Enabled = true
|
||||
|
||||
asset.onInitialize(function ()
|
||||
layerHelper.addLayersToGlobe(globeIdentifier, defaultLayers)
|
||||
end)
|
||||
@@ -0,0 +1,13 @@
|
||||
local layerHelper = asset.require('util/layer_helper')
|
||||
local globeAsset = asset.require('./europa')
|
||||
local globeIdentifier = globeAsset.Europa.Identifier
|
||||
|
||||
-- set enabled and fallback layers
|
||||
local defaultLayers = asset.require('./layers/default_layers')
|
||||
|
||||
local colorLayer = asset.require('./layers/colorlayers/voyager_global_mosaic').layer
|
||||
colorLayer.Enabled = true
|
||||
|
||||
asset.onInitialize(function ()
|
||||
layerHelper.addLayersToGlobe(globeIdentifier, defaultLayers)
|
||||
end)
|
||||
@@ -0,0 +1,7 @@
|
||||
local TexturesPath = asset.syncedResource({
|
||||
Name = "Europa Textures",
|
||||
Type = "HttpSynchronization",
|
||||
Identifier = "europa_textures",
|
||||
Version = 1
|
||||
})
|
||||
asset.export("TexturesPath", TexturesPath)
|
||||
@@ -0,0 +1,8 @@
|
||||
local texturesPath = asset.require("./../../europa_textures").TexturesPath
|
||||
|
||||
local layer = {
|
||||
Identifier = "Texture",
|
||||
FilePath = texturesPath .. "/europa.jpg",
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,10 @@
|
||||
local map_service_configs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Voyager_Global_Mosaic",
|
||||
Name = "Voyager Global Mosaic [Sweden]",
|
||||
FilePath = map_service_configs .. "/LiU/Voyager_GalileoSSI_global_mosaic_500m.wms",
|
||||
BlendMode = "Color",
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,16 @@
|
||||
local colorLayersPath = "./colorlayers"
|
||||
local colorLayers = {
|
||||
asset.require(colorLayersPath .. "/europa_texture").layer,
|
||||
asset.require(colorLayersPath .. "/voyager_global_mosaic").layer
|
||||
}
|
||||
|
||||
local heightLayers = {}
|
||||
local nightLayers = {}
|
||||
local overlays = {}
|
||||
local waterMasks = {}
|
||||
|
||||
asset.export("colorLayers", colorLayers)
|
||||
asset.export("heightLayers", heightLayers)
|
||||
asset.export("nightLayers", nightLayers)
|
||||
asset.export("overlays", overlays)
|
||||
asset.export("waterMasks", waterMasks)
|
||||
@@ -0,0 +1,13 @@
|
||||
local layerHelper = asset.require('util/layer_helper')
|
||||
local globeAsset = asset.require('./ganymede')
|
||||
local globeIdentifier = globeAsset.Ganymede.Identifier
|
||||
|
||||
-- set enabled and fallback layers
|
||||
local defaultLayers = asset.require('./layers/default_layers')
|
||||
|
||||
local colorLayer = asset.require('./layers/colorlayers/ganymede_texture').layer
|
||||
colorLayer.Enabled = true
|
||||
|
||||
asset.onInitialize(function ()
|
||||
layerHelper.addLayersToGlobe(globeIdentifier, defaultLayers)
|
||||
end)
|
||||
@@ -0,0 +1,7 @@
|
||||
local TexturesPath = asset.syncedResource({
|
||||
Name = "Ganymede Textures",
|
||||
Type = "HttpSynchronization",
|
||||
Identifier = "ganymede_textures",
|
||||
Version = 1
|
||||
})
|
||||
asset.export("TexturesPath", TexturesPath)
|
||||
@@ -0,0 +1,8 @@
|
||||
local texturesPath = asset.require("./../../ganymede_textures").TexturesPath
|
||||
|
||||
local layer = {
|
||||
Identifier = "Texture",
|
||||
FilePath = texturesPath .. "/ganymede.jpg",
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,15 @@
|
||||
local colorLayersPath = "./colorlayers"
|
||||
local colorLayers = {
|
||||
asset.require(colorLayersPath .. "/ganymede_texture").layer,
|
||||
}
|
||||
|
||||
local heightLayers = {}
|
||||
local nightLayers = {}
|
||||
local overlays = {}
|
||||
local waterMasks = {}
|
||||
|
||||
asset.export("colorLayers", colorLayers)
|
||||
asset.export("heightLayers", heightLayers)
|
||||
asset.export("nightLayers", nightLayers)
|
||||
asset.export("overlays", overlays)
|
||||
asset.export("waterMasks", waterMasks)
|
||||
@@ -0,0 +1,13 @@
|
||||
local layerHelper = asset.require('util/layer_helper')
|
||||
local globeAsset = asset.require('./io')
|
||||
local globeIdentifier = globeAsset.Io.Identifier
|
||||
|
||||
-- set enabled and fallback layers
|
||||
local defaultLayers = asset.require('./layers/default_layers')
|
||||
|
||||
local colorLayer = asset.require('./layers/colorlayers/io_texture').layer
|
||||
colorLayer.Enabled = true
|
||||
|
||||
asset.onInitialize(function ()
|
||||
layerHelper.addLayersToGlobe(globeIdentifier, defaultLayers)
|
||||
end)
|
||||
@@ -0,0 +1,7 @@
|
||||
local TexturesPath = asset.syncedResource({
|
||||
Name = "Io Textures",
|
||||
Type = "HttpSynchronization",
|
||||
Identifier = "io_textures",
|
||||
Version = 1
|
||||
})
|
||||
asset.export("TexturesPath", TexturesPath)
|
||||
@@ -0,0 +1,8 @@
|
||||
local texturesPath = asset.require("./../../io_textures").TexturesPath
|
||||
|
||||
local layer = {
|
||||
Identifier = "Texture",
|
||||
FilePath = texturesPath .. "/io.jpg",
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,15 @@
|
||||
local colorLayersPath = "./colorlayers"
|
||||
local colorLayers = {
|
||||
asset.require(colorLayersPath .. "/io_texture").layer,
|
||||
}
|
||||
|
||||
local heightLayers = {}
|
||||
local nightLayers = {}
|
||||
local overlays = {}
|
||||
local waterMasks = {}
|
||||
|
||||
asset.export("colorLayers", colorLayers)
|
||||
asset.export("heightLayers", heightLayers)
|
||||
asset.export("nightLayers", nightLayers)
|
||||
asset.export("overlays", overlays)
|
||||
asset.export("waterMasks", waterMasks)
|
||||
@@ -0,0 +1,7 @@
|
||||
local TexturesPath = asset.syncedResource({
|
||||
Name = "Jupiter Textures",
|
||||
Type = "HttpSynchronization",
|
||||
Identifier = "jupiter_textures",
|
||||
Version = 1
|
||||
})
|
||||
asset.export("TexturesPath", TexturesPath)
|
||||
@@ -0,0 +1,8 @@
|
||||
local texturesPath = asset.require("./../../jupiter_textures").TexturesPath
|
||||
|
||||
local layer = {
|
||||
Identifier = "Texture",
|
||||
FilePath = texturesPath .. "/jupiter.jpg",
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,15 @@
|
||||
local colorLayersPath = "./colorlayers"
|
||||
local colorLayers = {
|
||||
asset.require(colorLayersPath .. "/jupiter_texture").layer,
|
||||
}
|
||||
|
||||
local heightLayers = {}
|
||||
local nightLayers = {}
|
||||
local overlays = {}
|
||||
local waterMasks = {}
|
||||
|
||||
asset.export("colorLayers", colorLayers)
|
||||
asset.export("heightLayers", heightLayers)
|
||||
asset.export("nightLayers", nightLayers)
|
||||
asset.export("overlays", overlays)
|
||||
asset.export("waterMasks", waterMasks)
|
||||
@@ -0,0 +1,21 @@
|
||||
local layerHelper = asset.require('util/layer_helper')
|
||||
local globeAsset = asset.require('./mars')
|
||||
local globeIdentifier = globeAsset.Mars.Identifier
|
||||
|
||||
-- set enabled and fallback layers
|
||||
local defaultLayers = asset.require('./layers/default_layers')
|
||||
|
||||
local colorFallbackLayer = asset.require('./layers/colorlayers/mars_texture').layer
|
||||
colorFallbackLayer.Enabled = true
|
||||
|
||||
local colorLayer = asset.require('./layers/colorlayers/moc_wa_color_utah').layer
|
||||
local heightLayer = asset.require('./layers/heightlayers/mola_utah').layer
|
||||
|
||||
colorLayer.Enabled = true
|
||||
colorLayer.Fallback = colorFallbackLayer
|
||||
|
||||
heightLayer.Enabled = true
|
||||
|
||||
asset.onInitialize(function ()
|
||||
layerHelper.addLayersToGlobe(globeIdentifier, defaultLayers)
|
||||
end)
|
||||
@@ -0,0 +1,14 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "CTX_blended_01",
|
||||
Name = "CTX Blended beta01",
|
||||
FilePath = mapServiceConfigs .. "/ESRI/CTX/CTXblended.vrt",
|
||||
BlendMode = "Color",
|
||||
Settings = {
|
||||
Gamma = 2.14,
|
||||
Multiplier = 1.54
|
||||
}
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,10 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "CTX_Mosaic_Sweden",
|
||||
Name = "CTX Mosaic [Sweden]",
|
||||
FilePath = mapServiceConfigs .. "/LiU/CTX.wms",
|
||||
BlendMode = "Color"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,10 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "CTX_Mosaic_Utah",
|
||||
Name = "CTX Mosaic [Utah]",
|
||||
FilePath = mapServiceConfigs .. "/Utah/CTX.wms",
|
||||
BlendMode = "Color"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local texturesPath = asset.require("./../../mars_textures").TexturesPath
|
||||
|
||||
local layer = {
|
||||
Identifier = "Mars_Texture",
|
||||
Name = "Mars Texture",
|
||||
FilePath = texturesPath .. "/mars.jpg",
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,13 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "MOC_WA_Color_LiU",
|
||||
Name = "MOC WA Color [Sweden]",
|
||||
FilePath = mapServiceConfigs .. "/LiU/Color.wms",
|
||||
Settings = {
|
||||
Gamma = 1.6,
|
||||
Multiplier = 1.07
|
||||
}
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,15 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local texturesPath = asset.require("./../../mars_textures").TexturesPath
|
||||
|
||||
local layer = {
|
||||
Identifier = "MOC_WA_Color_Utah",
|
||||
Name = "MOC WA Color [Utah]",
|
||||
FilePath = mapServiceConfigs .. "/Utah/Mars_Color.wms",
|
||||
Settings = {
|
||||
Gamma = 1.6,
|
||||
Multiplier = 1.07
|
||||
}
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "MOLA_HRSC_Sweden",
|
||||
Name = "MOLA HRSC [Sweden]",
|
||||
FilePath = mapServiceConfigs .. "/LiU/Mola_HRSC.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "MOLA_HRSC_Utah",
|
||||
Name = "MOLA HRSC [Utah]",
|
||||
FilePath = mapServiceConfigs .. "/Utah/Mola_HRSC.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "MOLA_Pseudo_Color_Sweden",
|
||||
Name = "MOLA Pseudo Color [Sweden]",
|
||||
FilePath = mapServiceConfigs .. "/LiU/Mola_PseudoColor.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "MOLA_Pseudo_Color_Utah",
|
||||
Name = "MOLA Pseudo Color [Utah]",
|
||||
FilePath = mapServiceConfigs .. "/Utah/Mola_PseudoColor.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,10 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Themis_IR_Day_Sweden",
|
||||
Name = "Themis IR Day [Sweden]",
|
||||
FilePath = mapServiceConfigs .. "/LiU/Themis_IR_Day.wms",
|
||||
BlendMode = "Color"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,10 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Themis_IR_Day_Utah",
|
||||
Name = "Themis IR Day [Utah]",
|
||||
FilePath = mapServiceConfigs .. "/Utah/Themis_IR_Day.wms",
|
||||
BlendMode = "Color"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,10 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Themis_IR_Night_Sweden",
|
||||
Name = "Themis IR Night [Sweden]",
|
||||
FilePath = mapServiceConfigs .. "/LiU/Themis_IR_Night.wms",
|
||||
BlendMode = "Color"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,10 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Themis_IR_Night_Utah",
|
||||
Name = "Themis IR Night [Utah]",
|
||||
FilePath = mapServiceConfigs .. "/Utah/Themis_IR_Night.wms",
|
||||
BlendMode = "Color"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Viking_MDIM_Sweden",
|
||||
Name = "Viking MDIM [Sweden]",
|
||||
FilePath = mapServiceConfigs .. "/LiU/MDIM.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,9 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Viking_MDIM_Utah",
|
||||
Name = "Viking MDIM [Utah]",
|
||||
FilePath = mapServiceConfigs .. "/Utah/Mdim.wms"
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,41 @@
|
||||
local colorLayersPath = "./colorlayers"
|
||||
local colorLayers = {
|
||||
asset.require(colorLayersPath .. "/moc_wa_color_utah").layer,
|
||||
asset.require(colorLayersPath .. "/moc_wa_color_liu").layer,
|
||||
asset.require(colorLayersPath .. "/viking_mdim_utah").layer,
|
||||
asset.require(colorLayersPath .. "/viking_mdim_sweden").layer,
|
||||
asset.require(colorLayersPath .. "/mola_pseudo_color_utah").layer,
|
||||
asset.require(colorLayersPath .. "/mola_pseudo_color_sweden").layer,
|
||||
asset.require(colorLayersPath .. "/mola_hrsc_utah").layer,
|
||||
asset.require(colorLayersPath .. "/mola_hrsc_sweden").layer,
|
||||
asset.require(colorLayersPath .. "/themis_ir_day_utah").layer,
|
||||
asset.require(colorLayersPath .. "/themis_ir_day_sweden").layer,
|
||||
asset.require(colorLayersPath .. "/themis_ir_night_utah").layer,
|
||||
asset.require(colorLayersPath .. "/themis_ir_night_sweden").layer,
|
||||
asset.require(colorLayersPath .. "/ctx_mosaic_utah").layer,
|
||||
asset.require(colorLayersPath .. "/ctx_mosaic_sweden").layer,
|
||||
asset.require(colorLayersPath .. "/ctx_blended_01").layer
|
||||
}
|
||||
|
||||
local heightLayersPath = "./heightlayers"
|
||||
local heightLayers = {
|
||||
asset.require(heightLayersPath .. "/mola").layer,
|
||||
asset.require(heightLayersPath .. "/mola_europe").layer,
|
||||
asset.require(heightLayersPath .. "/mola_utah").layer,
|
||||
}
|
||||
|
||||
local nightLayers = {}
|
||||
|
||||
local overlaysPath = "./overlays"
|
||||
local overlays = {
|
||||
asset.require(overlaysPath .. "/indices").layer,
|
||||
asset.require(overlaysPath .. "/size_reference").layer,
|
||||
}
|
||||
|
||||
local waterMasks = {}
|
||||
|
||||
asset.export("colorLayers", colorLayers)
|
||||
asset.export("heightLayers", heightLayers)
|
||||
asset.export("nightLayers", nightLayers)
|
||||
asset.export("overlays", overlays)
|
||||
asset.export("waterMasks", waterMasks)
|
||||
@@ -0,0 +1,10 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Mola",
|
||||
Name = "Mola Elevation",
|
||||
FilePath = mapServiceConfigs .. "/Mars_MGS_MOLA_DEM.wms",
|
||||
TilePixelSize = 90
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
@@ -0,0 +1,10 @@
|
||||
local mapServiceConfigs = asset.localResource("./../../map_service_configs")
|
||||
|
||||
local layer = {
|
||||
Identifier = "Mola_Europe",
|
||||
Name = "Mola Elevation [Europe]",
|
||||
FilePath = mapServiceConfigs .. "/LiU/Mola_Elevation.wms",
|
||||
TilePixelSize = 90
|
||||
}
|
||||
|
||||
asset.export("layer", layer)
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user