nasty bug added
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
INCFILE="bloubs.inc"
|
||||
TMPPNG="/dev/shm/bloubs7.png"
|
||||
POVOPT="+Q9 +a -v -d -W640 -H480"
|
||||
POVOPT="+Q9 +a -v -d -W920 -H600"
|
||||
DDIR="frames"
|
||||
LOGERR="log.error"
|
||||
|
||||
@@ -22,9 +22,9 @@ fi
|
||||
# first, we have to make a seminal buch of bloubs
|
||||
# --> this function need to be paraletrizable
|
||||
#
|
||||
./genbloubs in.blbs 10000
|
||||
./genbloubs in.blbs 100000
|
||||
|
||||
for idx in $(seq 0 50)
|
||||
for idx in $(seq 0 800)
|
||||
do
|
||||
|
||||
echo "======== run passe $idx ========="
|
||||
@@ -32,15 +32,21 @@ do
|
||||
./exportbloubs in.blbs | awk -f toinc.awk > $INCFILE
|
||||
|
||||
povray -Iscene.pov -K${idx} -O${TMPPNG} ${POVOPT} 2> $LOGERR
|
||||
grep "Trace Tim" $LOGERR
|
||||
if [ 0 -ne $? ] ; then
|
||||
tail -15 $LOGERR
|
||||
sleep 30
|
||||
else
|
||||
grep "Trace Time" $LOGERR
|
||||
fi
|
||||
|
||||
txt=$(date +'%F %R:%S')
|
||||
td=$(date +'%F %R:%S')
|
||||
txt=$(printf "%9d %5d %s" $$ $idx "${td}")
|
||||
PNG=$(printf "%s/%05d.png" ${DDIR} $idx)
|
||||
echo $txt
|
||||
echo "$txt"
|
||||
|
||||
convert ${TMPPNG} \
|
||||
-font fixed \
|
||||
-pointsize 16 \
|
||||
-pointsize 20 \
|
||||
-fill orange \
|
||||
-gravity south-east \
|
||||
-annotate +15+10 "$txt" \
|
||||
@@ -56,6 +62,9 @@ done
|
||||
|
||||
rm $LOGERR
|
||||
|
||||
convert -delay 10 -colors 192 $DDIR/*.png foo.gif
|
||||
convert -delay 10 -resize 50% -colors 192 \
|
||||
$DDIR/????[0]*.png foo.gif
|
||||
|
||||
./encode.sh
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user