Announcement

Collapse
No announcement yet.

Vray Next - Depth From Camera missing in ZDepth?

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

  • Vray Next - Depth From Camera missing in ZDepth?

    Hi,

    I love the 'Depth From Camera' check button in ZDepth in Vray 3.6. Very useful for quick setting up of the ZDepth channel. Any reason why its missing in Vray Next?

  • #2
    Hi b.maio_SGA,

    The option was removed since its behavior was kind of limited in SketchUp.
    We incorrectly assumed that it has the same issues in Rhino...
    I just tested it and you're right - it used to work just fine.
    This means we'll bring it back and fix the SketchUp implementation in the next release.

    Thank you for bringing this back to our attention!

    In the meantime you can do the following to enable the option in your projects:
    1. Create a Z Depth channel
    2. Run the following Python script:
    Code:
    import rhinoscriptsyntax as rs
    vray = rs.GetPlugInObject("V-Ray for Rhino")
    vray.SetSceneValue("/Z Depth", "depth_from_camera", 1)
    The parameter is actually just hidden so doing this will enable the option.
    The state will be saved with your Rhino project.
    In order to disable it just change the last parameter of the SetSceneValue function from 1 to 0.

    Regards,
    Konstantin


    Comment


    • #3
      Hi Konstantin

      Thanks!!!

      Comment

      Working...
      X