--- ray/src/util/glare.h 1991/03/19 17:31:35 1.7 +++ ray/src/util/glare.h 1991/03/20 13:47:38 1.9 @@ -6,6 +6,8 @@ * Common data structures for glare source finding routines */ +#define DEBUG 1 + #include "standard.h" #include "view.h" #include "color.h" @@ -17,6 +19,11 @@ #define TSAMPSTEP 10 /* sample step to compute threshold */ #define SEPS 2 /* sources this close ==> contig. */ + +#define SAMIN .005 /* minimum solid angle for source */ +#define MAXBUDDY (4.*sqrt(SAMIN/PI)) /* max separation for pairing */ + +#define TOOSMALL(s) ((s)->brt*(s)->dom < threshold*SAMIN) extern VIEW ourview; /* our view */ extern VIEW pictview; /* picture view */