--- ray/src/util/compamb.csh 1998/01/28 10:47:11 3.2 +++ ray/src/util/compamb.csh 1998/10/18 10:08:10 3.4 @@ -27,9 +27,10 @@ set oct=`rad -w -s -e -v 0 $argv[1] QUA=High AMB=$tf.a rad -n -s -V $argv[1] \ | rpict @$tf.opt -av 0 0 0 -aw 16 -dv- -S 1 -x 16 -y 16 -ps 1 $oct \ | ra_rgbe - '\!pvalue -h -H -d' > $tf.dat +echo \# Rad input file modified by $0 `date` >> $argv[1] if ( $?doexpos ) then (echo -n 'EXPOSURE= '; \ - total -u $tf.dat | rcalc -e '$1=1/(.265*$1+.670*$2+.065*$3)') \ + total -u $tf.dat | rcalc -e '$1=2/(.265*$1+.670*$2+.065*$3)') \ >> $argv[1] endif lookamb -h -d $tf.amb | rcalc -e '$1=$10;$2=$11;$3=$12' >> $tf.dat