Fortraneries/Fraktalism/tracepick.sh

26 lines
421 B
Bash
Executable File

#!/bin/bash
POVOPT=" -d +q9 +a +W1024 +H768 -v +WT2"
TMPNG="/dev/shm/evolv.png"
outfile=$(printf "frames/pick3d/%05d.png" $1)
# echo $outfile
awk -f pick2pov.awk < WS/pick.dat > WS/pickover.inc
PASS=900
povray -ipick3d.pov -K120 ${POVOPT} \
Declare=NBPASS=${PASS} \
-O${TMPNG} 2> toto
convert ${TMPNG} \
-fill Gray50 \
-gravity South-West \
-pointsize 24 \
-annotate +20+10 "tTh" \
$outfile