gempy icon indicating copy to clipboard operation
gempy copied to clipboard

Procedural terrain generation

Open flohorovicic opened this issue 5 years ago • 4 comments

Is your feature request related to a problem? Please describe. Random topography generation using fractal methods is a bit 80's... nice for mathematical reasons, but not really realistic.

Describe the solution you'd like Procedural landscape generation, e.g. the simple Diamond-Square algorithm:

  • http://jmecom.github.io/blog/2015/diamond-square/
  • https://github.com/buckinha/DiamondSquare

Describe alternatives you've considered n/a

Additional context Many more methods for terrain generation exist (mostly for computer games), this seems to be an interesting overview (but paywalled and I couldn't get access): https://link.springer.com/chapter/10.1007/978-3-030-21077-9_6

flohorovicic avatar Apr 08 '20 19:04 flohorovicic

Example in commit bf51f9a

flohorovicic avatar Apr 08 '20 19:04 flohorovicic

This looks really cool. The whole topography grid needs a refresh once you finish you Epic. At the moment is not as modular as it could be and relays unnecessarily on gdal

Leguark avatar Apr 09 '20 06:04 Leguark

Just a quick update (if anyone is interested): resulted in a development branch (latest commit: f0163ce4701f9b688de140ae379f0babc84d20fc) - mostly focussing on a vectorised implementation of the D-S algorithm at the moment. But a lot of interesting stuff that could be done.

flohorovicic avatar Apr 13 '20 19:04 flohorovicic

@flohorovicic what would you think about adding this feature to GemGIS?

AlexanderJuestel avatar Sep 07 '21 14:09 AlexanderJuestel