Announcement

Collapse
No announcement yet.

Vray 3.6 cryptomatte does not work with DWA compression

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

  • Vray 3.6 cryptomatte does not work with DWA compression

    Vray 3.6 cryptomatte does not work with DWA compression. This is easy to reproduce. Cryptomatte works fine on a multichannel EXR with ZIP scanline compression, but not with DWAA or DWAB compression. That is, it is not possible to select the objects in Nuke with the Cryptomatte plugin when the image is rendered with DWA compression.

    I'm wondering if there might be a workaround to this involving renaming the channels possibly?

  • #2
    I'm guessing that the problem is that the channel is named cryptomatte.R cryptomatte.G cryptomatte.B and thus it gets lossy compression, rather than getting ZIP or RLE... I'm thinking it probably should get RLE like the alpha does.

    Comment


    • #3
      Giving this a friendly little bump. Nightlies maybe?

      Comment


      • #4
        It is on the "to do" list and will be fixed at some point. It is a bit tricky to tell the DWA compressor of the OpenEXR library what to compress and what not though.

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

        Comment


        • #5
          Thanks Vlado, In case you haven't seen this, perhaps this is helpful:
          https://github.com/Psyop/Cryptomatte/issues/35

          From what I see there, if the cryptomatte was output with the suffix .XYZ (cryptomatte.X cryptomatte.Y cryptomatte.Z) instead of .RGB (cryptomatte.R cryptomatte.G cryptomatte.B) it should get ZIP compression rather than lossy.
          Last edited by sharktacos; 20-09-2017, 11:24 PM.

          Comment


          • #6
            I don't think we will rename the elements. Rather we will patch the OpenEXR library to do what we need.

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

            Comment


            • #7
              Cool. If you could please update this thread once this is in the Nightlies that would be super awesome.

              Comment


              • #8
                Yea, would be great, we're trying to work 4k, and without dwaa it is useless
                I just can't seem to trust myself
                So what chance does that leave, for anyone else?
                ---------------------------------------------------------
                CG Artist

                Comment


                • #9
                  I know Chaos has fixed this by modifying the EXR format. Has that been put into Nightlies yet?

                  Comment


                  • #10
                    It turned out to be more complicated (as usual). If we modify the writer on our end, the resulting OpenEXR files will not be readable by other software. So the other solution would be to name the elements differently (not .R, .G, .B but f.e. .red .green .blue) and make sure that the Cryptomatte gizmo works with them. Working on it...

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

                    Comment


                    • #11
                      Cool, thanks for the update Vlado

                      Comment


                      • #12
                        By the way, I think it should work to name the elements .r, .g, .b (lowercase) instead of .red. .green, .blue if that is any easier.

                        https://github.com/openexr/openexr/b...ssor.cpp#L3135

                        Comment


                        • #13
                          Hello,

                          Cryptomate + DWA should work in the latest nightlies. Renaming channel suffixes did the trick.

                          Best Regards,
                          Vasil
                          V-Ray for 3ds Max developer

                          Comment


                          • #14
                            Originally posted by Vasil Minkov View Post
                            Hello,

                            Cryptomate + DWA should work in the latest nightlies. Renaming channel suffixes did the trick.

                            Best Regards,
                            Vasil
                            Hey Vasil.
                            Just a heads up, there has been no new nightlies for Maya since the 10th, and as far as I can see that one didn't contain the changes.

                            Comment


                            • #15
                              Originally posted by Jimmi View Post

                              Hey Vasil.
                              Just a heads up, there has been no new nightlies for Maya since the 10th, and as far as I can see that one didn't contain the changes.
                              Sorry for the confusion, should be available in tomorrow's nightly build.
                              V-Ray for Maya dev team lead

                              Comment

                              Working...
                              X