Announcement

Collapse
No announcement yet.

(Fixed) [HOU-1796] zdepth wrong background value

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

  • (Fixed) [HOU-1796] zdepth wrong background value

    the zdepth renderchannel gets value 1 when alpha when it should be zero.

    In the images the white is from houdini and the black is from maya
    http://goodbyekansasstudios.com/

  • #2
    Do you happen to have a visible dome light in the background ? I could not reproduce this, file is here: https://drive.google.com/file/d/1c7Z...ew?usp=sharing

    Noticed the Deep Output toggle is missing so we've added it.

    Best regards!
    gosho.genchev@chaosgroup.com

    Comment


    • #3
      interesting i still get the issue with your scene which is the attached file. I dont have any dome lights or headlight creation either way it would be weird if they always produced value 1 in zdepth.

      we had this problem for a while but maybe it has been fixed in later?

      43001 657d636

      linux centos7

      houdini core 17.5.327

      will try next week with a the latest otherwise. Thanks for looking into it

      Regards Alexis

      http://goodbyekansasstudios.com/

      Comment


      • #4
        I'll check with older builds - I did not initially because we haven't changed anything there.

        I'll check and ping you back.

        Thank you!
        gosho.genchev@chaosgroup.com

        Comment


        • #5
          I also couldn't reproduce the problem on my side, can you send houdini and maya scene?
          Georgy Chakarov | QA
          www.chaosgroup.com
          georgy.chakarov@chaosgroup.com

          Comment


          • #6
            This is confusing :P went and tried some old version and i got the same, but i dont have the latest nighlty either right now. Also tried toggling all the toggles possible

            here is the file:

            https://drive.google.com/open?id=1bM...w5cGSWFFyNtT7m
            http://goodbyekansasstudios.com/

            Comment


            • #7
              Can you send maya scene too, and what is your V-Ray for Maya version?
              Georgy Chakarov | QA
              www.chaosgroup.com
              georgy.chakarov@chaosgroup.com

              Comment


              • #8
                hmm, its actually different results with different version in maya

                value 1 in zdepth alpha:

                vray Next for Maya, update 2.1 (v4.30.01 from Jan 15 2020)

                autodesk Maya 2019.2

                value 0 in zdepth alpha (the behaviour we want):

                vray Next for Maya, update 1(v4.12.01.00001 from May 8 2019)
                http://goodbyekansasstudios.com/

                Comment


                • #9
                  tested version 43001, ff08c27 and still get 1 in value where there should be zero. Saw the depth invert but would like to have regular with 0 in value where there is no objects. Do you guys still dont get that issue in your scenes?

                  regards alexis
                  http://goodbyekansasstudios.com/

                  Comment


                  • #10
                    the image is from goshos scene, background is white with value 1, should be 0. Curious if you still get different results from me
                    http://goodbyekansasstudios.com/

                    Comment


                    • #11
                      Hi LeoYfver , according to devs this is how V-Ray calculate Z-Depth in 43001. In order to get result from 41201 /black background/ you could multiply Z-Depth by Alpha.
                      Georgy Chakarov | QA
                      www.chaosgroup.com
                      georgy.chakarov@chaosgroup.com

                      Comment


                      • #12
                        For me it doesnt really make sense why it should be 1 becuase we have values that are one in the renderchannel. We could use the alpha but when we have so many renderchannels we merging it would just be nice to have it too 0 by default, Cant see a reason when somebody would have it to 1. Is it possible to make a toggle for houdini vray version?

                        Regards Alexis
                        http://goodbyekansasstudios.com/

                        Comment


                        • #13
                          We've been going back and forth scratching our heads what the problem is. Eventually a colleague mentioned at some point in the past, Z-Depth was changed such that the background RGB color is black (as if the element was premultiplied on black), and then it was reverted back to white.
                          The background color for the Alpha of the Z-Depth element has always been black - no matter what I do, I can not get this:
                          value 1 in zdepth alpha:
                          Here's the output for me - I'm attaching a video so we're both on the same page here: https://drive.google.com/file/d/1sqR...ew?usp=sharing

                          Please ping me if that differs for you.
                          I'm still not sure if you're getting white alpha for the background in the Z-Depth element, or you want the Z-Depth element to come out premultiplied by the alpha directly from the render - if that is the case,
                          gosho.genchev@chaosgroup.com

                          Comment


                          • #14
                            thanks for the video! I get the same results as you so now we have cleared that out Maybe i confused you with the alpha, but the alpha is correct, i just meant the background in the zdepth renderchannel, sorry for the confusion. The problem is still that the background is 1 instead of 0 which it was before and was more convenient for us. The sudden change made us think it was a bug, either way we would prefer the black background then the white one because its unusable without the premultiplication. Before we could use it straight up.
                            http://goodbyekansasstudios.com/

                            Comment


                            • #15
                              Haha, yeah, that was wild !

                              Alright, understood. I'll see what we can do and come back with more info tomorrow.
                              gosho.genchev@chaosgroup.com

                              Comment

                              Working...
                              X