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

Comparing ray/src/util/objline.csh (file contents):
Revision 2.1 by greg, Thu Oct 26 19:23:11 1995 UTC vs.
Revision 2.5 by greg, Mon Aug 25 04:50:32 2008 UTC

# Line 1 | Line 1
1   #!/bin/csh -f
2 < # SCCSid "$SunId$ LBL"
2 > # RCSid: $Id$
3   # Create four standard views of scene and present as line drawings
4   #
5   set oblqxf="-rz 45 -ry 45"
6 set d=/usr/tmp/ol$$
6   onintr quit
7 < mkdir $d
7 > set d=`mktemp -d /tmp/ol.XXXXXX`
8   if ($#argv) then
9          set origf=""
10          set oblqf=""
# Line 13 | Line 12 | if ($#argv) then
12                  xform -e $f > $d/$f.orig
13                  rad2mgf $d/$f.orig > $d/$f:r.orig.mgf
14                  set origf=($origf $f:r.orig.mgf)
15 <                (echo xf $oblqxf; cat $d/$f:r.orig.mgf; echo xf) \
17 <                                > $d/$f:r.oblq.mgf
15 >                echo i $f:r.orig.mgf $oblqxf > $d/$f:r.oblq.mgf
16                  set oblqf=($oblqf $f:r.oblq.mgf)
17          end
18   else
# Line 22 | Line 20 | else
20          set oblqf=stdin.oblq.mgf
21          xform -e > $d/stdin.orig
22          rad2mgf $d/stdin.orig > $d/stdin.orig.mgf
23 <        (echo xf $oblqxf; cat $d/stdin.orig.mgf; echo xf) \
26 <                        > $d/stdin.oblq.mgf
23 >        echo i stdin.orig.mgf $oblqxf > $d/stdin.oblq.mgf
24   endif
25   cd $d
26   set rce='xm=($1+$2)/2;ym=($3+$4)/2;zm=($5+$6)/2;\

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines