Skip to content

sashman/terrain_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A program to generate terrain and features with variable formats.

Usage:  ./terrain_generator [options]
  -h  --help                 Display this usage information.
  -c  --config <filename>    Use custom config file.
  -v  --verbose              Print verbose messages.
      --height <value>       Crop the map down to specified positive integer height.
      --width <value>        Crop the map down to specified positive integer width.
      --rough <value>        Define smoothness of the terrain as a float (0.0 < v < 1.0).
                             Lower values produce smoother terrain, smaller difference in adjacent tiles.
      --seed <value>         Set the initial positive integer height for the algorithm to be generate values from.
      --offset <value>       Set the initial offset positive integer height (seed+offset=max possible height).
      --plate <value>        Set the fraction of the tectonic plates appearance.
                             Higher values will give a more 'ripped apart' look, values too close to 1 are not
                             recommended for realistic terrain. (0.0 < v < 1.0)
      --erosion <value>      Number of erosion iterations over the terrain. Must be a positive integer.
  -n  --negative             Allow for negative height values.


TODO:
- add noise to voronoi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published