Announcement

Collapse
No announcement yet.

Problem with export

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

  • Problem with export

    Hi,

    When exporting a scene to a vray scene via batch it produces code that is causes an error in the standalone renderer.

    rgn_left=-1.#IND;
    rgn_width=160;
    rgn_top=-1.#IND;
    rgn_height=120;
    bmp_width=160;
    bmp_height=120;
    r_left=0;
    r_width=160;
    r_top=0;
    r_height=120;

    Those lines with -1.#IND that are written to the SettingsOutput vraySettingsOutput block produce an "expected a ";" after property definition" during rendering with standalone.

    I am using Maya 2010 on Win 7 64bit and the vray demo.
    http://www.andreas-reimer.de
    http://www.renderpal.com
    my HDRI and texture collection

  • #2
    Hm, thanks for the pointer, will take a look at it; I think this may be fixed for newer builds already.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Have you selected a camera for batch rendering. This can be done from Render Settings -> VRay Common -> Image File output -> Batch render camera (at the very bottom) ? The official release has this default to "None" which may cause this problem. Newer builds have it default to the persp camera.

      Greetings,
      Vladimir Nedev
      Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

      Comment


      • #4
        Yes the camera was set to None. Is it possible to specify it from batch with the -cam flag?

        In general, how are scenes with multiple renderable cameras handled if only one could be specified in the render globals.
        I could do several batch renderings or exports with different -cam flags in each, but that would overwrite the images each time, because the camera name is not attached to the image name as maya woud do it normally.
        http://www.andreas-reimer.de
        http://www.renderpal.com
        my HDRI and texture collection

        Comment


        • #5
          You can use the "%c" flag in the "File name prefix" field, it will be substituted with the camera name. And yes the only way to render from multiple cameras is to export/batch render multiple times, once for each camera.

          I guess you are talking about the -cam flag of the vrend command ? In batch render mode V-Ray will always use the camera specified with "vraySettings.batchCamera".

          Greetings,
          Vladimir Nedev
          Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

          Comment


          • #6
            I was talking about the -cam flag of the maya batch renderer
            Render.exe" -r vray -s 1 -e 10 -rl "cylinder" -cam camera1 -proj "W:/RenderPal/Maya/" -exportFileName "W:/RenderPal/Maya/scenes/export" -noRender"W:/RenderPal/Maya/scenes/vray.mb"

            Render.exe" -r vray -s 1 -e 5 -cam "cameraShape1" -proj "W:/RenderPal/Maya/" "W:/RenderPal/Maya/scenes/vray.mb"

            It would be great if the V-Ray plugin would handle it the same way like Maya. If there are multiple renderable cameras, append the camera name to the image name automatically.
            Now I would have to script checks that force the user to do this.
            http://www.andreas-reimer.de
            http://www.renderpal.com
            my HDRI and texture collection

            Comment


            • #7
              Ok, I'll write this down as a feature request.

              Greetings,
              Vladimir Nedev
              Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

              Comment

              Working...
              X