81 |
|
|
82 |
|
int backvis = 1; /* back face visibility */ |
83 |
|
|
84 |
< |
int maxdepth = 6; /* maximum recursion depth */ |
85 |
< |
double minweight = 5e-3; /* minimum ray weight */ |
84 |
> |
int maxdepth = 7; /* maximum recursion depth */ |
85 |
> |
double minweight = 4e-3; /* minimum ray weight */ |
86 |
|
|
87 |
|
char *ambfile = NULL; /* ambient file name */ |
88 |
|
COLOR ambval = BLKCOLOR; /* ambient value */ |
89 |
|
int ambvwt = 0; /* initial weight for ambient value */ |
90 |
< |
double ambacc = 0.2; /* ambient accuracy */ |
91 |
< |
int ambres = 32; /* ambient resolution */ |
92 |
< |
int ambdiv = 128; /* ambient divisions */ |
93 |
< |
int ambssamp = 0; /* ambient super-samples */ |
90 |
> |
double ambacc = 0.15; /* ambient accuracy */ |
91 |
> |
int ambres = 64; /* ambient resolution */ |
92 |
> |
int ambdiv = 512; /* ambient divisions */ |
93 |
> |
int ambssamp = 128; /* ambient super-samples */ |
94 |
|
int ambounce = 0; /* ambient bounces */ |
95 |
|
char *amblist[128]; /* ambient include/exclude list */ |
96 |
|
int ambincl = -1; /* include == 1, exclude == 0 */ |
243 |
|
setview(&ourview); |
244 |
|
prvr = fbuf; /* mark for renaming */ |
245 |
|
} |
246 |
< |
if (pout != NULL & prvr != NULL) { |
246 |
> |
if ((pout != NULL) & (prvr != NULL)) { |
247 |
|
sprintf(fbuf, pout, seq); |
248 |
|
if (!strcmp(prvr, fbuf)) { /* rename */ |
249 |
|
strcpy(fbuf2, fbuf); |