Announcement

Collapse
No announcement yet.

Wet map - water texture causing dark shadows on geometry,

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

  • Wet map - water texture causing dark shadows on geometry,

    I'm trying to get the wet map working with this hand washing animation - you can see the two images below, I use the same water texture as from the "tap" preset. A simple transparent material.

    In the white version, I have turned off refractions, and you can see how the material spreads.

    The clear water version, has a severe shadowing effect over the fingers - it looks like the character has necrosis.

    Although the skin material is a Fast sss material, the same issue happens if I use a simply flat colour for the skin - so I think the refraction is causing issues with the geometry, possibly because it is intersecting the hand geometry and refracting in a weird way.

    So my question is - how do I get a wet, watery surface on geometry from a wet map, without this happening? what materials can you use to make geometry look wet?

    Can anyone help please?
    http://www.jd3d.co.uk - Vray Mentor

  • #2
    Thanks for the detailed info! Does the same darkening happen if you hide the liquid simulator and let just the hands geometry with the wetmap render? Just for the test, would it be possible to change the liquid render mode to Isosurface, set the hands geometry as Render Cutter and check Inverse Cutter - this will ensure the liquid will not penetrate the hands geometry (unless if the hands mesh is open, in which case the cutter won't work correctly).
    Svetlin Nikolov, Ex Phoenix team lead

    Comment


    • #3
      So, you can see attached the image with the sim hidden - no difference.

      The hands were not solid objects, so I put a slive through the ends and capped the holes to give it a nice geometry finish - (see screen grab attached).

      There is also an iso surface render - but I can't choose the hands as cutter objects as it says I am creating a circular reference - I also cannot make a duplicate set of arms to use as a cutter, because I get the same circular reference error.

      In fact it won't let me have anything to do with the geometry, even to add to en exclude list - I just keep getting circular reference errors.

      Maybe it would help if I send the scene?

      Attached Files
      http://www.jd3d.co.uk - Vray Mentor

      Comment


      • #4
        If possible, yes - let's see what we can do to make it better

        Thank you!
        Svetlin Nikolov, Ex Phoenix team lead

        Comment


        • #5
          I sent an email last night to support - I hope they forward it on to you - let me know how you go!

          thanks
          http://www.jd3d.co.uk - Vray Mentor

          Comment


          • #6
            Roger that, will keep you posted!
            Svetlin Nikolov, Ex Phoenix team lead

            Comment


            • #7
              Hey, got the scene, will check it and get back to you!
              Svetlin Nikolov, Ex Phoenix team lead

              Comment


              • #8
                Hey, we have checked the scene and it will need to tweaks to make it work.

                When you blend between the two materials with the wetmap - if you use the same material as the liquid for the coat - this will make the hands refractive where the wetmap is (this why you get black parts).

                What you need to do is to make a second material for the wet hands that you will use as a coat. In this case you need only reflection (black color for the diffuse and white for the reflection) as you want to make the hands a bit more reflective where they are wet.

                Then in the VRayBlendMtl turn on the additive mode so the reflection will be added over the hands material and you should get a correct result.
                Georgi Zhekov
                Phoenix Product Manager
                Chaos

                Comment


                • #9
                  Thanks for that - I got that problem solved... however, there's a new one.

                  I upload two frames - see the sudden burst in the animation? like the pressure just went up insanely!

                  Attached Files
                  http://www.jd3d.co.uk - Vray Mentor

                  Comment


                  • #10
                    Hey,

                    Which Phoenix version do you use? Does a latest nightly build still exhibit this issue?

                    Cheers,
                    Svetlin Nikolov, Ex Phoenix team lead

                    Comment


                    • #11
                      Hiya - I installed the nightly build, and the problem actually got worse:

                      https://www.dropbox.com/s/4k5limr9ku...ctive.mp4?dl=0

                      It's almost like this guy is in control now:

                      https://youtu.be/PaBMmg-hdcc
                      http://www.jd3d.co.uk - Vray Mentor

                      Comment


                      • #12
                        I also increased the steps per frame to 30 - I had been going up to 60 but I was getting crashes.

                        If I send you the scene would you be able to have a look at it?

                        I also note I am having the same issue as this thread

                        https://forums.chaosgroup.com/forum/...s-very-quickly

                        Due to deforming surfaces deleting the wet maps.

                        This was an old job I thought I could edit for the client really quickly, but it's turning out to be a big one!

                        here's the scene

                        https://www.dropbox.com/s/ltwkdkcgs3...water.max?dl=0
                        Last edited by JD3D_CGI; 20-11-2017, 09:01 AM. Reason: added link
                        http://www.jd3d.co.uk - Vray Mentor

                        Comment


                        • #13
                          Hey,

                          I'm on it. Will ping you when I know more about the issue.

                          Cheers!
                          Svetlin Nikolov, Ex Phoenix team lead

                          Comment


                          • #14
                            Hey,

                            Got the explosions here as well - currently working to figure out the issue. The wetmap on the hands seems to behave well with the new algorithm and it will be in tomorrow's nightly builds.

                            Will update you when there's progress on the explosions...

                            Cheers,
                            Svetlin Nikolov, Ex Phoenix team lead

                            Comment


                            • #15
                              Hey again,

                              Figured out the reason for the issue and it seems like you'll have to modify the geometry in order to fix it. Basically these are the 3 rules of thumb when passing a geometry for simulation if you want to make sure you won't have random exploding liquid:
                              - The geometry must be water-tight - it must not be a plane or any other deformed sheet of geometry and it must not have holes in it.
                              - The geometry must not have flipped normals.
                              - The geometry must not self-intersect or have overlapping faces - in your case both hands are a single mesh and are interpenetrating almost constantly. Unfortunately even when breaking it apart into two separate meshes, around frames 90-95 fingers are still interpenetrating.

                              In the very near future we'll have warnings for such issues and hopefully we'll add a geometry mode that will automatically treat any geometry as just a shell, in which all the above cases would be good for simulation..

                              Hope this helps, cheers!
                              Svetlin Nikolov, Ex Phoenix team lead

                              Comment

                              Working...
                              X