Forum: Autodesk Maya
Posted By: Feast
Post Time: 12 December 2017 at 05:19 PM
Text:
I want to batch render a scene as many times as there are animation layers in it (except for the BaseAnimation layer).
So every time with 1 animation layer ON and the other animation layers OFF. The rendered png's having the name like so: animationLayer_001.png
It's a script I'd put in a .bat file, so far I managed to always use code lines like this one below to render out my scenes:
"C:\Program Files\Autodesk\Maya2018\bin\render.exe" -r redshift -rd "D:\GameDevelopment\_Unity Projects\Sparks Prototype\Assets\Graphics\Animation QuickTest" -cam RenderCam -of png "D:\GameDevelopment\_Maya_Projects\Our Game Characters\Bowman\scenes\Walk\Walk_MASTER.ma"
but this time it requires a more complicated process, does someone know how to solve this?
Posted By: Feast
Post Time: 12 December 2017 at 05:19 PM
Text:
I want to batch render a scene as many times as there are animation layers in it (except for the BaseAnimation layer).
So every time with 1 animation layer ON and the other animation layers OFF. The rendered png's having the name like so: animationLayer_001.png
It's a script I'd put in a .bat file, so far I managed to always use code lines like this one below to render out my scenes:
"C:\Program Files\Autodesk\Maya2018\bin\render.exe" -r redshift -rd "D:\GameDevelopment\_Unity Projects\Sparks Prototype\Assets\Graphics\Animation QuickTest" -cam RenderCam -of png "D:\GameDevelopment\_Maya_Projects\Our Game Characters\Bowman\scenes\Walk\Walk_MASTER.ma"
but this time it requires a more complicated process, does someone know how to solve this?