blender-util is a repo of random blender code to make life easier.
render.sh - start a render from the commandline without opening the GUI
render.sh -b $BLENDER_FILE -E $ENGINE -s $START_FRAME -e $END_FRAME \
-t $THREADS -o $OUTPUT_FILE -a
This will render frames 0-1000 using 12 threads and output the frames to video_0000.png
, video_0001.png
, etc.
render.sh -b $BLENDER_FILE -E CYCLES -s 0 -e 1000 -t 12 -o //video_ -a
convert.sh - convert non-blender 3D format files to and from .blender
format
convert.sh $INPUT_FILE $OUTPUT_FILE
This will convert input.obj
to output.blender
convert.sh input.obj output.blender