Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load heightmap and Perlin noise generation docs #18

Merged
merged 2 commits into from
Apr 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Documents

TBD
[Terrain](Terrain.md)

20 changes: 18 additions & 2 deletions docs/Terrain.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,24 @@ If you select it with left click then you can see the terrain in the on the edit

## Load heightmap

TBD
You can generate heightmap after selected the terrain.
You see the settings on the ``Height map`` tab on ``Gen`` tab.
Here you can select the height map image.

![](images/generate_heightmap.png)

If you select a heightmap and click to the ``Load heightmap`` button than it will modify the selected terrain.

![](images/generated_heightmap.png)

## Generate Perlin noise

TBD
You can generate Perlin noise after selected the terrain.
You see the settings on the ``Perlin noise`` tab on ``Gen`` tab.
Here you can set the ``Seed``, ``Min height`` and ``Max height``.

![](images/generate_perlin_noise.png)

If you set these values and click to the ``Generate Perlin noise`` button than it will modify the selected terrain.

![](images/generated_perlin_noise.png)
Binary file added docs/images/generate_heightmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/generate_perlin_noise.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/generated_heightmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/generated_perlin_noise.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.