Terrain Processor: Heightmap: Perlin Noise: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Terrain Processor Manual|Heightmap]] | [[Category:Terrain Processor Manual|Heightmap]] | ||
{{TerrainProcessorManual|Heightmap: Perlin Noise|BITasksPlugin.dll|Polygon, PolygonM, PolygonZ|Yes|= | {{TerrainProcessorManual|Heightmap: Perlin Noise|BITasksPlugin.dll|Polygon, PolygonM, PolygonZ|Yes|= | ||
|DESCRIPTION=Algorithm adds perlin noise in terrain heightmap. It uses Shapefile as mask polygons. [https://en.wikipedia.org/wiki/Perlin_noise Perlin noise on Wikipedia] | |DESCRIPTION=Algorithm adds perlin noise in terrain heightmap. It uses Shapefile as mask polygons. [https://en.wikipedia.org/wiki/Perlin_noise Perlin noise on Wikipedia]. | ||
|TASKPARAMETERS= | |TASKPARAMETERS= | ||
* '''Amplitude''' - Maximal +- height added to terrain heightmap. | * '''Amplitude''' - Maximal +- height added to terrain heightmap. | ||
* '''Scale''' - Perlin noise mapping scale. | * '''Scale''' - Perlin noise mapping scale. | ||
|OBJECTPROTOTYPEPARAMETERS= | |OBJECTPROTOTYPEPARAMETERS= | ||
|USAGE=Good to for creating some terrain corrugation within a particular area, e.g. more rugged terrain in a forest offering some | |USAGE=Good to for creating some terrain corrugation within a particular area, e.g. more rugged terrain in a forest offering some additional cover to infantry. Gentle noise adds natural feel to meadows or brownfield. | ||
|ALGORITHM=# Load heightmap | |ALGORITHM=# Load heightmap | ||
# | # For each shapefile polygon | ||
## | ## For each heightmap point in polygon | ||
### Get Perlin noise value and add it to height in heightmap | ### Get Perlin noise value and add it to height in heightmap | ||
|SAMPLE= | |SAMPLE= | ||
}} | }} |
Revision as of 09:54, 10 August 2015
Task details
Task name : Heightmap: Perlin Noise
Dll plugin name : BITasksPlugin.dll
Geometry type : Polygon, PolygonM, PolygonZ
Heightmap : Yes
Description
Algorithm adds perlin noise in terrain heightmap. It uses Shapefile as mask polygons. Perlin noise on Wikipedia.
Task parameters
- Amplitude - Maximal +- height added to terrain heightmap.
- Scale - Perlin noise mapping scale.
Usage
Good to for creating some terrain corrugation within a particular area, e.g. more rugged terrain in a forest offering some additional cover to infantry. Gentle noise adds natural feel to meadows or brownfield.
Algorithm
- Load heightmap
- For each shapefile polygon
- For each heightmap point in polygon
- Get Perlin noise value and add it to height in heightmap
- For each heightmap point in polygon