Announcement

Collapse
No announcement yet.

vrayHairMtl : Not respecting light include/exclude

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

  • vrayHairMtl : Not respecting light include/exclude

    Hi there, I hope someone can help.
    We're coming close to the end of a big production and a strange issue has appeared with a scene with hairfarm/vrayhairmtl.

    It appears that if I add the hair object to my vrayLight (dome) exclude from shadow and lighting, that the hair material is still being shaded as though no exclude is applied.

    Is this a bug or a known limitation of the hairmtl?

    Vray 2.3.01, max 2013.

    Any help appreciated!
    Many Thanks
    Patrick

  • #2
    The problem is that the hair object is generated at the start of the render, and this temporary object is not present in the light's include/exclude list. Will have to think of some way to solve this.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Just wanted to bring this up again, as it's cropped up on another job here.

      Using Hairfarm, with Max 2015. If you add a hairfarm object to an include or exclude on a light, then it seems to do the opposite of what is expected.

      If I exclude the hairobject from the a light it illuminates, and if I include it does not. Interestingly if you have the emitter object visible in addition to the hair, then you can see that the emitter responds correctly to the exclude/include state, and the hair always does the opposite.

      Feels like a bug...?

      Comment


      • #4
        Thank you very much for the feedback.
        We've run a few quick tests here but we couldn't reproduce this issue.
        Would it be possible to prepare a sample scene for us along a screen-shot of the result you got in your environment and send for investigation.

        Let us also know the exact V-Ray and HairFarm version/build.
        Svetlozar Draganov | Senior Manager 3D Support | contact us
        Chaos & Enscape & Cylindo are now one!

        Comment


        • #5
          Sure, here you go:

          There is a vray light directly above the sphere. I'd expect the hair to inherit the include/exclude from it's base geometry, the sphere.

          In this first image the sphere is set to exlude both illumination and shadow casting:

          Click image for larger version

Name:	sphere_exlude.jpg
Views:	1
Size:	49.9 KB
ID:	855513

          You can see that the sphere itself does not illuminate or cast a shadow, but the hair does.

          In this second image the sphere is set to include both illumination and shadows:

          Click image for larger version

Name:	sphere_include.jpg
Views:	1
Size:	9.1 KB
ID:	855514



          As you can see now the sphere is the only thing lit, but the hair is now not lit.

          hairfarm 2.4.3 (build 166)
          Vray 3.10.03
          File here: https://drive.google.com/file/d/0BxV...ew?usp=sharing


          Thanks
          Last edited by MattClark; 06-03-2015, 03:44 AM.

          Comment


          • #6
            Upping this. Is there any fix coming? I've asked the hairfarm guy and he said that without vray there isn't any problem.

            My workaround for this is to have lights specifically just for hair, unhide everything, select the inverse of all the hairs, and add the selection set as exclude on the hair lights. Same for creating mattes for hairfarm. With ornatrix i have no issues, but with hairfarm i have double the work, specially when having to AO/matte/light etc. hair.

            3dsmax 2015 sp3, vray 3.2 and hairfarm 2.4.5 (build 168 )

            Comment


            • #7
              Hello,

              We managed to fix this issue but it didn't make it for the 3.2 release. I think the fix is in 3.20.02 but I'm not sure - will check on Monday and write back.

              Best regards,
              Yavor
              Yavor Rubenov
              V-Ray for 3ds Max developer

              Comment


              • #8
                We have 3.20.02 here and it doesn't work still. If you have any updates let me know. Thank you!

                Comment


                • #9
                  You are right - now that I've checked - the fix is not part of 3.20.02.

                  Best regards,
                  Yavor
                  Yavor Rubenov
                  V-Ray for 3ds Max developer

                  Comment


                  • #10
                    Will try to include it for 3.20.03

                    Best regards,
                    Vlado
                    I only act like I know everything, Rogers.

                    Comment


                    • #11
                      I tried today's nightly and it works! Thanks

                      Comment


                      • #12
                        Does this also fix the vrhair not respecting the vrtoon environmental effect exclusion? Because if not there is another bug for you
                        WerT
                        www.dvstudios.com.au

                        Comment


                        • #13
                          We fixed the toon exclusion lists when we added layers there - so it should work

                          Best Regards,
                          Yavor
                          Yavor Rubenov
                          V-Ray for 3ds Max developer

                          Comment

                          Working...
                          X