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

Comparing ray/src/px/x11image.c (file contents):
Revision 2.25 by greg, Thu Apr 29 12:17:45 1993 UTC vs.
Revision 2.26 by greg, Wed May 5 10:27:58 1993 UTC

# Line 628 | Line 628 | XKeyPressedEvent  *ekey;
628                  if (avgbox(cval) == -1)
629                          return(-1);
630                  comp = com=='@'
631 <                ? 59.2/pow(1.219+pow(luminance(cval)/exposure,.4),2.5)/exposure
631 >                ? 106./pow(1.219+pow(luminance(cval)/exposure,.4),2.5)/exposure
632                  : .5/bright(cval) ;
633                  comp = log(comp)/.69315 - scale;
634                  n = comp < 0 ? comp-.5 : comp+.5 ;      /* round */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines