Terrain Processor: Heightmap: Perlin Noise

From Bohemia Interactive Community
Revision as of 14:29, 9 August 2015 by Tom 48 97 (talk | contribs) (Created page with "Heightmap {{TerrainProcessorManual|Heightmap: Perlin Noise|BITasksPlugin.dll|Polygon, PolygonM, PolygonZ|Yes|= |DESCRIPTION=Algorithm add...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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. WIKI Perlin noise

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 addtional cover to infantry. Gentle noise adds natural feel to meadows or brownfields.

Algorithm

  1. Load heightmap
  2. Foreach shapefile polygon
    1. Foreach heightmap point in polygon
      1. Get Perlin noise value and add it to height in heightmap