Terrain Processor: Area: Local Maximum Cluster

From Bohemia Interactive Community
Jump to navigation Jump to search

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.