Announcement

Collapse
No announcement yet.

max 2016 + vray 3.36.03 serious bug, won't render

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

  • max 2016 + vray 3.36.03 serious bug, won't render

    Recently discovered this bug.
    Vray will crash when using the Physical camera with a modifier applied and non-zero perspective correction settings (vertical/horizontal shift/tilt or auto-correction checked)

    To reproduce:
    1. create new scene
    2. add a Physical Camera
    3. add an empty modifier like Attribute Holder or XForm to the Camera
    4. in Physical settings under Perspective control change Vertical Lens Shift to any number other than 0.0
    5. hit render

    At this point the render process window will come up and hang on "V-Ray starting rendering..." but it will hang indefinitely without rendering.

    Can someone check on their end if this also happening.

    Edit: That should be vray 3.60.03 not 3.36.03 like it says in the title
    Last edited by ILS; 25-01-2019, 01:31 PM.

  • #2
    Hello,

    Thank you for reporting this issue.
    I have managed to reproduce it here and its logged into our bug-tracking system. We will notify you, when there is any progress.
    As a workaround, you can add a modifier to a V-Ray Physical camera and use the Tilt & shift corrections.
    In 3ds max 2016 you need to enter the following command vrayCreateVRayPhysicalCamera() in MAXScript to create a V-Ray Physical camera.

    Best Regards,
    Martin Minev
    Chaos Group Support
    Martin Minev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      Thanks Martin,
      do you know if this is an issue in vray 4 as well or is this particular to version 3?
      I don't have vray 4 to test on.

      Comment


      • #4
        This bug seems to be viewport related.
        When looking through a camera that has perspective shift set to non-zero you can see that the Set Keys button (big square button with the key icon) is constantly flickering or refreshing. Not sure if this entirely vray problem or the way Physical camera was implemented in max.

        One possible workaround for this is hiding the viewport camera or easier still hide all cameras.
        Using a prerender and postrender callback script will work, though for some reason you have to redraw the viewport as well, hiding without redraw will still crash the render.

        Code:
        callbacks.addScript #preRender ("enableSceneRedraw(); global hideCatCams = hideByCategory.cameras; hideByCategory.cameras = true;disableSceneRedraw()") id:#prerendCamHide
        callbacks.addScript #postRender("hideByCategory.cameras = hideCatCams;") id:#postrendCamHide
        In addition, when submitting a file to a render farm you have to make sure to hide the cameras before submission. Otherwise, as I discovered, you render will hang indefinitely on the farm without an error, even though there is no viewport visible.

        Comment


        • #5
          Just want to get an update on this bug.

          Is this issue also in the latest vray 4?

          Comment

          Working...