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 2.1 by greg, Tue Nov 12 17:19:24 1991 UTC vs.
Revision 2.2 by greg, Tue May 2 10:23:42 1995 UTC

# Line 7 | Line 7 | set fgargs=(-v)
7   set nofile="none"
8   set octree=$nofile
9   set picture=$nofile
10 + set glarefile=$nofile
11   if ($#argv >= 1) then
12          set glarefile=$argv[1]
13 < else
14 <        set glarefile=$nofile
13 >        if ($#argv >= 2) then
14 >                set picture=$argv[2]
15 >                if ($#argv >= 3) then
16 >                        set octree=$argv[3]
17 >                endif
18 >        endif
19   endif
20   set rtargs=
21   set view=
# Line 55 | Line 60 | so the view specification is optional unless you are s
60   octree.
61  
62   _EOF_
63 <        readvar picture
64 <        readvar octree
63 >        if ( $picture == $nofile ) then
64 >                readvar picture
65 >        endif
66 >        if ( $octree == $nofile ) then
67 >                readvar octree
68 >        endif
69          readvar view
70          if ( $picture == $nofile && $octree == $nofile ) then
71                  echo "You must specify a picture or an octree"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines