Skip to content

heightmap procedural generation based on diamond square algorithm

Notifications You must be signed in to change notification settings

AdilSerker/terragen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WORK IN PROGRESS

Compilation

It has the following dependancies which you will need to install before compiling:

glm
glew
glfw3

With all these libraries installed you should be able to run the following to compile:

make all
make build

Once compiled sucessfully you can run the terragen:

./terragen

How to use

Press G to generate map

Press B to smooth map

Press S to save map in {rootFolder}/heightmaps

Screenshots

screenshot from 2019-01-28 03-13-28 screenshot from 2019-01-28 03-14-31 screenshot from 2019-01-28 03-14-46

About

heightmap procedural generation based on diamond square algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published