Affichage des articles dont le libellé est blender batch ubuntu. Afficher tous les articles
Affichage des articles dont le libellé est blender batch ubuntu. Afficher tous les articles

mercredi 17 septembre 2014

Ubuntu Blender batch render

Simple batch script to render multiple scene in queue.

create the script in a text file.(no extension) Name it 'testbash'. Drop it in the Ubuntu home folder.


Scene settings override:
#$ chmod +x testbash
#./testbash
VAR1="/home/loran/Documents/00-diaporama/DIAPORAMA_part1"
cd /home/loran/Documents/blender-2.80-BETA
./blender -b $VAR1/SLIDESHOW1.blend -o //render2/01/ -F JPG -s 001 -e 949 -a
./blender -b $VAR1/SLIDESHOW2.blend -o //render2/02/ -F JPG -s 001 -e 302 -a

echo "Rendus terminé le $(date)"

Use scene settings (here a mp4 video was rendered):
#$ chmod +x testbash
#./testbash
VAR1="/home/loran/Documents/00-diaporama/DIAPORAMA_part1"
cd /home/loran/Documents/blender-2.80-BETA
./blender -b $VAR1/montage.blend -o //EXPORTS/ -s 1 -e 12374 -a

 

 

Use scene settings, installed blender, folder shortcut on desktop to avoid dropbox path problem with ()

#$ chmod +x testbash
#./testbash
VAR="/home/lo/Desktop/monaco/scenes/"
blender -b $VAR/MONACO-scene3-bulles.blend -a
echo "bulles OK"
blender -b $VAR/MONACO-scene3-bulles2.blend -a
echo "bulles 2 OK"


 

 

Launch terminal (CTRL ALT T)
write:

$ chmod +x testbash
then:
./testbash
https://docs.blender.org/manual/en/2.92/advanced/command_line/render.html