Versions Compared

Key

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

...

Code Block
languagecpp
float deformation = 1.1f;
extParam->setFloat( "Extra particles deformation", deformation );


"

...

Use velocity"

Use the particle velocity vector as the Y (up) axis of the instanced geometry.

Example:

Code Block
languagecpp
byte useVel = 1;
extParam->setByte( "Use velocity", useVel );


"Scale with particle radius"

Scale the instanced geometry with the particle radius.

Example:

Code Block
languagecpp
byte loadArrayuseRad = 1;
extParam->setByte( "LoadScale with particle Viscosityradius", loadArrayuseRad );

"Min Force" "Max Force" "Min Vorticity" "Max Vorticity" "Min Nneighbors" "Max Nneighbors" "Min Age" "Max Age" "Min Isolation Time" "Max Isolation Time" "Min Viscosity" "Max Viscosity" "Min Density" "Max Density" "Min Pressure" "Max Pressure" "Min Mass" "Max Mass" "Min Temperature" "Max Temperature"

...


"PARTICLE_POSITIONS"

Particle data can come whether in a file or internally stored in the .mxs file. If a filename is not supplied, the extension checks for internal data, and if successful, loads it. This parameter is a linear array of floats x0 y0 z0 x1 y1 z1 x2 y2 z2 x3 y3 z3 x4 y4 z4 ...., its length is 3*numberOfParticles.

...