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

Comparing ray/src/util/dayfact.csh (file contents):
Revision 1.5 by greg, Wed Jun 5 16:50:45 1991 UTC vs.
Revision 1.6 by greg, Fri Jun 7 11:04:16 1991 UTC

# Line 27 | Line 27 | or more color Radiance pictures.
27   _EOF_
28   readvar octree
29   if ( "$octree" == "$nofile" || ! -f "$octree" ) then
30 <        echo "You must first create an octree with oconv"
31 <        echo "before running this script."
30 >        echo "You must first create an octree with"
31 >        echo "oconv before running this script."
32          exit 1
33   endif
34   set title="$octree:r"
35   echo "In what scene file is the gensky command located?"
36   readvar genskyf
37   if ( "$genskyf" == "$nofile" || ! -r "$genskyf" ) then
38 <        echo "You will not be able to compute"
39 <        echo "daylight factors without a gensky file"
38 >        echo "You will not be able to compute daylight"
39 >        echo "factors since there is no gensky file."
40   else
41          set title=$title\ `sed -n 's/^.*\<gensky  *\([0-9][0-9]*  *[0-9][0-9]*  *[0-9][0-9.]*\).*$/\1/p' $genskyf`
42          set extamb=`xform -e $genskyf|sed -n 's/^# Ground ambient level: //p'`
# Line 55 | Line 55 | set wpsize=($wpsize)
55   set wpres=(`rcalc -n -e '$1=if(l,'"floor($maxres*$wpsize[1]/$wpsize[2]),$maxres);"'$2=if(l,'"$maxres,floor($maxres*$wpsize[2]/$wpsize[1]));l=$wpsize[2]-$wpsize[1]"`)
56   set rtargs=($rtargs -ar `getinfo -d<$octree|rcalc -e '$1=floor(16*$4/'"($wpsize[1]+$wpsize[2]))"`)
57   echo "What calculation options do you want to give to rtrace?"
58 < echo "(It is very important to set the -a? options correctly.)"
58 > echo "(It is very important to set the -a* options correctly.)"
59   readvar rtargs
60   echo "Illuminance contour picture if you want one"
61   readvar ilpict
# Line 101 | Line 101 | endif
101   echo 'rm -f $tempfiles' >> $sctemp
102   (source $sctemp) |& mail `whoami` &
103   echo "Your job is started in the background."
104 < echo "I will send you mail when it is done."
104 > echo "You will be notified by mail when it is done."

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines