Go to: Related nodes. Attributes.
ParticleAgeMapper Place2dTexture Cloth ParticleCloud
----------------- -------------- ----- -------------
out UV Coord -------> UV Coord
Out UV ---------------> UV Coord
Out UV Filter Size ---> UV Filter Size
Out Color -------> Color
How it Works: Each time a particle in the Particle Cloud is
rendered, the Particle Age Mapper knows its current age. This is
converted to a number between 0 and 1, based on either the particle's
total life-span, or another number that you provide (in the
Time Scale attribute). The output of the Particle Age Mapper
node is a UV coordinate --- the "U" value is always 0, and the
"V" value is the number between 0 and 1.
Example:Say you want to have particles that are emitted white-hot, then
cool to red over their lifetime, before disappearing. To do this,
use a Particle Age Mapper with a Ramp texture, set to type V Ramp.
The ramp should go from white at the start to red
at the end. In the Particle Age Mapper, turn on Relative Age.
When the particles are rendered, the "young" particles will
have a low value for age, and therefore take their color from the
beginning (white) part of the ramp. Older particles will get
their color from the other end of the ramp.
In the table below, important attributes have their names
listed in bold in the description column.
This node is MP safe
Node name | Parents | MFn type | Compatible function sets |
---|---|---|---|
particleAgeMapper | dependNode | kParticleAgeMapper | kBase kNamedObject kDependencyNode kParticleAgeMapper |
particleTranspMapper, particleColorMapper, particleIncandMapper, particleSamplerInfo, particleCloud
foldAtEnd, outUCoord, outUvCoord, outVCoord, particleAge, particleLifespan, relativeAge, timeScale
Long name (short name) | Type | Default | Flags | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
outUvCoord
(ouv )
| float2 | ||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
particleAge
(pa )
| float | 0.0 | |||||||||||||||
particleLifespan
(pls )
| float | 0.0 | |||||||||||||||
relativeAge
(rea )
| bool | false | |||||||||||||||
timeScale
(ts )
| float | 1 | |||||||||||||||
foldAtEnd
(fae )
| bool | false | |||||||||||||||
|