Appearance
Particle Tracer
Flare Live 3.0 · System · API type simexp.blocks_fluid.particle_tracer.
Tracks particles in the original Blocks Fluid solver and exports them to OpenVDB. Place one or more Particle Sources to release batches and choose a scene object to center the export grid before initialization.
Properties
Values below are defaults for new objects. See common properties for shared fields, case-sensitive API paths and conditional visibility.
Particle
| API path | Constructor default / enum choices | Meaning / units | Editable in Simulation |
|---|---|---|---|
particle.particle_living_rounds | 1000 | Number of batches retained before their slots are reused. A batch lives approximately this value × Round period steps × the effective time step. Increasing it uses more GPU memory. | No |
particle.round_period_steps | 10 | Number of simulation steps between batches released by each enabled source. Use a positive integer. Smaller values increase the release rate. | No |
particle.spread_kernel | 1; 0=Nearest, 1=Phi2, 2=Phi4Fast | Weighting used to sample fluid velocity at the particle position. Nearest uses one node, Phi2 uses a compact neighborhood, and Phi4Fast uses a wider neighborhood. | No |
particle.half_follow_time | 0.0 | Time in seconds for a particle's velocity difference from a constant local flow to halve. Zero sets velocity to the sampled fluid velocity immediately. | No |
Export
| API path | Constructor default / enum choices | Meaning / units | Editable in Simulation |
|---|---|---|---|
export.enabled | true | Write particle volume data under particles on world export requests. Tracer initialization still checks the export center and colormap settings. | No |
export.center_target | None | Scene object whose world position centers the export grid. The grid stays aligned to the world axes. Required by the tracer at initialization. Shown when sibling enabled = True. | No |
export.resolution | (100, 100, 100) | Number of output voxels along world X, Y and Z. The product determines the size of the export grid and its working buffers. Shown when sibling enabled = True. | No |
export.cell_size | 0.01 | Output voxel width in meters. Set it independently of the fluid cell size. At fixed Resolution, increasing it covers a larger region. Shown when sibling enabled = True. | No |
export.spread_kernel | 0; 0=Nearest, 1=Phi2, 2=Phi4Fast | Weighting that deposits each particle's density and speed on the export grid. Nearest uses one voxel. Phi2 and Phi4Fast spread the contribution to neighboring voxels. Shown when sibling enabled = True. | No |
export.density_contribution_per_particle | 0.1 | Multiplier for each particle's weighted contribution to the output density grid. Shown when sibling enabled = True. | No |
export.export_raw_velocity | false | Write a scalar velocity grid with the mean particle speed in m/s alongside density. With this off, write a color grid mapped from mean speed. Shown when sibling enabled = True. | No |
export.scale_density_by_velocity | false | In color export, modulate the particle density by a speed factor between zero and one. Raw velocity export ignores this switch. Shown when sibling enabled = True. | No |
export.colormap_name | "jet" | Name of a built-in color palette, such as jet, for mapping speed to color. The tracer validates the name even for raw velocity export. Shown when sibling enabled = True. | No |
export.colormap_max_velocity | 10.0 | Upper speed endpoint of the palette in m/s. Must be higher than Colormap min velocity. Shown when sibling enabled = True. | No |
export.colormap_min_velocity | 0.0 | Lower speed endpoint of the palette in m/s. Must be lower than Colormap max velocity. Shown when sibling enabled = True. | No |
Simulation input/output: none.