Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

PetrFlajsingr/TerrainGeneration

Repository files navigation

Terrain generation

Procedural terrain generation using marching cubes.

Documentation (czech): https://github.com/PetrFlajsingr/TerrainGeneration-DOC

gcc-9 required (c++20)

Required libraries:

  • freeglut3-dev - for text rendering
  • SDL2 - correct version for geGL required (2.0.9)
  • libfreetype6-dev - for text rendering
  • libsndio-dev
  • libdbus-1-dev
  • libibus-1.0-dev

To build the project:

Set SDL2_DIR.

mkdir build && cd build

cmake ..

Modify CMakeLists.txt of freetypeglpp to use system GLUT in case of a failure.

cmake ..

make

To run the project:

./TerrainGeneration <path to config.json file>

Do not forget to modify paths in config.json for assets and shaders.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published