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

Comparing ray/src/util/glare.h (file contents):
Revision 1.8 by greg, Wed Mar 20 11:56:42 1991 UTC vs.
Revision 1.13 by greg, Wed Apr 10 15:59:04 1991 UTC

# Line 16 | Line 16
16   #define SAMPDENS        50              /* default samples per unit in image */
17   #define TSAMPSTEP       10              /* sample step to compute threshold */
18  
19 < #define SEPS            2               /* sources this close ==> contig. */
19 > #define SEPS            1               /* sources this close ==> contig. */
20  
21   #define SAMIN           .005            /* minimum solid angle for source */
22   #define MAXBUDDY        (4.*sqrt(SAMIN/PI))     /* max separation for pairing */
# Line 48 | Line 48 | extern struct illum {
48          float   lcos, lsin;     /* cosine and sine to left view */
49          float   rcos, rsin;     /* cosine and sine to right view */
50          double  sum;            /* sum of indirect luminances */
51 <        int     n;              /* number of values in sum */
51 >        double  n;              /* number of values in sum */
52   } *indirect;            /* array of indirect illuminances */
53  
54   struct srcspan {
# Line 67 | Line 67 | extern struct source {
67   } *donelist;                    /* finished sources */
68  
69   extern double   getviewpix();
70 +
71 + extern long     npixinvw;       /* number of samples in view */
72 + extern long     npixmiss;       /* number of samples missing */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines