Announcement

Collapse
No announcement yet.

Oil water animation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Oil water animation

    Hello everyone, I need some help. I want to create an animation of oil floating on water in a container, which is then sucked up through a tube simulating a suction system.

    My main question is: Can oil floating on water be animated? I can't find any references or anyone who has tried this with Phoenix?

    Second question: For sucking away the oil, can it be done with Phoenix, or do I need something like TyFlow? Thanks in advance for your help!

  • #2
    My first thought was sim the flow 'from' the suction hose onto a water surface, then just reverse it. Probably simpler to do.
    I guess it may not look completely correct but may work as is.
    Otherwise I suppose you could use Tyflow for the oil particles, using path forces for a more realistic suction look, then send
    them to Phoenix.
    Maybe others have different solutions.
    https://www.behance.net/bartgelin

    Comment


    • #3
      Originally posted by fixeighted View Post
      My first thought was sim the flow 'from' the suction hose onto a water surface, then just reverse it. Probably simpler to do.
      I guess it may not look completely correct but may work as is.
      Otherwise I suppose you could use Tyflow for the oil particles, using path forces for a more realistic suction look, then send
      them to Phoenix.
      Maybe others have different solutions.
      Thank you for your suggestion on the suction animation, but can you suggest me something on how to do oil on water??

      Comment


      • #4
        If you mean the look of it, then it's just blended shaders, like this quick example.
        If not then you'll need to be more specific
        Attached Files
        https://www.behance.net/bartgelin

        Comment


        • #5
          Originally posted by fixeighted View Post
          If you mean the look of it, then it's just blended shaders, like this quick example.
          If not then you'll need to be more specific
          No i meant that the oil is not mixing with water so it float over the water like olive oil

          Comment


          • #6
            So just make the mask as you wish, play with the refraction, etc.
            Honestly it'd be simpler if you had a reference of what you are trying to achieve.
            Attached Files
            https://www.behance.net/bartgelin

            Comment


            • #7
              Hello,

              You can use one of the RGB channels to differentiate between the two types of liquids. You can use the RGB channels to set the oil's viscosity a bit higher than that of water. Also, you can use a tuner to apply extra gravity to the water and make it sink, while the oil stays on top. You can also build separate meshes for the two liquids. If you don't want the oil to mix with the water, you need to set the RGB diffusion to 0.

              Let me know if you need a more detailed explanation of the setup.

              Comment


              • #8
                Here's a quick proof of concept for this method:
                https://youtu.be/qI_5Fhs4H3Q

                About the tube that sucks the oil only, you could apply this only to the red particles, but I was wondering how this works in reality. Does it filter the oil from the water somehow?

                Comment


                • #9
                  Originally posted by zdravko_pavlov1 View Post
                  Here's a quick proof of concept for this method:
                  https://youtu.be/qI_5Fhs4H3Q

                  About the tube that sucks the oil only, you could apply this only to the red particles, but I was wondering how this works in reality. Does it filter the oil from the water somehow?
                  thank you so much!!! now i know were to look at!!
                  so i need the rgb channel to separate 2 liquids and this tuner that idk but i will look for it!!!

                  for the tube that suck oil is something like that

                  https://youtube.com/shorts/qzb0DtGeB...h5ONXAjTt29ttF

                  Comment


                  • #10
                    Hi,

                    Here's a tutorial on how to use colors to affect, just one with a force, using a tuner.
                    https://www.youtube.com/watch?v=inxR_2A_RTo

                    In this video, Svetlin demonstrates how it works with a path-following force. In my video, I used planar force pointing down to affect only the blue particles, making them sink while the red ones float on top.

                    About the tube, so it is basically a big vacuum? I thought that it might require another tuner that affects only the red particles (the grease), but I think that tube sucks all of the liquid, so it might be unnecessary.

                    Anyway, good luck with your project. If you encounter any troubles or have any questions, do not hesitate to ask.

                    Cheers.

                    Comment

                    Working...
                    X