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.7 by greg, Tue Mar 19 17:31:35 1991 UTC vs.
Revision 1.12 by greg, Wed Apr 3 15:43:53 1991 UTC

# Line 18 | Line 18
18  
19   #define SEPS            2               /* 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 */
23 +
24 + #define TOOSMALL(s)     ((s)->brt*(s)->dom < threshold*SAMIN)
25 +
26   extern VIEW     ourview;                /* our view */
27   extern VIEW     pictview;               /* picture view */
28   extern VIEW     leftview, rightview;    /* leftmost and rightmost views */
# Line 43 | 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 62 | 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