Announcement

Collapse
No announcement yet.

Zdepth - something weird

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

  • Zdepth - something weird

    Hi everyone,
    I'm trying to do a little animation and to save time I want to do DOF in post.
    I'm trying to set up a zdepth...but something looks weird.
    I think the tap should not look like that

    Also, if I change setting it doesn't restart the render in ipr mode, and even if I try to refresh the render manually it doesn't change settings.
    I have to stop it and start it again.
    Is it normal?
    Attached Files

  • #2
    Could you send the scene via the contact form so we can take a look? Address it to me in the subject and include a link to this thread in the message.
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      I literally sent the scene last night via the contact form about another subject (chaos cloud).
      let me try to get the dropbox link and I'll share the scene with you.
      Thanks for helping me out.

      Lorenzo

      Comment


      • #4
        I created a new link, with the latest test I did yesterday, and I just sent the request.
        scene has state sets, if it doesn't make sense (I'm messy) please let me know.
        For the moemtn, thanks.
        Lorenzo

        Comment


        • #5
          Originally posted by lorenzo_spinola View Post
          Hi everyone,
          I'm trying to do a little animation and to save time I want to do DOF in post.
          I'm trying to set up a zdepth...but something looks weird.
          I think the tap should not look like that

          Also, if I change setting it doesn't restart the render in ipr mode, and even if I try to refresh the render manually it doesn't change settings.
          I have to stop it and start it again.
          Is it normal?
          Check the shader, ensuring the reflection part is *not* set to "affect all channels".
          Lele
          Trouble Stirrer in RnD @ Chaos
          ----------------------
          emanuele.lecchi@chaos.com

          Disclaimer:
          The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

          Comment


          • #6
            Originally posted by ^Lele^ View Post
            Check the shader, ensuring the reflection part is *not* set to "affect all channels".
            Hi Lele,
            thanks for your help!
            Just because I come from other softwares...what is the advantage to have this option?
            and, like just happened because I didn't know, what should I do to correct the problem?
            I left the option in every material....

            Comment


            • #7
              The option is so some data channels get info from the reflection or refraction.
              For example, some users want glass to affect their alpha channels, and there's an option for that, while to denoise stuff behind refractive shaders, one needs to select "affect all channels", so that the normals from things behind it can be stored in the proper normals RE, for example.

              We default to *not* affecting anything else than the RGB, so it doesn't come from a default of ours, i think.
              To remove it, simply run this piece of script on your scene, and you should be good (copy/paste the line below in the listener, press the keypad enter at the end of the pasted line, you should see "OK" printed in blue.).
              Code:
              for m in getclassinstances vraymtl do m.reflection_affectAlpha=0
              Lele
              Trouble Stirrer in RnD @ Chaos
              ----------------------
              emanuele.lecchi@chaos.com

              Disclaimer:
              The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

              Comment

              Working...
              X