33 |
|
|
34 |
|
int do_irrad = 0; /* compute irradiance? */ |
35 |
|
|
36 |
+ |
int rand_samp = 0; /* pure Monte Carlo sampling? */ |
37 |
+ |
|
38 |
|
int psample = 8; /* pixel sample size */ |
39 |
|
double maxdiff = .15; /* max. sample difference */ |
40 |
|
|
217 |
|
else *++args = '\0'; |
218 |
|
|
219 |
|
switch (inpbuf[0]) { |
220 |
< |
case 'f': /* new frame (or free mem.) */ |
220 |
> |
case 'f': /* new frame (|focus|free) */ |
221 |
|
if (badcom("frame")) { |
222 |
< |
if (badcom("free")) |
223 |
< |
goto commerr; |
224 |
< |
free_objmem(); |
222 |
> |
if (badcom("focus")) { |
223 |
> |
if (badcom("free")) |
224 |
> |
goto commerr; |
225 |
> |
free_objmem(); |
226 |
> |
break; |
227 |
> |
} |
228 |
> |
getfocus(args); |
229 |
|
break; |
230 |
|
} |
231 |
|
getframe(args); |