Heightmap not updated correctly after leaving edit mode (when a lower land area is enclosed in a high land area)
rodrigueslazaro opened this issue · comments
When working with high regions (>2000m), creating a region of lower height and enclosing it with a border of higher hight makes it so the lower region is not updated on the map after exiting the heightmap edit mode.
Steps to reproduce
- Click the buttton Heightmap under tab Tools.
- Click on Keep on the "Edit Heightmap" popup.
- Paint a circular region on the map with 3 cells of radius and heiht 2025, then draw a border around it with height 3025.
- Click on Exit Customization
Expected behavior
The heightmap in view mode displays exactly what was drawn.
.map file
heightmap_bug.zip
Screenshots
In edit mode, a range of mountains as described:
After leaving edit mode, the bug as described:
System
- Version: v1.89.34
- Browser: Edge (also tried on Firefox)
- OS: Windows 11
Hello. There is a limit of complexity the generator can handle. River generation algorithm can to resolve all depressions prior to work. In case of complex depressions with lots of flat surface and no incline it may not be able to handle it. So the solution will be to create more plausible heightmap, will no absolutely flat areas and will clear incline to the nearest water body.
The easiest way to help the algorithm is to add small lake into the middle the enclosed areas. It will allow the algorithm to pour all the water to it and form an endorheic basin.
Thank you! It works now with some modifications. Just trying to make a world artificially modified by aliens, not a lot of plausability around xD. Again, thanks for the tip! Love this tool!