Skip to content

Instantly share code, notes, and snippets.

@JustinPedersen
Created November 18, 2017 13:37
Show Gist options
  • Save JustinPedersen/a517bb2bf90bebce19791463c9a7f0f1 to your computer and use it in GitHub Desktop.
Save JustinPedersen/a517bb2bf90bebce19791463c9a7f0f1 to your computer and use it in GitHub Desktop.
ionstring $renderViewName = "renderView";
string $Path = "F:/scene4_Particles/images/";
string $Format = "png";
string $Title = "Sc04_Sh16_particles";
string $name = ($Title + "000");
int $Start = 40;
int $End = 116;
for($f=$Start; $f<=$End; ++$f ){
currentTime $f;
renderWindowRender redoPreviousRender renderView;
string $fileName = ($name + $f);
renderWindowEditor -edit -writeImage ($Path + $fileName + "." + $Format) $renderViewName;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment