Versions Compared

Key

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

...

NameTypeMinMaxDefaultDescription
Materialchar*------Material name
Densityunsigned int11e82000Blades density (blades/m2)
Density MapCmap------Blades density map
Lengthfloat0.01e510.0Blade length
Length mapCmap------Blade length map
Length variationfloat0.0100.020.0Length random variation (%)
      
      
      
      
      
      

 

"FileName"

Name of the file that contains particles data. It is a NULL terminated string.

Example:

Code Block
languagecpp
char* file = "/home/paco/Emitter01_00049.bin"; 
extParam->setString( "FileName", file ); 

 

"Radius Factor"

Multiplier for the particle radius that is read from the file. Can go from 0.00001 to 1000000 and the default value is 1.

Example:

Code Block
languagecpp
float rFactor = 0.3f; 
extParam->setFloat( "Radius Factor", rFactor );

 

"MB Factor"

Multiplier to increase or decrease the amount of motion blur of the particles. Can go from 0.0 to 1000000.0. Default is 1.0.

Example:

Code Block
languagecpp
float factor = 0.3f; 
extParam->setFloat( "MB Factor", factor );

"Shutter 1/"

Shutterspeed of the active camera. Affects the amount of motion of the particles. It is the inverse of the time the shutter is open.

Example:

Code Block
languagecpp
float shutter = 125.f;
extParam->setFloat( "Shutter 1/", shutter );
Code Block
languagecpp