Jump to content

MIX FLUIDS WITH DIFFERENT SHADING


davilucho

Recommended Posts

 My goal is to make a river, to which I am going to do the shading with an ocean surface and ocean volume. To this river I want to pour a liquid with viscosity.  I also want to do an independent shading to this liquid.

How far I have come is:
I have made the river using a flip solver, and put it inside the flip object as an initial state.
I introduce the viscosity liquid in the same dopnet, through a volume source.
So I have the perfect collisions between the two liquids. If to both emitters I place a color node at the sop level, in the final cache I will have this information, but I do not want a simple color, I want to be able to do a good shading to each of the liquids.
The problem is that I can't separate them to be able to do the shading independently. I have tried removing the viscosity attribute after the flip fluid source in maya, but the result is not good.

I would appreciate some help.

  • Thanks 1
Link to comment
Share on other sites

  • 2 years later...
On 4/10/2020 at 9:13 AM, davilucho said:

Solved.

Use split node after the dop import fields, select your stream of particles and do the cachei  independently

 

I'm struggling with the same I already have 2 different color fluid sims but i cannot shade them separately. Any chance you can show me how you did it or share a sample hip file. BTW thanks your post has been helpful.

Link to comment
Share on other sites

Check out the content library. There area few example of how to setup different colors for different streams. You could filter by an id attribute and place a material node on each separate network chain before merging them together.

https://www.sidefx.com/contentlibrary/

The flip multi-phase is pretty cool.

Edited by Atom
Link to comment
Share on other sites

1 hour ago, Atom said:

Check out the content library. There area few example of how to setup different colors for different streams. You could filter by an id attribute and place a material node on each separate network chain before merging them together.

https://www.sidefx.com/contentlibrary/

The flip multi-phase is pretty cool.

Amazing how i never made use of this thanks... look like my problem got solve . Thanks..

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...