--- ray/src/util/glare.csh 1991/05/02 13:21:02 1.5 +++ ray/src/util/glare.csh 1991/05/02 16:07:22 1.7 @@ -62,6 +62,10 @@ _EOF_ echo "You must specify a picture or an octree" exit 1 endif + if ( $picture == $nofile && "$view" == "" ) then + echo "You must give a view if there is no picture" + exit 1 + endif if ( $picture != $nofile ) then if ( ! -r $picture ) then echo "Cannot read $picture" @@ -140,6 +144,7 @@ if ($?DISPLAY && $picture != $nofile) then endif set ndxnam=("Guth Visual Comfort Probability" "Guth Disability Glare Ratio" "CIE Glare Index") set ndxcom=("glarendx -t guth_vcp" "glarendx -t guth_dgr" "glarendx -t cie_cgi") +set bcdlvl=(50 124 18.5) while ( 1 ) echo "" echo " 0. Quit" @@ -181,6 +186,11 @@ include=line.plt include=polar.plt title="$ndxnam[$choice]" subtitle="$subtitle" +Bdata= + 0 $bcdlvl[$choice] + 360 $bcdlvl[$choice] +; +Blabel="BCD level" Adata= _EOF_ getinfo - < $gndxfile >> $plotfile