ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/genBSDF.pl
(Generate patch)

Comparing ray/src/util/genBSDF.pl (file contents):
Revision 2.78 by greg, Mon Jun 19 03:45:57 2017 UTC vs.
Revision 2.79 by greg, Tue Apr 17 18:11:17 2018 UTC

# Line 189 | Line 189 | $wrapper .= " -g $mgfscn" if ( $geout );
189   my $CIEuv =     'Xi=.5141*Ri+.3239*Gi+.1620*Bi;' .
190                  'Yi=.2651*Ri+.6701*Gi+.0648*Bi;' .
191                  'Zi=.0241*Ri+.1229*Gi+.8530*Bi;' .
192 <                'den=Xi+15*Yi+3*Zi;' .
192 >                'den=Xi+15*Yi+3*Zi+1e-9;' .
193                  'uprime=4*Xi/den;vprime=9*Yi/den;' ;
194   my $FEPS = 1e-5;
195   my $ns = 2**$ttlog2;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines