Skip to content

Milhouzer/proceduralgeneration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Procedural Generation

Some implementations of procedural generation algorithms : Marching squares, Perlin worm, Chunk divided world generation, etc. More features to come : modularity of terrain generation, terrain painting, world division into chunks, vegetation and poi generation, maybe biomes ?

Marching squares :

This is a preety straighforward implementation of the algorithm. The world is divided into tiles. On each tile a 3D model is instanciated based on the result of the marched tile. These models have been created in Blender and separated in 3 parts : bottom, middle and top. This way we can control the height of the terrain just by modifying the y scale of the middle part of the tile.

River generation

River generation based on perlin worms :

image

This river has been generated using two sets of parameters, held by scriptable objects :

The generation is not always perfect as it can be shown on the picture : the river sometimes crosses itself, for the moment it is not a big deal, we can imagine lake being created on these intersection points.

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages