Hi fx guys
My experience that if I use color method: dynamic grid to emit colored fluid from a textured surface for eg. the color of the fluid is getting grayer and grayer during the simulation. So I lose the emitted color.
I think I know the reason but I have no idea how to solve.
Because if I use dynamic grid on color every voxel get an rgb value. It seems 0.4, 0.4, 0.4 is the default (we can check it like this: getFluidAttr -at color -xi 0 -yi 0 -zi 0). The simulation emits color with density but the remaining voxels (the empty ones - no density) still has the default color. So during the simulation the emitted color is mixing with the default color and that means the fluid is turning to gray gradually.
Since there is no option to set no value on each voxel (it’s not 0,0,0 bec. it means black) it is necessarily to lose the emitted color.
So how to fix that? How to keep the emitted color during the simulation.