Announcement

Collapse
No announcement yet.

Where is the "Near Distance" Parameter for ZDepth

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

  • Where is the "Near Distance" Parameter for ZDepth

    Hi Everyone. I'm having trouble finding the "Near Distance" Parameter for the ZDepth Render Element. Does anyone know how to get it back? I read that the option is only available when Z-Depth use camera clip boundaries is disabled but I think that only applies to V-Ray for 3ds Max. Is that an option V-ray for Rhino?
    Any help would be greatly appreciated. I like a lot of contrast in my near and far objects when doing a Z-Depth pass.

  • #2
    Checked here too and the option is missing. I would like to get it back too and hope it will come back soon. Additional if the option "distance from camera" is enabled, the sliders should be greyed out.
    www.simulacrum.de ... visualization for designer and architects

    Comment


    • #3
      Hello everyone,

      thank you for your feedback.


      We will bring this parameter back.


      Until then, you could use this script to control the result:

      import rhinoscriptsyntax as rs

      vray = rs.GetPlugInObject("V-Ray for Rhino")
      vray.SetSceneValue("/Z Depth", "depth_white", 0)
      vray.SetSceneValue("/Z Depth", "depth_black", 500)
      vray.RefreshUI()
      Just in case, if you haven't used scripts in Rhino before, here it's virtually shown how to do it.

      Keep in mind that:
      • depth values are calculated in scene units
      • depth_white refers to near distance
      • depth_black refers to far distance

      Best regards,
      Tsvetomira
      Last edited by tsvetomira.girginova; 25-02-2021, 09:43 AM.
      Tsvetomira Girginova | chaos.com
      3D Support (AEC,HOU,C4D) Team Lead | contact us

      Comment


      • #4
        That's awesome! You just made me a customer for LIFE!!! I've never received such a detailed response from a forum before. Thank you Tsvetomira!!

        Comment


        • #5
          Thank you, dsaldoff!

          Great to know.
          Made my day.

          Enjoy V-Ray!
          Tsvetomira Girginova | chaos.com
          3D Support (AEC,HOU,C4D) Team Lead | contact us

          Comment

          Working...
          X