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.7 by greg, Wed May 29 14:10:09 1991 UTC vs.
Revision 2.2 by greg, Mon Apr 6 17:54:11 1992 UTC

# Line 5 | Line 5
5   #
6   set td=/usr/tmp/fc$$
7   onintr quit
8 < set mult=470
8 > set mult=179
9   set label=Nits
10   set scale=1000
11   set decades=0
# Line 79 | Line 79 | while ($#argv > 0)
79   end
80   mkdir $td
81   cat > $td/pc0.cal <<_EOF_
82 + PI : 3.14159265358979323846 ;
83   scale : $scale ;
84   mult : $mult ;
85   ndivs : $ndivs ;
# Line 89 | Line 90 | neq(a,b) : if(a-b-EPS,1,b-a-EPS);
90   btwn(a,x,b) : if(a-x,-1,b-x);
91   clip(x) : if(x-1,1,if(x,x,0));
92   frac(x) : x - floor(x);
93 < boundary(a,b) : neq(floor(ndivs*a),floor(ndivs*b));
93 > boundary(a,b) : neq(floor(ndivs*a+.5),floor(ndivs*b+.5));
94  
95   isconta = if(btwn(0,v,1),or(boundary(vleft,vright),boundary(vabove,vbelow)),-1);
96   iscontb = if(btwn(0,v,1),btwn(.4,frac(ndivs*v),.6),-1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines