--- ray/src/util/debugcal.csh 1992/03/18 09:06:32 2.2 +++ ray/src/util/debugcal.csh 1993/02/25 09:29:25 2.3 @@ -5,7 +5,7 @@ # # Takes octree and rcalc options as arguments. # One of the rcalc options should be -f calfile. -# Note that the material arguments A1, A2, etc must also be given. +# Note that the real arguments A1, A2, etc must also be given. # Input is a ray origin and direction, such as that produced by ximage. # if ( $#argv < 2 ) then @@ -23,8 +23,8 @@ foreach d (`echo $RAYPATH | sed 's/:/ /g'`) endif end -rtrace -h- -x 1 -odnpl $1 | rcalc -e 'Dx=$1;Dy=$2;Dz=$3' \ +rtrace -h- -x 1 -odNplL $1 | rcalc -e 'Dx=$1;Dy=$2;Dz=$3' \ -e 'Nx=$4;Ny=$5;Nz=$6;Px=$7;Py=$8;Pz=$9' \ - -e 'T=$10;Ts=T' -e 'S:1;Tx:0;Ty:0;Tz:0' \ + -e 'T=$10;Ts=$11' -e 'S:1;Tx:0;Ty:0;Tz:0' \ -e 'Ix:1;Iy:0;Iz:0;Jx:0;Jy:1;Jz:0;Kx:0;Ky:0;Kz:1' \ -e 'Rdot=-Dx*Nx-Dy*Ny-Dz*Nz' $initfile $argv[2-]:q