mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-13 08:58:54 -05:00
Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace into feature/globebrowsing
This commit is contained in:
@@ -62,12 +62,12 @@ return {
|
||||
Name = "Layered Rock Outcrops in Southwest Candor Chasma",
|
||||
FilePath = "map_datasets/HiRISE/Layered_Rock_Outcrops_in_Southwest_Candor_Chasma_Texture.vrt",
|
||||
},
|
||||
--[[
|
||||
{
|
||||
Name = "CTX Mosaic",
|
||||
FilePath = "map_service_configs/CTX_Mosaic.xml",
|
||||
Enabled = true,
|
||||
},
|
||||
--[[
|
||||
{
|
||||
Name = "West Candor Chasma",
|
||||
FilePath = "map_datasets/CTX/West_Candor_Chasma_longlat_global.vrt",
|
||||
@@ -112,7 +112,7 @@ return {
|
||||
MinimumPixelSize = 64,
|
||||
DoPreProcessing = true,
|
||||
},
|
||||
|
||||
--]]
|
||||
{
|
||||
Name = "Mola Elevation",
|
||||
FilePath = "map_service_configs/Mola_Elevation.xml",
|
||||
@@ -120,7 +120,7 @@ return {
|
||||
MinimumPixelSize = 90,
|
||||
DoPreProcessing = true,
|
||||
},
|
||||
{
|
||||
--[[ {
|
||||
Name = "West Candor Chasma",
|
||||
FilePath = "map_datasets/CTX/West_Candor_Chasma_DEM_longlat_global.vrt",
|
||||
--Enabled = true,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TiledWMS">
|
||||
<ServerUrl>http://192.168.1.167/OnMars/wms.cgi?</ServerUrl>
|
||||
<ServerUrl>http://wms.itn.liu.se/OnMars/wms.cgi?</ServerUrl>
|
||||
<TiledGroupName>CTX Mosaic</TiledGroupName>
|
||||
<Transparent>TRUE</Transparent>
|
||||
</Service>
|
||||
@@ -12,10 +12,10 @@
|
||||
<BlockSizeX>256</BlockSizeX>
|
||||
<BlockSizeY>256</BlockSizeY>
|
||||
</DataWindow>
|
||||
<Cache>
|
||||
<!-- <Cache>
|
||||
<Path>./GDAL_CTX_cache</Path>
|
||||
<Depth>10</Depth>
|
||||
<Extension>.png</Extension>
|
||||
</Cache>
|
||||
<OfflineMode>true</OfflineMode>
|
||||
</GDAL_WMS>
|
||||
<OfflineMode>false</OfflineMode>
|
||||
--></GDAL_WMS>
|
||||
@@ -1,6 +1,6 @@
|
||||
<GDAL_WMS>
|
||||
<Service name="TiledWMS">
|
||||
<ServerUrl>http://192.168.1.167/OnMars/wms.cgi?</ServerUrl>
|
||||
<ServerUrl>http://wms.itn.liu.se/OnMars/wms.cgi?</ServerUrl>
|
||||
<TiledGroupName>Mola Elevation</TiledGroupName>
|
||||
</Service>
|
||||
<DataWindow>
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
float performLayerSettings(float currentValue, const LayerSettings settings) {
|
||||
float newValue = currentValue;
|
||||
|
||||
newValue = sign(newValue) * pow(newValue, settings.gamma);
|
||||
newValue = sign(newValue) * pow(abs(newValue), settings.gamma);
|
||||
newValue = newValue * settings.multiplier;
|
||||
newValue = newValue * settings.opacity;
|
||||
|
||||
@@ -129,7 +129,7 @@ float calculateHeight(
|
||||
#if !HEIGHTMAP_BLENDING_ENABLED
|
||||
levelWeights = getDefaultLevelWeights();
|
||||
#endif // HEIGHTMAP_BLENDING_ENABLED
|
||||
|
||||
|
||||
|
||||
#for i in 0..#{lastLayerIndexHeightLayers}
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user