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

Comparing ray/src/util/do_file.tcl (file contents):
Revision 2.15 by gregl, Tue Aug 12 15:19:05 1997 UTC vs.
Revision 2.16 by gwlarson, Tue Oct 20 11:52:15 1998 UTC

# Line 43 | Line 43 | proc preen {} {                        # clean up radvar
43          if {! [info exists radvar(RESOLUTION)]} {
44                  set radvar(RESOLUTION) 512
45          }
46 +        if {! [info exists radvar(EYESEP)]} {
47 +                set radvar(EYESEP) 1
48 +        }
49          if [info exists radvar(QUALITY)] {
50                  cardval radvar(QUALITY) {High Medium Low}
51          } else {
# Line 91 | Line 94 | proc setradvar stmt {          # assign a rad variable
94                  AMB* { set radvar(AMBFILE) $vval }
95                  OPT* { set radvar(OPTFILE) $vval }
96                  EXP* { set radvar(EXPOSURE) $vval }
97 +                EYE* { set radvar(EYESEP) $vval }
98                  RES* { set radvar(RESOLUTION) $vval }
99                  UP { set radvar(UP) $vval }
100                  IND* { set radvar(INDIRECT) $vval }
# Line 119 | Line 123 | proc putradvar {fi vn} {       # print out a rad variable
123          }
124          if {[lsearch -exact {ZONE QUALITY OCTREE PICTURE AMBFILE OPTFILE
125                          EXPOSURE RESOLUTION UP INDIRECT DETAIL PENUMBRAS
126 <                        RAWFILE ZFILE VARIABILITY REPORT} $vn] >= 0} {
126 >                        EYESEP RAWFILE ZFILE VARIABILITY REPORT} $vn] >= 0} {
127                  puts $fi "$vn= $radvar($vn)"
128                  return
129          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines