Terrain Processor: Line: Segments Objects: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "Line {{TerrainProcessorManual|Line: Segments Objects|BITasksPlugin.dll|Polyline, PolylineM, PolylineZ|No|= |DESCRIPTION=Method puts objec...")
 
m (Text replacement - " *\|= " to " ")
 
Line 1: Line 1:
[[Category:Terrain Processor Manual|Line]]
[[Category:Terrain Processor Manual|Line]]
{{TerrainProcessorManual|Line: Segments Objects|BITasksPlugin.dll|Polyline, PolylineM, PolylineZ|No|=
{{TerrainProcessorManual|Line: Segments Objects|BITasksPlugin.dll|Polyline, PolylineM, PolylineZ|No
|DESCRIPTION=Method puts objects on polylines nodes with rotation to next node.
|DESCRIPTION=Method puts objects on polylines nodes with rotation to next node.
|TASKPARAMETERS=* '''Objects distance''' - Distance between objects.
|TASKPARAMETERS=* '''Objects distance''' - Distance between objects.

Latest revision as of 21:12, 17 January 2021

Task details

Task name : Line: Segments Objects

Dll plugin name : BITasksPlugin.dll

Geometry type : Polyline, PolylineM, PolylineZ

Heightmap : No


Description

Method puts objects on polylines nodes with rotation to next node.

Task parameters

  • Objects distance - Distance between objects.
  • Centerline offset - Offset from center line to objects line
  • Spline interpolation - Use Bezier spline instead of original polyline.

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 :

  1. For each node on polyline do:
    1. Compute right forward rotation
    2. Add object prototype