Map generator with Perlin heightmap
Submitted by foerstj on Mon, 2022-01-24 12:03 | ||
I've been playing with map-generating again recently - this time I wanted to not just produce flat squares of terrain but mountainous terrain from a Perlin-generated heightmap. This not only looks prettier and more interesting, it also provides the important benefit that only a fraction of the map is accessible, generating long linear paths that loop around mountains and valleys and connect to each other. The idea developed together with the idea of a Green Range map. I made two forum topics tho to keep discussion separate. So here's what I have so far: Here's where the algo wasn't able to find a fitting node: Here's a perlin heightmap visualized (white = high value = mountain, black = low value = valley, gray = walkable middle area) and the resulting region: And here's a picture of larger floor area to show off plant distribution: Green Range map discussion: https://siegetheday.org/?q=node/7327 |
||
» |