408 |
|
This is the maximum number of diffuse bounces computed by the indirect |
409 |
|
calculation. A value of zero implies no indirect calculation. |
410 |
|
.IP |
411 |
< |
In photon mapping mode (see |
411 |
> |
This value defaults to 1 in photon mapping mode (see |
412 |
|
.I -ap |
413 |
< |
below), a positive value implies that global photon irradiance is |
414 |
< |
always computed via |
413 |
> |
below), implying that global photon irradiance is always computed via |
414 |
|
.I one |
415 |
< |
ambient bounce. A negative value enables a preview mode that directly |
416 |
< |
visualises the irradiance from the global photon map without any ambient |
417 |
< |
bounces. |
415 |
> |
ambient bounce; this behaviour applies to any positive number of ambient |
416 |
> |
bounces, regardless of the actual value specified. A negative value enables |
417 |
> |
a preview mode that directly visualises the irradiance from the global |
418 |
> |
photon map without any ambient bounces. |
419 |
|
.TP |
420 |
|
.BI -ar \ res |
421 |
|
Set the ambient resolution to |
560 |
|
for debugging and validation of photon emission. |
561 |
|
.TP |
562 |
|
.BI -am " frac" |
563 |
< |
Coefficient for maximum search radius for photon map lookups. The search |
564 |
< |
radius is automatically determined based on the average photon distance to the |
565 |
< |
distribution's centre of gravity, and scaled by this coefficient. Increase this |
566 |
< |
value if multiple warnings about short photon lookups are issued. |
563 |
> |
Maximum search radius for photon map lookups. Without this option, an |
564 |
> |
initial maximum search radius is estimated for each photon map from the |
565 |
> |
average photon distance to the distribution's centre of gravity. It is then |
566 |
> |
adapted to the photon density in subsequent lookups. This option imposes a |
567 |
> |
global fixed maximum search radius for |
568 |
> |
.I all |
569 |
> |
photon maps, thus defeating the automatic adaptation. It is useful when |
570 |
> |
multiple warnings about short photon lookups are issued. Note that this |
571 |
> |
option does not conflict with the bandwidth specified with the |
572 |
> |
.I \-ap |
573 |
> |
option; the number of photons found will not exceed the latter, but may be |
574 |
> |
lower if the maximum search radius contains fewer photons, thus resulting in |
575 |
> |
short lookups. Setting this radius too large, on the other hand, may |
576 |
> |
degrade performance. |
577 |
> |
.TP |
578 |
> |
.BI -ac " pagesize" |
579 |
> |
Set the photon cache page size when using out-of-core photon mapping. The |
580 |
> |
photon cache reduces disk I/O incurred by on-demand loading (paging) of |
581 |
> |
photons, and thus increases performance. This |
582 |
> |
is expressed as a (float) multiple of the density estimate bandwidth |
583 |
> |
specified with |
584 |
> |
.I \-ap |
585 |
> |
under the assumption that photon lookups are local to a cache page. Cache |
586 |
> |
performance is sensitive to this parameter: larger pagesizes will reduce the |
587 |
> |
paging frequency at the expense of higher latency when paging does occur. |
588 |
> |
Sensible values are in the range 4 (default) to 16. |
589 |
> |
.TP |
590 |
> |
.BI -aC " cachesize" |
591 |
> |
Set the total number of photons cached when using out-of-core photon |
592 |
> |
mapping, taking into account the pagesize specified by |
593 |
> |
.I \-ac. |
594 |
> |
Note that this is approximate as the number of cache pages is rounded to |
595 |
> |
the nearest prime. This allows adapting the cache to the available physical |
596 |
> |
memory. In conjunction with the |
597 |
> |
.I \-n |
598 |
> |
option, this is the cache size |
599 |
> |
.I per parallel process. |
600 |
> |
Cache performance is less sensitive to this parameter, |
601 |
> |
and reasonable performance can obtained with as few as 10k photons. The |
602 |
> |
default is 1M. This option recognises multiplier suffixes (k = 1e3, M = |
603 |
> |
1e6), both in upper and lower case. |
604 |
|
.TP |
605 |
|
.BI -me " rext gext bext" |
606 |
|
Set the global medium extinction coefficient to the indicated color, |