POVRAY="povray -W${width} -H${height} -d"
+# convert options
+
+COPTS="-font /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf"
+COPTS="$COPTS -depth 8 -fill white -stroke blue -pointsize 24"
+
# do it ...
if [ -d $directory ]; then
# mv png
$POVRAY temp.pov > /dev/null 2>&1
+ time=`echo $file | awk -F. '{ print $1 }' | awk -F_ '{ print $3 }'`
+ convert $COPTS -draw "text 5,20 't = $time fs'" temp.png temp.png
mv temp.png `echo $file | sed 's/\.xyz/\.png/'`
done