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.3 by greg, Mon Jan 4 16:37:10 1993 UTC vs.
Revision 2.5 by greg, Fri Feb 9 12:56:59 1996 UTC

# Line 7 | Line 7
7   set tmpdir=/usr/tmp
8   set octree=$tmpdir/ov$$.oct
9   set tmpfiles="$octree"
10 + if ( ! $?RVIEW ) set RVIEW="rview"
11   onintr quit
12  
13   oconv - $argv[*]:q > $octree <<_EOF_
# Line 18 | Line 19 | bright source sun2 0 0 4 .3 1 1 5
19   bright source sun3 0 0 4 -1 -.7 1 5
20   _EOF_
21  
22 + if ( $status ) goto quit
23 +
24   set vp=`getinfo -d <$octree|rcalc -e '$1=$1-3.5*$4;$2=$2-3.5*$4;$3=$3+2.5*$4'`
25  
26 < rview -av .2 .2 .2 -vp $vp -vd 1 1 -.5 -vv 15 -vh 15 $octree
26 > $RVIEW -av .2 .2 .2 -vp $vp -vd 1 1 -.5 -vv 15 -vh 15 $octree
27  
28   quit:
29   rm -f $tmpfiles

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines