Community
Hi All, I'm trying to render additional frames to an existing render using the syntax below and can't figure out the command to render a specific frame range. Any help would be appreciated.
Thanks,
Dan
@echo off REM REM # Set Frame Count set count=660 setlocal EnableDelayedExpansion REM REM # Set Scene ASS file name set SCENE=C:\Users\drutter\Desktop\LCROSS\shot_01_ASS REM # Set Arnold folder path set MTOA_PATH=C:\solidangle\mtoadeploy\2019\bin REM REM # Set Shader Path set SHADER_SEARCH_PATH=C:\solidangle\mtoadeploy\2019\shaders REM REM # Set Bin Path for Kick command set MTOA_BIN_PATH=C:\solidangle\mtoadeploy\2019\bin REM REM # Kick Sequence with For Loop count REM # Current setup below disables display window, display progressive, and has verbosity level 4 for /L %%i in (1, 1, %count%) do ( set "frame=00000%%i" set frame=!frame:~-4! C:\solidangle\mtoadeploy\2019\bin\kick.exe -i C:\Users\drutter\Desktop\LCROSS\shot_01_ASS\Shot_01_camera__!frame!.ass C:\Users\drutter\Desktop\LCROSS\shot_01_ASS\Shot_01_lights.ass C:\Users\drutter\Desktop\LCROSS\shot_01_ASS\Shot_01_LCROSS.ass C:\Users\drutter\Desktop\LCROSS\shot_01_ASS\Shot_01_LRO1__!frame!.ass C:\Users\drutter\Desktop\LCROSS\shot_01_ASS\Shot_01_LRO__!frame!.ass -dw -dp -v 4 -l C:\solidangle\mtoadeploy\2019\shaders ) @echo off
Solved! Go to Solution.
Solved by Stephen.Blair. Go to Solution.
FOR /L %variable IN (start,step,end) DO command [command-parameters] The set is a sequence of numbers from start to end, by step amount. So (1,1,5) would generate the sequence 1 2 3 4 5 and (5,-1,1) would generate the sequence (5 4 3 2 1)
For example, for frames 3 to 16
set count=16 for /L %%i in (3, 1, %count%) do ( echo %%i )