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

Comparing ray/src/gen/markpath.csh (file contents):
Revision 2.1 by greg, Sat Feb 22 02:07:23 2003 UTC vs.
Revision 2.2 by greg, Thu Jan 1 19:44:07 2004 UTC

# Line 18 | Line 18 | set step=$2
18   set mat=mark
19   if ($#argv > 2) set mat=$3
20   set npts=`wc -l < $pts`
21 < (head -1 $pts ; cat $pts) | lam - $pts \
21 > (head -1 $pts ; cat $pts) | rlam - $pts \
22          | rcalc -e '$1=d($1,$2,$3,$4,$5,$6)' -e "cond=$npts+.5-recno" \
23          -e 's(x):x*x;d(x0,y0,z0,x1,y1,z1):sqrt(s(x1-x0)+s(y1-y0)+s(z1-z0))' \
24          | total -1 -r > /tmp/run$$.dat
25 < lam /tmp/run$$.dat $pts | tabfunc -i xp yp zp > /tmp/path$$.cal
25 > rlam /tmp/run$$.dat $pts | tabfunc -i xp yp zp > /tmp/path$$.cal
26   set tmax=`tail -1 /tmp/run$$.dat`
27   set nsteps=`ev "floor($tmax/$step)"`
28   echo $mat > /tmp/tri$$.fmt

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines