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

Comparing ray/src/util/objview.csh (file contents):
Revision 2.6 by gwlarson, Wed Jun 10 17:50:49 1998 UTC vs.
Revision 2.7 by gwlarson, Thu Jun 11 08:57:37 1998 UTC

# Line 9 | Line 9 | set octree=$tmpdir/ov$$.oct
9   set lights=$tmpdir/lt$$.rad
10   set rif=$tmpdir/ov$$.rif
11   set tmpfiles="$octree $lights $rif"
12 + set raddev="x11"
13   set up="Z"
14   set vw="XYZ"
15 + set rendopts=""
16   set opts=""
17   while ($#argv > 0)
18          switch ($argv[1])
19 <        case -g:
19 >        case -g*:
20                  set usegl
21                  breaksw
22          case -u:
# Line 25 | Line 27 | while ($#argv > 0)
27          case -w:
28                  set opts=($opts $argv[1])
29                  breaksw
30 +        case -b*:
31 +                set rendopts=($rendopts -bv)
32 +                breaksw
33          case -v:
34                  shift argv
35                  set vw=$argv[1]
36                  breaksw
37          case -o:
38                  shift argv
39 <                set opts=($opts -o $argv[1])
39 >                set raddev="$argv[1]"
40                  set radopt
41                  breaksw
42          case -V:
# Line 40 | Line 45 | while ($#argv > 0)
45                  set radopt
46                  breaksw
47          case -S:
43        case -b:
48                  set opts=($opts $argv[1])
49                  set glradopt
50                  breaksw
51          case -*:
52                  echo "Bad option: $argv[1]"
53                  exit 1
50                breaksw
54          default:
55                  break
56          endsw
# Line 89 | Line 92 | UP= $up
92   view= $vw
93   OCTREE= $octree
94   oconv= -f
95 + render= $rendopts
96   _EOF_
97  
98   if ( $?usegl ) then
99          glrad $opts $rif
100   else
101 <        rad -o x11 $opts $rif
101 >        rad -o $raddev $opts $rif
102   endif
103  
104   quit:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines