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

Comparing ray/src/common/tonemap.c (file contents):
Revision 3.31 by greg, Thu Jul 3 03:30:21 2008 UTC vs.
Revision 3.32 by greg, Thu Jul 3 03:35:10 2008 UTC

# Line 497 | Line 497 | double Ldmax
497          logLddyn = log(Lddyn);
498          Ldavg = sqrt(Ldmax*Ldmin);
499          i = HISTI(tms->hbrmin);
500 <        brt0 = MINBRT + HISTEP/2 + i*HISTEP;
500 >        brt0 = HISTV(i);
501          histlen = HISTI(tms->hbrmax) + 1 - i;
502                                          /* histogram total and mean */
503          histot = 0; sum = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines