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 |
+ |
int vspretest = 512; /* virtual source pretest density */ |
51 |
+ |
int directinvis = 0; /* sources invisible? */ |
52 |
|
|
53 |
|
int maxdepth = 6; /* maximum recursion depth */ |
54 |
|
double minweight = 4e-3; /* minimum ray weight */ |
113 |
|
fflush(stdout); |
114 |
|
continue; |
115 |
|
} |
116 |
+ |
samplendx++; |
117 |
|
/* compute and print */ |
118 |
|
if (imm_irrad) |
119 |
|
irrad(orig, direc); |