Arnold -reg flag does not work as expected when batch-rendering in Maya

Arnold -reg flag does not work as expected when batch-rendering in Maya

maxim.2000XMP66
Contributor Contributor
427 Views
1 Reply
Message 1 of 2

Arnold -reg flag does not work as expected when batch-rendering in Maya

maxim.2000XMP66
Contributor
Contributor

Hi!

 

I am using this command to batch-render a Maya scene in arnold:

Render -r arnold -pythonver 2 -proj D:/PROJECTS/myProject -rl my_layer -rd D:\PROJECTS\myProject\images\test -s 1000 -e 1157 -b 100 -reg 900 1670 50 550 D:/PROJECTS/myProject/01_shots/sh1006/render/sh1006_render_v016_mgh.ma

>> Essentially, using the region flag to render only part of the image: -reg 900 1670 50 550 

 

I would expect this to render a 1080p image that is mostly black except for the specified region. However, I get a 1080p image with the region filling the full frame. Essentially a zoomed-in full-res image of the region.

 

(I've opened the file in Nuke and DJV and also compared the resolution to a render without -reg flag, confirming it is being rendered like that.)

 

Thanks for any help!

 

0 Likes
428 Views
1 Reply
Reply (1)
Message 2 of 2

maxim.2000XMP66
Contributor
Contributor

Some more info about this: I have first tried using a Filtermap (Camera>Arnold tab), which worked as expected in the Arnold renderview interactive render, but produced the exact same result (full screen, full-res zoomed render of the region) when batch-rendering.

I am using Maya 2022.4  and  Arnold 5.0.0.4

0 Likes