Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Attribute

Expression keyword

Age

particle.age, particle.isolation

Collision

particle.collision

Density

particle.density

Force

particle.force.mod, particle.force.x, particle.force.y, particle.force.z, particle.f.mod, particle.f.x, particle.f.y, particle.f.z

ID

particle.id

Mass

particle.mass

Neighbors

particle.nv, particle.neighbors, particle.neighbours

Normal

particle.normal.x, particle.normal.y, particle.normal.z

Position

particle.pos.x, particle.pos.y, particle.pos.z, particle.position.x, particle.position.y, particle.position.z

Pressure

particle.pressure

Temperature

particle.temperature

Texture

particle.texture.u, particle.texture.v, particle.texture.w

Velocity

particle.speed, particle.velocity.x, particle.velocity.y, particle.velocity.z, particle.vel.x, particle.vel.y, particle.vel.z

Viscosity

particle.viscosity

Vorticity

particle.vorticity.mod, particle.vorticity.x, particle.vorticity.y, particle.vorticity.z

Emitter Idparticle.emitterid

 

An example:

Let's assume you want to filter the particles from “Square01” “Domain01” against the particles' velocities:

  • If a particle' speed is lower than 2.0 the particle should be attached to “Container01”Source Emitter > Square01“Domain02”

  • Target Emitter (True) > Container01Domain02

  • Source > Domain01

  • Condition > Expression

  • Under “Expression” enter: particle.speed < 2.0

...

With “Yes”, the particles inside the daemon's bounding box will be affected; “No” only filters the particles outside this box.

Random percent

This is the probability of a particle to be filtered when it satisfied the filter condition. Higher values mean that more particles will be filtered.

Random seed

Change the random number generator's initialization. All positive and negative integers are accepted.

Random per frame

If enabled, a particle, that has not been filtered because of it's probability value, will not be filtered during the current frame as well. Otherwise, the random particle tested will be performed with every simulation step.

Reset Age

When active, the filtered particles' age will be set to 0. Otherwise the age value of the original particle will be used.

Keep Source Particles

This option is suited for the creation of trails, for example. It should only be used with → "Dumb" particles or "Override Target" set to "Yes". Otherwise you might see instabilities and particles explosions.

Override Target (True)

This feature is needed when you work with emitters in cache mode, the "Binary Loader" or the "NBinary Loader". These “emitters” are cleared with each frame and load new particles from already saved BIN files. Using them as source emitters will lead to instabilities, because the particles are not moved, but simply copied. If you also clear the target emitters with each step, you can avoid these problems. Please note that the result with this mode might slightly differ from the original simulation of the source emitter. Here, the target is only overwritten when the given "Condition" is fulfilled.

...