The International Simutrans Forum

Community => Community Discussion => Randomness Lounge => Topic started by: Carl on August 11, 2016, 12:47:36 PM

Title: Algorithmically-generated fantasy maps
Post by: Carl on August 11, 2016, 12:47:36 PM
I thought the tools in this article were fascinating - and may be of interest to some here:

http://mewo2.com/notes/terrain/

Title: Re: Algorithmically-generated fantasy maps
Post by: prissi on August 11, 2016, 09:08:31 PM
Wow, that is a very interesting map generator; with the simutrans climates as additional input (or output) that could go closer to the idea of worlds made by erosions (especially for larger maps). There was a thread somewhere in the extension or patches sections only focussed on water erosion (Here http://forum.simutrans.com/index.php?topic=10042 but I did not find the world based on climates and precipitation one).
Title: Re: Algorithmically-generated fantasy maps
Post by: Isaac Eiland-Hall on August 12, 2016, 02:48:43 AM
Wow, that's awesome!
Title: Re: Algorithmically-generated fantasy maps
Post by: wlindley on August 12, 2016, 01:17:45 PM
what's the best way to get a complete map, or a proto-map imported, so i can experiment with this?  I'd like to write some programs in Perl to output not just a height-map but city locations, rivers, and so on. 
Title: Re: Algorithmically-generated fantasy maps
Post by: prissi on August 12, 2016, 07:49:39 PM
There is a link to an early Python source. But since it works best with random grid points, I think it isnot too compatible with the current perlin maps. Also the current perlin maps rarely produce double height slopes, even for mountains.
Title: Re: Algorithmically-generated fantasy maps
Post by: DrSuperGood on August 12, 2016, 10:23:29 PM
Since the map generation algorithm needs non-uniform grid points, sampling would be needed to translate them into the uniform grid. How good the end result would be after this I do not know, however it might be sufficient for a reasonable Sumatrans map. The city locations can be used as hints where to place appropriate cities. The region mechanics can probably be ignored, however they could possibly be used for different climates, an industry spawning model or even just eye candy.