Mix liquid colors

Im having a problem mixing liquid colors. After some nightly release I found that I cannot use the same method, don’t have idea why, the problem is that now I don’t know which release worked before :rage:
No, the method Im using is based on a file that Ivaylo created to help a guy that wanted to mix a river with blood. Im creating my regular liquid sim grid, the include the RGB in the output, and add two spheres and then two liquid emitters. I select one sphere for each and activate the RGB color in each, with different colors. I create a phoenixfd texmap and select the phoenixfd sim grid and set the option to RGB and mirror. Later I duplicate the Phoenixfd grid and in the input add the name of the original emitter and use the texmap on this second emitter. And then it should work, but now it is not working. Any clue? Thanks!
mix_test.zip (93.9 KB)

Yup, the liquid doesn’t export RGB for some reason, will check what’s wrong and get back to you.

Cheers!

Great!, I thought I was doing something wrong :sunglasses:

Hi Svetlin, I just wanted to know if you have any update on this. Sorry bothering you.
Cheers!

Hey! Working on it as we speak, I hope it will be in for next Tuesday’s nightly build.

Great man, thanks a lot! Have a great weekend!
Best

You too! Will keep you posted.

An update - the fix will be in tomorrow’s nightly (06 Apr) :slight_smile: Cheers!

Great news!, Thanks a lot man, I’ll let you know when I give it a try.
Cheers!

Alright! Just an edit - I meant 06, not 05 April :slight_smile:

Hahaha, no problem :stuck_out_tongue:

Hi Svetlin, I’ve just downloaded it an it seems to be working. I’m testing it on the project I’m working, but for now, everything is just fine. Thanks for your help as always!
Cheers!

Im having a new problem, I found it before I create this post because I thought it could be related to it soI prefered at that moment to talk only about the problem of the RGB. Now, it seems that in some recent nightly you guys changed something about how and object gets filled, because on previous tests that I was running, I was able to use PHXSource to fill an object, using a high value at cero and then setting it to 0 (after that I used to move the object that I use as emitter to some place outside the grid), having the phoenixfd object properties as non solid, clear inside and the initial liquid fill OFF, because I was using the PHXSource to fill it, no?. I know that I can use the intial fill option, but I need to use the PHXSource001 to assign an RGB channel, because it seems that in that case (if I use the initial fill I mean) it doesn’t get the RGB channel from the PHXSource. The problem is that now with the change I found in a recent release (can’t tell you which one), the object doesnt gets filled, I have tried fliping the normals, changing the clear and solid options without any luck, it seems like it only puts liquid on the surface and no inside it. I hope I made my self clear, not sure if I was :stuck_out_tongue: On the image, you can see that the cylinder is not filled, is kinda weird.
Hope you can help me.
Thanks!

Hey,

Are you using the general-purpose PHXSource? Could you check the Emit mode at the top of the source? It should be set to Volume Brush if you want to create static liquid from the entire volume of the cylinder.

If this is not the case, could I ask you again for a scene?

Cheers!

Im using the liquid source, and is set to surface… it’s weird, in the file that was done with a previous nightly realease it is working, but I understand, for regular version 2 I always set it to brush, but it was working, so I didn’t payed attention, So my mistake!, Thanks man!
Cheers!

No problem, good luck!

to fill the entire volume it must be set to brush, not to surface

Thanks Ivaylo, yes, I found that after Svetlin said that, I was used to simulate without paying attention to that option since the nightly because it was working for filling, I dont know why, I only changed that option when Im using pflow as source.
I have one last question, with this one I’m provably asking too much, but I’m trying to slowdown my mixed simulation with the velocity to something like 0.5, but it seems that the texmap doesn’t match when I do that change, so Im wondering if that’s possible or phoenix is unable to blend the texmap as it does with the mesh?
Thanks again!

Hmmm, there could be a problem there indeed, I’ll check if it could be a quick fix and get back to you.

Great man!, thanks, I thought you were going to say I’m crazy :stuck_out_tongue: