After you generate per-vertex shading data for your fluid output mesh and convert the fluid to a polygon object, you can assign one of the per-vertex color opacity or incandescence color sets as the polygon’s current color set (if you want to be able to see them interactively).
To set the output mesh Color Set
If you have not yet set your fluid to generate per-vertex shading data or converted your fluid to an output mesh, do so now. See Set fluid output mesh properties and Convert a fluid object to polygons.
The Color Set Editor appears listing the per-vertex color set generated from your fluid object.
For example, if you want to color the fluid output mesh using the per-vertex data derived from the fluid object’s Incandescence ramp, select incandescencePV(RGBA).
If your fluid object’s data does not appear in the Color Set Editor, click Update.
Your fluid output mesh should now display the colors defined by the selected color set. In the Mesh Control section, the Current Color Set attribute should be set the selected per-vertex data set.
For information about rendering output meshes that use per-vertex color in mental ray for Maya renderer, see Render color per vertex in mental ray for Maya.