ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/glare.csh
(Generate patch)

Comparing ray/src/util/glare.csh (file contents):
Revision 1.5 by greg, Thu May 2 13:21:02 1991 UTC vs.
Revision 1.9 by greg, Fri May 3 12:50:42 1991 UTC

# Line 62 | Line 62 | _EOF_
62                  echo "You must specify a picture or an octree"
63                  exit 1
64          endif
65 +        if ( $picture == $nofile && "$view" == "" ) then
66 +                echo "You must give a view if there is no picture"
67 +                exit 1
68 +        endif
69          if ( $picture != $nofile ) then
70                  if ( ! -r $picture ) then
71                          echo "Cannot read $picture"
# Line 131 | Line 135 | endif
135   if ($?DISPLAY && $picture != $nofile) then
136          echo ""
137          echo "Displaying glare sources in '$picture'..."
138 <        xglaresrc $picture $glarefile >& /dev/null
135 <        if ($status) then
136 <                x11image =+0+0 -g 2.6 $picture &
137 <                sleep 40
138 <                xglaresrc $picture $glarefile
139 <        endif
138 >        xglaresrc $picture $glarefile
139   endif
140   set ndxnam=("Guth Visual Comfort Probability" "Guth Disability Glare Ratio" "CIE Glare Index")
141   set ndxcom=("glarendx -t guth_vcp" "glarendx -t guth_dgr" "glarendx -t cie_cgi")
142 + set bcdlvl=(50 124 18.5)
143   while ( 1 )
144          echo ""
145          echo "  0.  Quit"
# Line 181 | Line 181 | include=line.plt
181   include=polar.plt
182   title="$ndxnam[$choice]"
183   subtitle="$subtitle"
184 + Bdata=
185 +        0       $bcdlvl[$choice]
186 +        360     $bcdlvl[$choice]
187 + ;
188 + Blabel="BCD level"
189   Adata=
190   _EOF_
191                          getinfo - < $gndxfile >> $plotfile

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines