2010

Table Of Contents
12 Stop the playback and go to the start of the playback range.
Combining colors in a fluid
In the next steps, youll add another emitter to the container and make each
emitter create different colored Density. Youll see how different colored
Density interacts in the container.
To combine colored fluids in the container
1 Select the fluid container and choose Fluid Effects > Add/Edit Contents
> Emitter.
Maya creates a second fluid emitter called fluidEmitter2 and places it at
the center of the fluid container, in the same position as the first emitter.
2 With fluidEmitter2 still selected, select the Move Tool (Hotkey: w) and
drag the emitter to the right of the container, so the emitters no longer
overlap.
Make sure you keep the emitter inside the container and on the plane
by dragging only the X and Y manipulators. If you move the emitter
outside the container, it will not emit.
3 Open the Attribute Editor in the right panel of the Maya window, and
click the fluidEmitter2 tab.
4 In the Fluid Attributes section, turn on Emit Fluid Color.
A message appears prompting you to set the fluids Color Method to
Dynamic Grid.
By setting the Color Method to Dynamic Grid, the color values you place
in the container grid are recalculated by the fluid dynamics solver and
changed during simulation. This means colors can interact during the
simulation.
Combining colors in a fluid | 797