| 30 |
|
|
| 31 |
|
#include "otypes.h" |
| 32 |
|
|
| 33 |
+ |
int dimlist[MAXDIM]; /* sampling dimensions */ |
| 34 |
+ |
int ndims = 0; /* number of sampling dimensions */ |
| 35 |
+ |
int samplendx = 0; /* index for this sample */ |
| 36 |
+ |
|
| 37 |
|
int imm_irrad = 0; /* compute immediate irradiance? */ |
| 38 |
|
|
| 39 |
|
int inform = 'a'; /* input format */ |
| 46 |
|
double dstrsrc = 0.0; /* square source distribution */ |
| 47 |
|
double shadthresh = .05; /* shadow threshold */ |
| 48 |
|
double shadcert = .5; /* shadow certainty */ |
| 49 |
+ |
int directrelay = 0; /* number of source relays */ |
| 50 |
|
|
| 51 |
|
int maxdepth = 6; /* maximum recursion depth */ |
| 52 |
|
double minweight = 4e-3; /* minimum ray weight */ |
| 111 |
|
fflush(stdout); |
| 112 |
|
continue; |
| 113 |
|
} |
| 114 |
+ |
samplendx++; |
| 115 |
|
/* compute and print */ |
| 116 |
|
if (imm_irrad) |
| 117 |
|
irrad(orig, direc); |