Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Drew-S/TerrainGenerator

Repository files navigation

Terrain Generator

Name is subject to change

Requirements

  • QT5
    • Install on Arch Linux: sudo pacman -S qt5-base
  • Nodeeditor (included locally)
    • Install: git clone https://github.com/paceholder/nodeeditor.git
  • Qmake (should be included with QT)
  • Make (built in with Linux, included with MingGW)

Installing 3rd party libraries

Nodeeditor

NOTE: In order to fix a couple graphical problems with the nodeeditor library (at the cost of performance for large files) a couple of lines need to be commented out in the source code before being built:

lib/nodeeditor/src/FlowView.cpp

Line 47

-setCacheMode(QGraphicsView::CacheBackground);
+// setCacheMode(QGraphicsView::CacheBackground);
lib/nodeeditor/src/NodeGraphicsObject.cpp

Line 38

-setCacheMode( QGraphicsItem::DeviceCoordinateCache );
+// setCacheMode( QGraphicsItem::DeviceCoordinateCache );

Performance should not dwindle until large dataflow diagrams are being used.

cd lib
git clone https://github.com/paceholder/nodeeditor.git

cd nodeeditor
mkdir build
cd build
cmake .. -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DBUILD_SHARED_LIBS=OFF
make

Quazip

cd lib
git clone https://github.com/stachenov/quazip.git

cd quazip
qmake CONFIG+=staticlib LIBS+=-lz
make

Simplex Noise

cd lib
git clone https://github.com/SRombauts/SimplexNoise.git

JSON

Qt json is only well designed for reading data

cd lib
git clone https://github.com/nlohmann/json.git

Building

Makefile:

qmake TerrainGenerator.pro
make

Running

./build/TerrainGenerator

Unit Test

./test/build/test

TODO: Add usage documentation to docs, add help to application with built in reference and searching.

About

No description, website, or topics provided.

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages