terrain-gen/README.md

835 B

TerrainGen

Dependencies

Qt, libnoise and a C++ 11 compiler are required to build this project. The libraries installation steps are detailled bellow.

Archlinux

# Both libraries are available in the official repos
pacman -S qt5-base libnoise

Others

  • Install Qt using the appropriate method for your plateform.
  • Build libnoise, this fork provide working build files using cmake, and install it.

Build instruction

# Clone git repo
git clone https://git.blacksponge.net/BlackSponge/terrain-gen.git
cd terrain-get
# Create output directory
mkdir build
# Build executable
qmake ..
make -j4
# Create symlink to shaders directory next to executable
ln -s ../shaders .
# Run program
./terrain-gen