11 |
|
|
12 |
|
#include "ray.h" |
13 |
|
#include "paths.h" |
14 |
+ |
#include "pmapopt.h" |
15 |
|
|
16 |
|
|
17 |
|
int |
209 |
|
} |
210 |
|
break; |
211 |
|
} |
212 |
< |
return(-1); /* unknown option */ |
212 |
> |
|
213 |
> |
/* PMAP: Parse photon mapping options */ |
214 |
> |
return(getPmapRenderOpt(ac, av)); |
215 |
> |
|
216 |
> |
/* return(-1); */ /* unknown option */ |
217 |
|
|
218 |
|
#undef check |
219 |
|
#undef bool |
258 |
|
printf("-lr %-9d\t\t\t# limit reflection%s\n", maxdepth, |
259 |
|
maxdepth<=0 ? " (Russian roulette)" : ""); |
260 |
|
printf("-lw %.2e\t\t\t# limit weight\n", minweight); |
261 |
+ |
|
262 |
+ |
/* PMAP: output photon map defaults */ |
263 |
+ |
printPmapDefaults(); |
264 |
|
} |