Skip to content

Hydraulic Erosion Simulation on a Sphere

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE2
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

OptimisticPeach/sphere_terrain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sphere Terrain

Terrain generation and erosion simulation on a sphere.

Image of terrain

This project implements this bachelor's thesis to work on a sphere's surface using the points of an IcoSphere as the nodes in place of a grid.

This project:

  • Is based on hexasphere.
  • Features wetness and river simulations to construct biomes.
  • Takes some liberties in implementing the thesis to make it work with a sphere. I am working on a document detailing the mathematics needed to adapt the algorithm to a sphere.
  • Is parallelized by rayon using atomic instructions to simulate atomic floating point numbers.
  • Is nightly only, since I use Ralith's fast, ergonomic, and SIMD-enabled clatter for base terrain generation using simplex noise.
  • Will be updated as I use it or as feature requests come in.

Documentation is light but mostly complete. I am always happy to discuss how to use the library, feel free to message me or open an issue asking questions.

Demo video:

https://youtu.be/UWOiRG7m_ws

The project featured in this video is a separate (currently) private project which I intend to develop into a game.

This library does not do rendering, and mesh generation from the structures it provides is up to you.

About

Hydraulic Erosion Simulation on a Sphere

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE2
MIT
LICENSE-MIT

Stars

Watchers

Forks

Languages