Terrain Processor: Area: Local Maximum Cluster: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - " *\|= " to " ")
 
Line 1: Line 1:
[[Category:Terrain Processor Manual|Area]]
[[Category:Terrain Processor Manual|Area]]
{{TerrainProcessorManual|Area: Local Maximum Cluster|BITasksPlugin.dll|Polygon, PolygonM, PolygonZ|Yes|=
{{TerrainProcessorManual|Area: Local Maximum Cluster|BITasksPlugin.dll|Polygon, PolygonM, PolygonZ|Yes
|DESCRIPTION=Random placement of multiple objects onto local terrain peaks inside the polygons. It creates linear clusters.
|DESCRIPTION=Random placement of multiple objects onto local terrain peaks inside the polygons. It creates linear clusters.
|TASKPARAMETERS=* '''Random seed''' - number used to initialize pseudorandom number generator.
|TASKPARAMETERS=* '''Random seed''' - number used to initialize pseudorandom number generator.

Latest revision as of 21:11, 17 January 2021

Task details

Task name : Area: Local Maximum Cluster

Dll plugin name : BITasksPlugin.dll

Geometry type : Polygon, PolygonM, PolygonZ

Heightmap : Yes


Description

Random placement of multiple objects onto local terrain peaks inside the polygons. It creates linear clusters.

Task parameters

  • Random seed - number used to initialize pseudorandom number generator.

Object prototype parameters

  • OBJECT - Object's prototype name
  • MINHEIGHT - Minimal size in %
  • MAXHEIGHT - Maximal size in %
  • MINDIST - Minimal distance in meters
  • GROUPID - Cluster group id.
  • MINCOUNT - Minimal instances count.
  • MAXCOUNT - Maximal instances count.
  • MINRADIUS - Minimal occurence radius.
  • MAXRADIUS - Maxima occurence radius.

Usage

Use it for placing objects in local maximum areas clusters like trees or stones on top of the terrain wave.

Algorithm

  1. Find local maximals.
  2. Populate linear cluster as usual.