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.
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.
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
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!!