Objects imported from other software’s can have color information, if not, it can be added by MCG, Data Channels modifier in 3dsmax 2017 or simple 3dsmax Vertex Paint modifier.
The trick is to choose vertex color map in FFX Object Source. Also, choose right map channel. By default, it should be 0. In that way, FumeFX will take object vertex color as a color source for fluid.
2. VERTEX COLOR FROM FROST
Exact same way, as previous can be used with thinkbox meshing plugin Frost.
Frost by default takes color data from source particles. If the source doesn’t have any colors, we can add needed one with magma modifier from Krakatoa.
3. VERTEX COLOR FROM PARTICLES [MESHER]
Until FumeFX v4, PFlow colors can’t be used to make fluid colors, but we can make some hacks with additional objects, like Mesher (from compound objects).
Here is how it works: We make particle system, which have simple color gradient (by Age), but it doesn’t allow to add any maps here:
Maps can be added on FFX Object Src. So let’s add Mesher compound object, choose our PFlow particles. In FumeFX add FFX Object Source, pick Mesher and then we can have add map here. P.S. untick all channels creation (fuel, temperature, smoke, velocity) in FFX Objects src. We need it only for assigning a color from the map!
And here is a result:
4. VERTEX COLOR FROM PARTICLES [PFLOW]
FumeFX v4 finally can read PFlow data channels properly. It just needs to be exposed as Script Vector.
Simple Data Operator setup: Pick Geometry with applied texture -> Acquire closest point -> Acquire color -> Send data to script vector. Additionally, same color data is sent to vertex color, just to see a result in particles render or viewport.
In FFX Particle Source under Color channel, in AFC Controller choose Particle Flow Vector Input type. It will take data from Script vector which was outputted in PFlow Data Operator.
And enjoy beautifully colored fluid.
5. VERTEX COLOR FROM PARTICLES [TP]
How to color FumeFX fluid with Thinking Particles was showed in the previous part. Jump to Fluids colors part 1.
All max files can be downloaded in link to dropbox below.