Maya 單幀渲染上限 8K (8192×8192),但受限於記憶體與計算量,實際常失敗。解決方案:分塊渲染——將大圖切割為多個小區域分別渲染,後期拼接。
圖像像素座標從 0 開始。寬 x,高 y。需提供四個整數定義子區域邊界:left, right, bottom, top。
例:864×480 圖切四塊,第一塊 (左上) 參數:
left = 0 right = 864/2 - 1 = 431 bottom = 480/2 - 1 = 239 top = 480 - 1 = 479
-1 因像素索引從 0 開始 (0~863, 0~479)。


使用 Render -r mr -reg left right bottom top 參數指定渲染區域。
-reg int int int int 設置子區域像素邊界 (bottom, top, left, right 順序請參考 help)。

作者編寫小工具查詢 batch render 命令參數,便於構建自動化切塊渲染腳本。
frame_001_left0_bottom0.exr)。