Vinz Posted August 29, 2020 Share Posted August 29, 2020 Hello Everyone I am mixing fluid colors in a pretty simple small scale flip simulation. To that point things behave as expected. This is the problem that I encounter: I set the desired color to my emitter (let's say it is required to match an existing product), the Cd attribute is then transferred between neighboring particles throughout the solve. Ok there. The problem is that, as the colored fluid dilutes inside the clear liquid, the colored fluid then darkens unacceptably and the two never really blend into each other (I believe in real world, the darker color would remain the same or lighten as it dilutes into a clear liquid, depending on the viscosity). This is partly due to the 'at distance' control of the 'transparency color' but in my case I can only set it correctly to either the stream (thin) or to the contained fluid (deep) but not both. Also I am not yet capable to build shaders among other advanced techniques. I would need the color to match a rose pink troughout the simulation. Is anyone able to manipulate some attributes upstream or knows how to render this correctly. Many thanks V Here is a simplified Hip sim easier to move around https://www.dropbox.com/sh/26nzu9mve1ztcmb/AAD3mw4w1hX9O1sXpgeGaDLZa?dl=0 Quote Link to comment Share on other sites More sharing options...
Atom Posted August 29, 2020 Share Posted August 29, 2020 (edited) Inside the SopSolver inside the dopnetwork try moving the display flag to the attribute transfer. Without that, I don't think your Cd transfer is actually working. Also, you may want to add Cd to the list of interpolated attributes under the Reseeding TAB of the FLIP solver. Edited August 29, 2020 by Atom 1 Quote Link to comment Share on other sites More sharing options...
Vinz Posted August 29, 2020 Author Share Posted August 29, 2020 Tx Atom, I'll give it a shot and see Quote Link to comment Share on other sites More sharing options...
Vinz Posted August 29, 2020 Author Share Posted August 29, 2020 I just did like you said.. Dude! It works!! Here is a render of the same frame (no other changes) Thank you again for sharing your great knowledge The Hip file link is up to date for the community 1 Quote Link to comment Share on other sites More sharing options...
loudsubs Posted February 1, 2021 Share Posted February 1, 2021 On 8/29/2020 at 9:25 AM, Atom said: Inside the SopSolver inside the dopnetwork try moving the display flag to the attribute transfer. Without that, I don't think your Cd transfer is actually working. Also, you may want to add Cd to the list of interpolated attributes under the Reseeding TAB of the FLIP solver. Do you have this hip file I can look at? I'm not getting as cool of an effect when I try to mix flip Quote Link to comment Share on other sites More sharing options...
Vinz Posted February 6, 2021 Author Share Posted February 6, 2021 That's lucky I haven't been here in a long time I dropped a few sticky notes to point out the key nodes config to blend Cd in flip (in SOP, MAT and OUT contexts) https://www.dropbox.com/s/l8sjxw0ggeo1iln/Mixing_fluid_colors.hipnc?dl=0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.