No description, website, or topics provided.
C++ C Python Shell
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
lib
scripts
src
.gitignore
README
TODO
VeniceClassic.ttf
config.json
location_prefix
location_suffix

README

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