74 |
|
|
75 |
|
int backvis = 1; /* back face visibility */ |
76 |
|
|
77 |
< |
int maxdepth = 8; /* maximum recursion depth */ |
77 |
> |
int maxdepth = -10; /* maximum recursion depth */ |
78 |
|
double minweight = 2e-3; /* minimum ray weight */ |
79 |
|
|
80 |
|
char *ambfile = NULL; /* ambient file name */ |
160 |
|
sprintf(errmsg, "cannot open input file \"%s\"", fname); |
161 |
|
error(SYSTEM, errmsg); |
162 |
|
} |
163 |
– |
#ifdef _WIN32 |
163 |
|
if (inform != 'a') |
164 |
|
SET_FILE_BINARY(fp); |
166 |
– |
#endif |
165 |
|
/* set up output */ |
166 |
|
setoutput(outvals); |
167 |
|
switch (outform) { |