Commit Graph

12 Commits

Author SHA1 Message Date
Gael-de-Sailly a9ab0e53d3 Change folder structure: data files are now in a directory.
Also added a demo 400x400 map, that is overriden on pre-processing.
2020-04-26 23:29:36 +02:00
Gael-de-Sailly cd4b517585 terrain_rivers.py: `mapsize` is now the number of intervals
instead of the number of nodes.
2020-04-26 19:51:21 +02:00
Gael-de-Sailly cd90a21df4 Enhanced visualization code to display colormaps, and reuse the same code for initial and further viewing, in view_map.py 2020-04-26 18:30:29 +02:00
Gael-de-Sailly 206c68813e Switch again to using river direction and flux instead of table of bounds 2020-04-26 18:10:23 +02:00
Gael-de-Sailly 6af6795d90 Comment and clarify 2020-04-26 17:13:38 +02:00
Gael-de-Sailly 49bc397718 Fix parameters for Simplex noise, to make sure the last octave has not a greater scale than 1
Also use a 401x401 grid instead of 400, so that there are 400 intervals
2020-04-26 16:52:40 +02:00
Gael-de-Sailly b5db63d267 Re-added river flow data because needed for map preview 2020-04-13 15:01:44 +02:00
Gael-de-Sailly 13d3e70b66 Implemented variable river width.
Also changed the river data exported by terrain_rivers.py. They will not be compatible with what's generated by older versions.
2020-04-13 12:15:10 +02:00
Gael-de-Sailly b7c6f71635 Implemented grid twisting. Still many possible bugs, potentially clumsy implementation, but it seems to work. 2020-04-13 09:27:41 +02:00
Gael-de-Sailly ed34dec4fa Adjust number of octaves in function of map size 2020-04-12 17:26:37 +02:00
Gael-de-Sailly 8b78f6c5b4 Implemented isostatic rebound: loss of weight due to erosion will compensate at regional scale 2020-04-10 19:37:27 +02:00
Gael-de-Sailly 0bf351b2f6 Initial commit: working example using a basis of Simplex noise and implementing river flowing, lakes, and erosion 2020-04-09 21:15:41 +02:00