

tend satin -th 0.08 -t -p 0.5 -max 0.8 -min 0.0 -b 0.1 -s 15 -o test.nrrd

tend anvol -i test.nrrd -a ca1 \
 | unu 2op gt - 0.25 \
 | unu splice -i test.nrrd -s - -a 0 -p 0 -o test.nrrd

setenv FR "4 0 0"
setenv FR "-4 -4 -4"
setenv FR "4 4 4"

echo "1   1 1 1   -1 -1 -3" \
 | emap -i - -fr $FR -up 0 0 1 -rh -amb 0 0 0 -o emap.nrrd

alias CROP unu crop -min 0 0 0 -max 2 M M

valgrind tend glyph -i test.nrrd -a ca1 -atr 0.5 \
   -emap emap.nrrd  -bg 1 1 0 \
   -gsc 0.06 \
   -or -rh -fr $FR -ur -0.8 0.8 -vr -0.8 0.8 \
   -slc 2 7 -off -0.5 \
   -o tmp.ps
echo '   -rt -is 400 400 | CROP | unu quantize -b 8 -o tmp.png'





rm -f emap.nrrd test.nrrd
