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

Comparing ray/src/px/falsecolor.csh (file contents):
Revision 1.1 by greg, Thu May 23 13:45:18 1991 UTC vs.
Revision 1.2 by greg, Thu May 23 14:22:00 1991 UTC

# Line 50 | Line 50 | while ($#argv > 0)
50                  breaksw
51          case -ip:
52          case -pi:
53 <                shiftargv
53 >                shift argv
54                  set picture="$argv[1]"
55                  set cpict="$argv[1]"
56                  breaksw
# Line 61 | Line 61 | while ($#argv > 0)
61                  set docont=b
62                  breaksw
63          case -n:
64 <                shiftargv
64 >                shift argv
65                  set ndivs="$argv[1]"
66 <                breadsw
66 >                breaksw
67          default:
68                  echo bad option "'$argv[1]'"
69                  exit 1
# Line 119 | Line 119 | pcomb $pcargs -e 'v=(y+.5)/200;vleft=v;vright=v' \
119                  -e 'ra=0;ga=0;ba=0' -x 100 -y 200 \
120                  > $tempdir/scol.pic
121   (echo $label; cnt $ndivs |rcalc -e '$1='"($scale)/$ndivs*($ndivs"'-.5-$1)') \
122 <        | psign -cf 1 1 1 -cb 0 0 0 -h `ev "floor(200/$ndivs+.5)"` \
123 <                > $tempdir/slab.pic
122 >        | psign -cf 1 1 1 -cb 0 0 0 -h `ev "floor(2*200/$ndivs+.5)"` \
123 >        | pfilt -1 -x /2 -y /2 > $tempdir/slab.pic
124   pcomb $pcargs $picture $cpict \
125 <        | pcompos $tempdir/scol.pic 0 0 -t .5 $tempdir/slab.pic 25 0 - 100 0
125 >        | pcompos $tempdir/scol.pic 0 0 -t .2 $tempdir/slab.pic 25 0 - 100 0
126   quit:
127   rm -rf $tempdir

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines