Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to specify render range in kick

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
daniel.j.rutter
309 Views, 2 Replies

how to specify render range in kick

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
2 REPLIES 2
Message 2 of 3

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
)


// Stephen Blair
// Arnold Renderer Support
Message 3 of 3

Thanks Stephen! You saved me again!

Dan

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report