Terrain Processor: Point: With Rotation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "Point {{TerrainProcessorManual|Point: With Rotation|BITasksPlugin.dll|Point, PointM, PointZ|No|= |DESCRIPTION=Method puts objects on poin...")
 
m (Text replacement - " *\|= " to " ")
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Terrain Processor Manual|Point]]
[[Category:Terrain Processor Manual|Point]]
{{TerrainProcessorManual|Point: With Rotation|BITasksPlugin.dll|Point, PointM, PointZ|No|=
{{TerrainProcessorManual|Point: With Rotation|BITasksPlugin.dll|Point, PointM, PointZ|No
|DESCRIPTION=Method puts objects on points with defined or random rotation.
|DESCRIPTION=Method puts objects on points with defined or random rotation.
|TASKPARAMETERS=
|TASKPARAMETERS=
Line 8: Line 8:
* '''MAXHEIGHT''' - Maximal size in %
* '''MAXHEIGHT''' - Maximal size in %
* '''RANDROT'''- Random rotation (true x false)
* '''RANDROT'''- Random rotation (true x false)
* '''ROTATION'''- If random rotation is false, then use this value
* '''ROTATION'''- If random rotation is false, then use this value. ROTATION is specified in radians, anti-clockwise, with 0 being North.
|USAGE=Very simple algorithm, it places objects with fixed or random rotation on given points. It can be used for any single object where particular orientation is desired and known: small crosses, chapels, street lights, towers etc.
|USAGE=Very simple algorithm, it places objects with fixed or random rotation on given points. It can be used for any single object where particular orientation is desired and known: small crosses, chapels, street lights, towers etc.
|ALGORITHM=For each shape point do :
|ALGORITHM=For each shape point do :

Latest revision as of 21:17, 17 January 2021

Task details

Task name : Point: With Rotation

Dll plugin name : BITasksPlugin.dll

Geometry type : Point, PointM, PointZ

Heightmap : No


Description

Method puts objects on points with defined or random rotation.


Object prototype parameters

  • OBJECT - Object's prototype name
  • PROB - Object's probability
  • MINHEIGHT - Minimal size in %
  • MAXHEIGHT - Maximal size in %
  • RANDROT- Random rotation (true x false)
  • ROTATION- If random rotation is false, then use this value. ROTATION is specified in radians, anti-clockwise, with 0 being North.

Usage

Very simple algorithm, it places objects with fixed or random rotation on given points. It can be used for any single object where particular orientation is desired and known: small crosses, chapels, street lights, towers etc.

Algorithm

For each shape point do :

  1. Get rotation
  2. Add object