Maya 前台渲染,渲染选择的区域(测试用)

tech2022-12-26  119

int $start = 101; int $end = 200; for($i=$start;$i<=$end;$i++) { int $amount = 0; progressWindow -title "Rendering" -progress $amount -status "Frame: 0%" -isInterruptable true; if ( `progressWindow -query -isCancelled` ) break; if ( `progressWindow -query -progress` >= $end) break; $amount = $i; progressWindow -edit -progress $amount -status ("Rendering: " + $amount + "/" + $end); currentTime $i; renderWindowRenderRegion renderView; print ("D:/temp/check6/images/aaa"+$i); //renderWindowSaveImageCallback "renderView" ("D:/temp/BJ/check6/images/aaa"+$i) "exr"; } progressWindow -endProgress;
最新回复(0)