[Bf-funboard] Render frame ranges/filenames

Campbell Barton ideasman42 at gmail.com
Wed Apr 9 10:46:11 CEST 2008


Id like to change the default number of frames blender writes to be
always 6 - which fits with blenders max frame of 300000.

Read on for the rationale...

when rendering more then 9999 frames some problems arise.
Blender uses 4 numbers when the end frame is less then 9999. Which is
fine in cases where you just want to render out everything at once.
But if you want to re-render smaller frame ranges, the numbers in each
frame dont match so you end up with (final0001.dpx and final00001.dpx)
and a whole bunch need batch renaming.

If the number of files is really big it gets less nice, I found over
10,000 files crash krename for instance (a bug in krename ofcourse),
but it takes a long time to display those files in any file manager
and generally its not nice to have to deal with especially early in
the morning - see.
http://peach.blender.org/index.php/woosh-the-deadline-passed-or-how-everything-that-can-go-wrong-does/

Luckily for for final0001.dpx we used bash-fu to do the renaming for us.

for i in final????.dpx; do j=`echo $i | sed 's/final/final0/g'`; mv
"$i" "$j"; done

On windows youd probably have to scour the net for some shareware (or
get cygwin if your know unix well enough), but either way these are
not things you want to worry about at the last minute.

The extra 2 chars on every name isnt too bad now almost nobody relies
on 8.3 letter names anymore.
Personally Id make it default, though it could be an option also.

Any opinions on this, reason not to change this?


More information about the Bf-funboard mailing list