fine tuning

This commit is contained in:
tth
2022-02-07 01:50:49 +01:00
parent 7976d1dd9f
commit 23616f9119
2 changed files with 37 additions and 16 deletions

View File

@@ -7,8 +7,9 @@
INCFILE="bloubs.inc"
TMPPNG="/dev/shm/bloubs7.png"
POVOPT="+Q9 -v -d -W640 -H480"
POVOPT="+Q9 +a -v -d -W640 -H480"
DDIR="frames"
LOGERR="log.error"
make all
err=$?
@@ -22,37 +23,38 @@ fi
#
./genbloubs in.blbs 10000
for idx in $(seq 0 40)
for idx in $(seq 0 50)
do
echo "======== run passe $idx ========="
./exportbloubs in.blbs | awk -f toinc.awk > $INCFILE
povray -Iscene.pov -K${idx} -O${TMPPNG} ${POVOPT} 2> toto
povray -Iscene.pov -K${idx} -O${TMPPNG} ${POVOPT} 2> $LOGERR
grep "Trace Tim" toto
txt=$(date +'%F %R:%S')
PNG=$(printf "%s/%05d.png" ${DDIR} $idx)
echo $PNG $txt
echo $txt
convert ${TMPPNG} \
-font fixed \
-pointsize 12 \
-pointsize 14 \
-fill orange \
-gravity south-east \
-annotate +10+10 "$txt" \
-annotate +15+10 "$txt" \
$PNG
echo $PNG '[done]'
./movebloubs in.blbs out.blbs
mv out.blbs in.blbs
echo
cp out.blbs in.blbs
sleep 2 ; echo
done
rm toto
rm $LOGERR
convert -delay 10 -colors 32 $DDIR/*.png foo.gif
convert -delay 10 -colors 192 $DDIR/*.png foo.gif