Terrain Processor: Line: Nodes Objects: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Line {{TerrainProcessorManual|Line: Nodes Objects|BITasksPlugin.dll|Polyline, PolylineM, PolylineZ|No|= |DESCRIPTION=Method puts objects...") |
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
||
Line 1: | Line 1: | ||
[[Category:Terrain Processor Manual|Line]] | [[Category:Terrain Processor Manual|Line]] | ||
{{TerrainProcessorManual|Line: Nodes Objects|BITasksPlugin.dll|Polyline, PolylineM, PolylineZ|No | {{TerrainProcessorManual|Line: Nodes Objects|BITasksPlugin.dll|Polyline, PolylineM, PolylineZ|No | ||
|DESCRIPTION=Method puts objects on polylines nodes with forward rotation. | |DESCRIPTION=Method puts objects on polylines nodes with forward rotation. | ||
|TASKPARAMETERS=* '''PROBABILITY''' - Probability of object occurence on polyline node in %. 0% - never, 100% - always | |TASKPARAMETERS=* '''PROBABILITY''' - Probability of object occurence on polyline node in %. 0% - never, 100% - always |
Latest revision as of 21:13, 17 January 2021
Task details
Task name : Line: Nodes Objects
Dll plugin name : BITasksPlugin.dll
Geometry type : Polyline, PolylineM, PolylineZ
Heightmap : No
Description
Method puts objects on polylines nodes with forward rotation.
Task parameters
- PROBABILITY - Probability of object occurence on polyline node in %. 0% - never, 100% - always
Object prototype parameters
- OBJECT - Object's prototype name
- PROB - Object's probability
- MINHEIGHT - Minimal size in %
- MAXHEIGHT - Maximal size in %
- ROTATION - Rotation offset in °
Usage
You may create polylines of powerlines with node on each pole, and use this module to place the poles with correct rotation.
Algorithm
For each shape (linear) do :
- For each node on polyline do :
- Compute right forward rotation
- Add object prototype