diff --git a/data/assets/scene/solarsystem/planets/neptune/major_moons.asset b/data/assets/scene/solarsystem/planets/neptune/major_moons.asset index 2d5ad03546..db51e5b43b 100644 --- a/data/assets/scene/solarsystem/planets/neptune/major_moons.asset +++ b/data/assets/scene/solarsystem/planets/neptune/major_moons.asset @@ -1,4 +1,5 @@ asset.require("./triton/triton") +asset.require("./triton/default_layers") asset.require("./nereid/nereid") diff --git a/data/assets/scene/solarsystem/planets/neptune/triton/default_layers.asset b/data/assets/scene/solarsystem/planets/neptune/triton/default_layers.asset new file mode 100644 index 0000000000..a74daed072 --- /dev/null +++ b/data/assets/scene/solarsystem/planets/neptune/triton/default_layers.asset @@ -0,0 +1,11 @@ +asset.require("./layers/colorlayers/Triton_Voyager2_ClrMosaic_GlobalFill_600m_newyork", true) + + +asset.meta = { + Name = "Default Triton Layers", + Version = "1.0", + Description = "Default Triton layers are: Voyager2 Mosaic", + Author = "OpenSpace Team", + URL = "http://openspaceproject.com", + License = "MIT license" +} diff --git a/data/assets/scene/solarsystem/planets/neptune/triton/layers/colorlayers/Triton_Voyager2_ClrMosaic_GlobalFill_600m_newyork.asset b/data/assets/scene/solarsystem/planets/neptune/triton/layers/colorlayers/Triton_Voyager2_ClrMosaic_GlobalFill_600m_newyork.asset new file mode 100644 index 0000000000..97a49a7535 --- /dev/null +++ b/data/assets/scene/solarsystem/planets/neptune/triton/layers/colorlayers/Triton_Voyager2_ClrMosaic_GlobalFill_600m_newyork.asset @@ -0,0 +1,36 @@ +local globeIdentifier = asset.require("scene/solarsystem/planets/neptune/triton/triton").Triton.Identifier + +local layer = { + Identifier = "Triton_Voyager2_ClrMosaic_GlobalFill_600m_newyork", + Name = "Triton Voyager2 Mosaic [New York]", + Enabled = asset.enabled, + FilePath = asset.localResource("Triton_Voyager2_ClrMosaic_GlobalFill_600m_newyork.vrt"), + Description = [[Voyager 2 data was used to construct the best-ever global color map of Triton. + This map has a resolution of 1,970 feet (600 meters per pixel [m]). Color was synthesized by + combining high-resolution images taken through orange, violet, and ultraviolet filters; these + images were displayed as red, green, and blue images and combined to create this + color version (Smith et al., 1989).]], +} + +asset.onInitialize(function() + openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer) +end) + +asset.onDeinitialize(function() + openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", layer) +end) + +asset.export("layer", layer) + + + +asset.meta = { + Name = "Triton Voyager2 Mosaic", + Version = "1.0", + Description = [[Voyager2 mosaic of Triton. This layer is hosted on the + OpenSpace server in New York]], + Author = "USGS", + URL = "https://astrogeology.usgs.gov/search/map/Triton/Mosaic/" .. + "Triton_Voyager2_ClrMosaic_GlobalFill_600m/", + License = "NASA/PDS" +} diff --git a/data/assets/scene/solarsystem/planets/neptune/triton/layers/colorlayers/Triton_Voyager2_ClrMosaic_GlobalFill_600m_newyork.vrt b/data/assets/scene/solarsystem/planets/neptune/triton/layers/colorlayers/Triton_Voyager2_ClrMosaic_GlobalFill_600m_newyork.vrt new file mode 100644 index 0000000000..6d515a9f0e --- /dev/null +++ b/data/assets/scene/solarsystem/planets/neptune/triton/layers/colorlayers/Triton_Voyager2_ClrMosaic_GlobalFill_600m_newyork.vrt @@ -0,0 +1,47 @@ + + GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]] + -1.8000000000000000e+02, 2.5463290422973548e-02, 0.0000000000000000e+00, 9.0000000000000000e+01, 0.0000000000000000e+00, -2.5463290422973548e-02 + + Red + + Triton_Voyager2_ClrMosaic_GlobalFill_600m_newyork.wms + 1 + + + + + + + Green + + Triton_Voyager2_ClrMosaic_GlobalFill_600m_newyork.wms + 2 + + + + + + + Blue + + Triton_Voyager2_ClrMosaic_GlobalFill_600m_newyork.wms + 3 + + + + + + + Alpha + 0 + + Triton_Voyager2_ClrMosaic_GlobalFill_600m_newyork.wms + 1 + + + + 255 + 0 + + + diff --git a/data/assets/scene/solarsystem/planets/neptune/triton/layers/colorlayers/Triton_Voyager2_ClrMosaic_GlobalFill_600m_newyork.wms b/data/assets/scene/solarsystem/planets/neptune/triton/layers/colorlayers/Triton_Voyager2_ClrMosaic_GlobalFill_600m_newyork.wms new file mode 100644 index 0000000000..f29f9f14b9 --- /dev/null +++ b/data/assets/scene/solarsystem/planets/neptune/triton/layers/colorlayers/Triton_Voyager2_ClrMosaic_GlobalFill_600m_newyork.wms @@ -0,0 +1,20 @@ + + + http://wms.openspace.amnh.org/Triton/Triton_Voyager2_ClrMosaic_GlobalFill_600m/tile/${z}/${y}/${x} + + + -180.0 + 90.0 + 180.0 + -90.0 + 14138 + 7069 + 5 + top + + EPSG:4326 + 512 + 512 + 4 + 10 +