Announcement

Collapse
No announcement yet.

Cannot use -im option on commandline rendering (mayabatch.exe)

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

  • Cannot use -im option on commandline rendering (mayabatch.exe)

    Hi,

    I'm commandline rendering on Linux using Maya 2017 with V-Ray for Maya 3.40.06 stable build 27073:

    Code:
    [maya_installation]/bin/Render -r vray -x 960 -y 540 -reg 0 479 0 269 -s 1 -e 1 -rl masterLayer -im <Scene>_slice1_<Layer>_<Camera>. -cam camera1 -proj //192.168.0.226/prod/proj2/maya -rd //192.168.0.226/prod/proj2/maya/images/scene67/slices //192.168.0.226/prod/proj2/maya/scenes/scene67.mb
    For some reason, it seems that the "-im" option isn't being respected (which is supposed to determine the resulting image filename), and instead the filename comes out as specified in the fileNamePrefix of render globals.
    Is this something you see on your end too?

    Scene attached:
    scene67.zip
    Best Regards,
    Fredrik

  • #2
    Oh, never mind. Figured it out!

    Now that I copy-pasted that exact command from this thread and ran it, I can see I need quotes around the string. I wonder how this even would render before...
    Best Regards,
    Fredrik

    Comment

    Working...
    X