Skip to content

Commit

Permalink
Multiplier descriptions update.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatkot committed Jan 6, 2025
1 parent fda83d6 commit 6ad1922
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ You can also apply some advanced settings to the map generation process.<br>

### DEM Advanced settings

- Multiplier: the height of the map is multiplied by this value. So the DEM map is just a 16-bit grayscale image, which means that the maximum available value there is 65535, while the actual difference between the deepest and the highest point on Earth is about 20 km. Just note that this setting mostly does not matter, because you can always adjust it in the Giants Editor, learn more about the DEM file and the heightScale parameter in [docs](docs/dem.md). By default, it's set to 1.
- Multiplier: the height of the map is multiplied by this value. So the DEM map is just a 16-bit grayscale image, which means that the maximum available value there is 65535, while the actual difference between the deepest and the highest point on Earth is about 20 km. Just note that this setting mostly does not matter, because you can always adjust it in the Giants Editor, learn more about the DEM file and the heightScale parameter in [docs](docs/dem.md). To match the in-game heights with SRTM Data provider, the recommended value is 255 (if easy mode is disabled), but depending on the place, you will need to play with both multiplier and the height scale in Giants Editor to find the best values.

- Blur radius: the radius of the Gaussian blur filter applied to the DEM map. By default, it's set to 21. This filter just makes the DEM map smoother, so the height transitions will be more natural. You can set it to 1 to disable the filter, but it will result in a Minecraft-like map.

Expand Down
3 changes: 3 additions & 0 deletions webui/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ class Settings:
"DEM multiplier can be used to make the terrain more pronounced. "
"By default the DEM file will be exact copy of the real terrain. "
"If you want to make it more steep, you can increase this value. "
"The recommended value of the multiplier is 255, which refers to the height scale "
"in Giants Editor. But it will not going to work with every place, you need to perform "
"experiments, play both with the multiplier and the height scale in GE."
)
BLUR_RADIUS = (
"DEM blur radius is used to blur the elevation map. Without blurring the terrain "
Expand Down

0 comments on commit 6ad1922

Please sign in to comment.