Terrain Processor: Area: Local Maximum Cluster

From Bohemia Interactive Community
Revision as of 12:48, 9 August 2015 by Tom 48 97 (talk | contribs) (Created page with "Area__NOTOC__ {| cellspacing="0" style="background:#eee" | '''Task name''': Area: Local Maximum Cluster '''Dll plugin name''': BITasksPl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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.