Skip to content

Commit

Permalink
Update readme with hdmap tool link
Browse files Browse the repository at this point in the history
  • Loading branch information
Meshiest committed Aug 4, 2020
1 parent a31d909 commit ec8347e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "heightmap"
version = "0.3.5"
version = "0.3.6"
authors = ["Meshiest <[email protected]>"]
edition = "2018"

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,14 @@ Compile or download from releases.
ARGS:
<INPUT>... Input heightmap PNG images

### Examples

An example command for generating the GTA V map would be:

`heightmap example_maps/gta5_fixed2_height.png -c example_maps/gta5_fixed2_color.png -s 4 -v 20 --tile -o gta5.brs`

To use stacked heightmap for increased resolution, simply provide more input files. See the `stacked_N.png` files in the `example_maps` directory for example stacked heightmaps.

`heightmap ./example_maps/stacked_1.png ./example_maps/stacked_2.png ./example_maps/stacked_3.png ./example_maps/stacked_4.png --tile`

To generate HD heightmaps for the `--hdmap` flag, check out [Kmschr's GeoTIFF2Heightmap tool](https://github.com/Kmschr/GeoTIFF2Heightmap).
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use std::fs::File;

fn main() {
let matches = clap_app!(heightmap =>
(version: "0.3.5")
(version: "0.3.6")
(author: "github.com/Meshiest")
(about: "Converts heightmap png files to Brickadia save files")
(@arg INPUT: +required +multiple "Input heightmap PNG images")
Expand Down

0 comments on commit ec8347e

Please sign in to comment.