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

Comparing ray/src/px/pcond.h (file contents):
Revision 3.12 by schorsch, Sun Mar 28 20:33:14 2004 UTC vs.
Revision 3.16 by greg, Sat Jun 7 05:09:46 2025 UTC

# Line 8 | Line 8
8   #include "standard.h"
9   #include "color.h"
10   #include "view.h"
11 + #include "paths.h"
12  
13   #ifdef __cplusplus
14   extern "C" {
# Line 29 | Line 30 | extern "C" {
30   #define MAXPREHIST      1024            /* maximum precomputed histogram */
31  
32   #define LMIN            1e-7            /* minimum visible world luminance */
33 < #define LMAX            1e5             /* maximum visible world luminance */
33 > #define LMAX            1e7             /* maximum visible world luminance */
34  
35   #define Bl(Lw)          log(Lw)         /* brightness function */
36   #define Bl1(Lw)         (1.0/(Lw))      /* first derivative of Bl(Lw) */
# Line 127 | Line 128 | extern void compveil(void);            /* compute veiling image
128   extern void adjveil(void);              /* adjust veil image */
129   #endif
130   extern void acuscan(COLOR *scln, int y);        /* get acuity-sampled scanline */
131 < extern void addveil(COLOR *sl, int y);          /* add veil to scanline */
132 < extern void initacuity(void);   /* initialize variable acuity sampling */
131 > extern void addveil(COLOR *sl, int y);  /* add veil to scanline */
132 > extern void initacuity(void);           /* initialize variable acuity sampling */
133   extern double hacuity(double La);       /* human acuity func. (cycles/deg.) */
134  
135   #ifdef __cplusplus

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines