Updated CreateFromImage (markdown)

Jesse Boyd 2017-09-06 21:10:27 +10:00
parent 0bf6d73766
commit 91d77f96fd

@ -1,9 +1,9 @@
## Overview
The CreateFromImage command is used to build terrain from large heightmaps. Heightmaps can be generated using software like [WorldMachine](http://www.world-machine.com/) and [GeoGlyph](http://www.quadspinner.com/geoglyph/) or found online.
Example:
Image:
[![CFI TEST](https://i.imgur.com/qUjm3hv.jpg)](https://i.imgur.com/qUjm3hv.jpg)
Videos:
Videos Tests:
- https://www.youtube.com/watch?v=pPR-w6cRNTc
- https://www.youtube.com/watch?v=cJZk1GTig7A
@ -16,9 +16,13 @@ Dependencies:
- `[arg]` - An optional parameter
- `<arg1|arg2>` - Multiple parameters options
- `<arg=value>` - Default or suggested value
## Terminology
- [`Height Map`](http://i.imgur.com/qCd30MR.jpg) - The HSL luminance (whiteness) of each pixel represents the terrain height.
- [`Color Map`](http://i.imgur.com/vJYinIU.jpg) - An image of terrain color
- [`Image Mask`](http://i.imgur.com/kQdfO6T.png) - Restrict some operation to the white parts of the image mask
## Starting
To begin you need to either specify a heightmap to use (imgur link), or the dimensions you want.
To begin you need to either specify a heightmap to use, or the dimensions you want.
- Using a heightmap: `/2 cfi <url>`
- Or using a fixed size: `/2 cfi <width> <length>`