Versions Compared

Key

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

...

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 xyzxyzxyzxyzxyzx0 y0 z0 x1 y1 z1 x2 y2 z2 x3 y3 z3 x4 y4 z4 ...., whose length is 3*numberOfParticles.

...

Linear array of particle speeds, floating point numbers, needed to enable calculation of motion blur: VxVyVzVxVyVzVxVyVzVx0 Vy0 Vz0 Vx1 Vy1 Vz1 Vx2 Vy2 Vz2...., whose length is 3*numberOfParticles.

...

Linear array of particle radii, floating point numbers: rrrrrrrr0 r1 r2 r3 r4 r5 r6 .... The length of this array can be either 1 or numParticles. If only one radius is given , it is applied to all the particles, otherwise each particle gets its own radius.

...

Linear array of particle IDs, id0 id1 id2 id3 id4 id5.......needed to enable coherent calculation of multipoint. It is an integer array.

...