@echo off if "%1"=="" goto printhelp if "%1"=="/?" goto printhelp set index=0 set currentangle=%3 :rotation_loop set currentname=%1%index% echo name: %currentname%, angle: %currentangle% rem name angle step isovalue isovaluealpha isovaluethickness mat0_color mat0_alpha mat0_value ... mat4_alpha mat4_value rem bluered call levoy %currentname% %currentangle% 0.005 -1 10 0.1 black 0 0 blue 1 0.4 red 3 0.7 white 5 1 black 0 1 rem whitered call levoy %currentname% %currentangle% 0.005 -1 10 0.1 black 0 0 white 1 0.4 white 3 0.7 red 5 1 black 0 1 rem ALT call levoy %currentname% %currentangle% 0.005 1 10 0.1 black 0 0 white 1 0.4 white 3 0.7 red 5 1 black 0 1 call levoy %currentname% %currentangle% 0.005 -1 10 0.1 black 3 0.5 blue 3 0.5 green 3 0.5 tuerk 3 0.5 red 3 0.5 set /a "currentangle=currentangle+%4" set /a "index=index+1" if not %index%==%2 goto rotation_loop :cleanup set index= set currentname= set currentangle= echo Finished with rotation of %2 images from %1 goto end :printhelp echo levoyrot.bat calls levoy.bat (which uses bmrt) to create a couple of echo rotated images using the following options echo syntax: levoyrot [imgname] [numberOfImages] [startAngle] [angleStep] echo. echo the following options can be edited within this batch-file echo [stepsize] [isovalue] [isovaluealpha] [isovaluethickness] echo [mat0color] [mat0alpha] [mat0value] echo [mat1color] [mat1alpha] [mat1value] echo [mat2color] [mat2alpha] [mat2value] echo [mat3color] [mat3alpha] [mat3value] echo [mat4color] [mat4alpha] [mat4value] :end