{"name":"Terrain Processor: Heightmap: Perlin Noise","title":"Terrain Processor: Heightmap: Perlin Noise","type":"topic","url":"https://community.bistudio.com/wiki/Terrain_Processor:_Heightmap:_Perlin_Noise","revid":338029,"updated":"2023-02-23T21:11:23Z","aliases":[],"markdown":"#### Task details\n\n**Task name** : Heightmap: Perlin Noise\n\n**Dll plugin name** : BITasksPlugin.dll\n\n**Geometry type** : Polygon, PolygonM, PolygonZ\n\n**Heightmap** : Yes\n\n#### Description\n\nAlgorithm adds perlin noise in terrain heightmap. It uses Shapefile as mask polygons. [Perlin noise on Wikipedia](https://en.wikipedia.org/wiki/Perlin_noise).\n\n#### Task parameters\n\n- **Amplitude** - Maximal +- height added to terrain heightmap.\n- **Scale** - Perlin noise mapping scale.\n\n#### Usage\n\nGood 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.\n\n#### Algorithm\n\n1. Load heightmap\n1. For each shapefile polygon\n   1. For each heightmap point in polygon\n      1. Get Perlin noise value and add it to height in heightmap","sections":[{"heading":"Task details","level":4,"markdown":"**Task name** : Heightmap: Perlin Noise\n\n**Dll plugin name** : BITasksPlugin.dll\n\n**Geometry type** : Polygon, PolygonM, PolygonZ\n\n**Heightmap** : Yes"},{"heading":"Description","level":4,"markdown":"Algorithm adds perlin noise in terrain heightmap. It uses Shapefile as mask polygons. [Perlin noise on Wikipedia](https://en.wikipedia.org/wiki/Perlin_noise)."},{"heading":"Task parameters","level":4,"markdown":"- **Amplitude** - Maximal +- height added to terrain heightmap.\n- **Scale** - Perlin noise mapping scale."},{"heading":"Usage","level":4,"markdown":"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."},{"heading":"Algorithm","level":4,"markdown":"1. Load heightmap\n1. For each shapefile polygon\n   1. For each heightmap point in polygon\n      1. Get Perlin noise value and add it to height in heightmap"}],"categories":["Terrain Processor Manual"],"groups":["Tools and File Formats"]}