MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ activity_threshold

float MayaFlux::IO::VolumeWriteOptions::activity_threshold { 1e-6F }

Magnitude below which a cell is written as inactive.

Compared against the absolute value of a scalar and against the length of a vector. Cells that fall below take the background value and cost nothing in a sparse format, so this is the setting that decides file size for a simulation field that is mostly empty.

Applies to every field unless overridden in field_thresholds.

Definition at line 25 of file VolumeWriter.hpp.

25{ 1e-6F };