https://github.com/isubasinghe/heightmapgenerator
A simple height map generator.
https://github.com/isubasinghe/heightmapgenerator
c game game-development heightmap heightmaps
Last synced: 12 months ago
JSON representation
A simple height map generator.
- Host: GitHub
- URL: https://github.com/isubasinghe/heightmapgenerator
- Owner: isubasinghe
- Created: 2017-12-01T12:08:56.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-02-25T09:37:26.000Z (almost 6 years ago)
- Last Synced: 2025-01-11T08:47:48.346Z (about 1 year ago)
- Topics: c, game, game-development, heightmap, heightmaps
- Language: C
- Size: 339 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HeightMapGenerator
A simple height map generator.
#### TODO
- Allow merging of heightmaps.
- Implement a function to get a stream of heightmaps based on the previous heightmap, this can be done through the merging talked about above.
- Should be able to save memory by using the png24 format instead of png32, furthermore we could exclude using grid_t and directly using the png24/32 buffer instead.
#### COMPILING
gcc -c *.c && gcc *.o -o [binary file name]
#### USAGE
- [binary file name] [output file name] [width] [height [blur radius] [blur iterations] [seed]


These can be blurred more or less, depending on your desired "flatness"