Created
May 27, 2017 08:50
-
-
Save davidlatwe/2086ce238feec21bad745b92d06dfa7a to your computer and use it in GitHub Desktop.
Maya Batch Render CMD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO off | |
REM Put this batch file under scenes folder in maya project path | |
REM set scene folder path | |
SET POOL=%~dp0 | |
REM set project path | |
CD /D %POOL%.. | |
SET PROJ=%CD% | |
REM set images output root path | |
CD /D ./images | |
SET OUTP=%CD% | |
REM scene file | |
SET SCENE="%POOL%Y25_lit_M.mb" | |
REM ============================ | |
REM Render Zone | |
SET LAYER="GEAR" | |
SET ST=-60 | |
SET ED=180 | |
Render -r file -rl %LAYER% -s %ST% -e %ED% -rd %OUTP% -proj %PROJ% %SCENE% | |
SET LAYER="ASIS" | |
SET ST=331 | |
SET ED=350 | |
Render -r file -rl %LAYER% -s %ST% -e %ED% -rd %OUTP% -proj %PROJ% %SCENE% | |
SET LAYER="WISK" | |
SET ST=222 | |
SET ED=380 | |
Render -r file -rl %LAYER% -s %ST% -e %ED% -rd %OUTP% -proj %PROJ% %SCENE% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment