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

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "Area__NOTOC__ {| cellspacing="0" style="background:#eee" | '''Task name''': Area: Local Maximum Cluster '''Dll plugin name''': BITasksPl...")
 
No edit summary
Line 1: Line 1:
[[Category:Terrain Processor Manual|Area]]__NOTOC__
[[Category:Terrain Processor Manual|Area]]
{| cellspacing="0" style="background:#eee"
{{TerrainProcessorManual|Area: Local Maximum Cluster|BITasksPlugin.dll|Polygon, PolygonM, PolygonZ|Yes|=
| '''Task name''': Area: Local Maximum Cluster
|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.
'''Dll plugin name''': BITasksPlugin.dll
|OBJECTPROTOTYPEPARAMETERS=* '''OBJECT''' - Object's prototype name
 
'''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 %
* '''MINHEIGHT''' - Minimal size in %
* '''MAXHEIGHT''' - Maximal size in %
* '''MAXHEIGHT''' - Maximal size in %
Line 26: Line 12:
* '''MINRADIUS''' - Minimal occurence radius.
* '''MINRADIUS''' - Minimal occurence radius.
* '''MAXRADIUS''' - Maxima 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.
=== Usage ===
|ALGORITHM=# Find local maximals.
Use it for placing objects in local maximum areas clusters like trees or stones on top of the terrain wave.
 
=== Algorithm ===
# Find local maximals.
# Populate linear cluster as usual.
# Populate linear cluster as usual.
|SAMPLE=
}}

Revision as of 13:53, 9 August 2015

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.