Population Tool
A Population Tool node defines the following attributes:
General Attributes
Number of particles | Number of wanted particles. Notice that if the zone is too small or contains too many obstacles, it is not always possible to generate the wanted number of particles |
Particles placed | Actual number of particles placed in the area. Notice that this attribute is not editable |
Radius | Radius of the relative CrowdEntities. It is recommended to use the CrowdEntity mesh radius, especially when using navigation |
Distance | Distance between particles |
Noise | Position noise of CrowdEntities |
Quincunx placing |
Use a quincunx shape for particles placing Without a quincunx placing (1) and with a quincunx placing (2) |
Orientation | Orientation of CrowdEntities |
Look At |
Modify the orientation of CrowdEntities in order to look at a Locator
|
Orientation Noise | Orientation noise of CrowdEntities |
Number of columns | Number of columns of the area. This attributes is only enable with the center point shape |
Number of rows | Number of rows of the area. This attributes is only enable with the center point shape. |
CrowdEntityTypes Attributes
Terrain Attributes
Terrain selection
In Terrain Mesh | Terrain Locator attached to this Population Tool. The Terrain locator will be used to make the particles adapting to the terrain. Select the Terrain with the combo box. |
Illustration of placement on a terrain with navmesh
Emission Attributes (Per Particles)
Emit NParticles | Emit this population tool in an nParticle system |
Init DirectionPP Name | Name of the vector per-particle field of the relative particle system, in which the orientation of the Entities will be exported. If the field does not exist, it is automatically created |
Entity TypePP Name | Name of the float per-particle field of the relative particle system in which the Entity Type of the Entities will be exported. If the field does not exist, it is automatically created. The Id of an Entity Type can be found in the attribute editor (see here) |
RadiusPP Name | Name of the float per-particle field of the relative particle system, in which the radius of the Entities will be exported. If the field does not exist, it is automatically created |
Export Crowd Entity Type Colors in Particles | Export the Entity Type colors in a per-particle field of the created particle shape, see below to define the name of this field |
ColorPP Name | Name of the color per-particle field of the relative particle system, in which the color of the Entities will be exported. If the field does not exist, it is automatically created |
Enable Conserve Attribute In Particle System | Enable or disable the conserve attribute in the created particle system |
Particle Render Type | Select the render type of the created particle system |
Emission Attributes
Particle System |
Choose "New" to create a new particle system, or select a previously created particle system to merge or replace it with the current particles. This particle system could be created by the Population Tool or by the regular Maya particle emitters (see here)
|
Replace Particle System | Replace the particle system selected in the previous combo box by the current one. Notice that replacing a Particle shape will keep the existed connections and expressions. |
Emit particles | After playing with all parameters in order to get the wanted repartition, press this button to emit particles in the wanted particle system, with an initialization direction, an Entity Type, a radius and other requested attributes |
Emit particles from selected tools |
After playing with all parameters in order to get the wanted repartition for each Population Tool, select several Population Tool and press this button to emit particles from selected Population Tools in a new particle system with an initialization direction, an Entity Type, a radius and other requested attributes.
|
Tips: In order to create several Population Tool Locators from the same shape, it is possible to duplicate a Population Tool. On the other hand, it is recommended to use the Duplicate Special command (Edit / Duplicate special), with the Duplicate input connections option enabled, in order to conserve the connection with the navMesh.
8.1.4 Locator Display Attributes
Show Particle Index | Display the particle index in the viewport. Very useful when scripting |
Locator Height | Height of the Population Tool. Particles will still be generated on the terrain. |