70 |
|
to the letter 'c'. |
71 |
|
This view is like a standard perspective vertically, but projected |
72 |
|
on a cylinder horizontally (like a soupcan's-eye view). |
73 |
< |
Two fisheye views are provided as well; 'h' yields a hemispherical fisheye |
74 |
< |
view and 'a' results in angular fisheye distortion. |
73 |
> |
Three fisheye views are provided as well; 'h' yields a hemispherical fisheye |
74 |
> |
view, 'a' results in angular fisheye distortion, and 's' |
75 |
> |
results in a planisphere (stereographic) projection. |
76 |
|
A hemispherical fisheye is a projection of the hemisphere onto a circle. |
77 |
|
The maximum view angle for this type is 180 degrees. |
78 |
|
An angular fisheye view is defined such that distance from the center of |
79 |
|
the image is proportional to the angle from the central view direction. |
80 |
|
An angular fisheye can display a full 360 degrees. |
81 |
+ |
A planisphere fisheye view maintains angular relationships between lines, |
82 |
+ |
and is commonly used for sun path analysis. |
83 |
+ |
This is more commonly known as a |
84 |
+ |
"stereographic projection," but we avoid the term here so as not to |
85 |
+ |
confuse it with a stereoscopic pair. |
86 |
+ |
A planisphere fisheye can display up to (but not including) 360 degrees, |
87 |
+ |
although distortion becomes extreme as this limit is approached. |
88 |
|
Note that there is no space between the view type |
89 |
|
option and its single letter argument. |
90 |
|
.TP |
160 |
|
rendering an image a piece at a time. |
161 |
|
A value of 1 means that the rendered image starts just to the right of |
162 |
|
the normal view. |
163 |
< |
A value of -1 would be to the left. |
163 |
> |
A value of \-1 would be to the left. |
164 |
|
Larger or fractional values are permitted as well. |
165 |
|
.TP |
166 |
|
.BI -vl \ val |
271 |
|
.I frac |
272 |
|
is too large. |
273 |
|
It is usually wise to turn off image sampling when using |
274 |
< |
direct jitter by setting -ps to 1. |
274 |
> |
direct jitter by setting \-ps to 1. |
275 |
|
.TP |
276 |
|
.BI -ds \ frac |
277 |
|
Set the direct sampling ratio to |
335 |
|
.I \-i |
336 |
|
option so that light sources do not appear in the output. |
337 |
|
.TP |
338 |
< |
.BI -sj \ frac |
339 |
< |
Set the specular sampling jitter to |
340 |
< |
.I frac. |
341 |
< |
This is the degree to which the highlights are sampled |
342 |
< |
for rough specular materials. |
343 |
< |
A value of one means that all highlights will be fully sampled |
344 |
< |
using distributed ray tracing. |
338 |
> |
.BI -ss \ samp |
339 |
> |
Set the specular sampling to |
340 |
> |
.I samp. |
341 |
> |
For values less than 1, this is the degree to which the highlights |
342 |
> |
are sampled for rough specular materials. |
343 |
> |
A value greater than one causes multiple ray samples to be sent |
344 |
> |
to reduce noise at a commmesurate cost. |
345 |
|
A value of zero means that no jittering will take place, and all |
346 |
|
reflections will appear sharp even when they should be diffuse. |
347 |
|
This may be desirable when used in combination with image sampling |
365 |
|
.TP |
366 |
|
.BR -bv |
367 |
|
Boolean switch for back face visibility. |
368 |
< |
With this switch off, back faces of opaque objects will be invisible |
369 |
< |
to all rays. |
368 |
> |
With this switch off, back faces of all objects will be invisible |
369 |
> |
to view rays. |
370 |
|
This is dangerous unless the model was constructed such that |
371 |
< |
all surface normals on opaque objects face outward. |
371 |
> |
all surface normals face outward. |
372 |
|
Although turning off back face visibility does not save much |
373 |
|
computation time under most circumstances, it may be useful as a |
374 |
|
tool for scene debugging, or for seeing through one-sided walls from |
375 |
|
the outside. |
368 |
– |
This option has no effect on transparent or translucent materials. |
376 |
|
.TP |
377 |
|
.BI -av " red grn blu" |
378 |
|
Set the ambient value to a radiance of |
405 |
|
.BI -ab \ N |
406 |
|
Set the number of ambient bounces to |
407 |
|
.I N. |
408 |
< |
This is the maximum number of diffuse bounces |
409 |
< |
computed by the indirect calculation. |
410 |
< |
A value of zero implies no indirect calculation. |
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 |
> |
This value defaults to 1 in photon mapping mode (see |
412 |
> |
.I -ap |
413 |
> |
below), implying that global photon irradiance is always computed via |
414 |
> |
.I one |
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 |
524 |
|
except read modifiers to be included from |
525 |
|
.I file. |
526 |
|
.TP |
527 |
+ |
.BI -ap " file [bwidth1 [bwidth2]]" |
528 |
+ |
Enable photon mapping mode. Loads a photon map generated with |
529 |
+ |
.I mkpmap(1) |
530 |
+ |
from |
531 |
+ |
.I file, |
532 |
+ |
and evaluates the indirect irradiance depending on the photon type |
533 |
+ |
(automagically detected) using density estimates with a bandwidth of |
534 |
+ |
.I bwidth1 |
535 |
+ |
photons, or the default bandwidth if none is specified (a warning will be |
536 |
+ |
issued in this case). |
537 |
+ |
.IP |
538 |
+ |
Global photon irradiance is evaluated as part of the ambient calculation (see |
539 |
+ |
.I \-ab |
540 |
+ |
above), caustic photon irradiance is evaluated at primary rays, and |
541 |
+ |
indirect inscattering in |
542 |
+ |
.I mist |
543 |
+ |
is accounted for by volume photons. |
544 |
+ |
.IP |
545 |
+ |
Additionally specifying |
546 |
+ |
.I bwidth2 |
547 |
+ |
enables bias compensation for the density estimates with a |
548 |
+ |
minimum and maximum bandwidth of |
549 |
+ |
.I bwidth1 |
550 |
+ |
and |
551 |
+ |
.I bwidth2, |
552 |
+ |
respectively. |
553 |
+ |
.IP |
554 |
+ |
Global photon irradiance may be optionally precomputed by |
555 |
+ |
.I mkpmap(1), |
556 |
+ |
in which case the bandwidth, if specified, is ignored, as the nearest photon |
557 |
+ |
is invariably looked up. |
558 |
+ |
.IP |
559 |
+ |
Using direct photons replaces the direct calculation with density estimates |
560 |
+ |
for debugging and validation of photon emission. |
561 |
+ |
.TP |
562 |
+ |
.BI -am " frac" |
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, |
607 |
|
in units of 1/distance (distance in world coordinates). |
651 |
|
.BR \-u |
652 |
|
Boolean switch to control uncorrelated random sampling. |
653 |
|
When "off", a low-discrepancy sequence is used, which reduces |
654 |
< |
variance but can result in a brushed appearance in specular highlights. |
654 |
> |
variance but can result in a dithered appearance in specular highlights. |
655 |
|
When "on", pure Monte Carlo sampling is used in all calculations. |
656 |
|
.TP |
657 |
|
.BI -lr \ N |
658 |
|
Limit reflections to a maximum of |
659 |
< |
.I N. |
659 |
> |
.I N, |
660 |
> |
if N is a positive integer. |
661 |
|
If |
662 |
|
.I N |
663 |
|
is zero, then Russian roulette is used for ray |
665 |
|
.I -lw |
666 |
|
setting (below) must be positive. |
667 |
|
If N is a negative integer, then this sets the upper limit |
668 |
< |
of reflections past which Russian roulette will not be used. |
668 |
> |
of reflections past which Russian roulette will be used. |
669 |
|
In scenes with dielectrics and total internal reflection, |
670 |
|
a setting of 0 (no limit) may cause a stack overflow. |
671 |
|
.TP |
868 |
|
A progress report writes the number of rays traced, the percentage |
869 |
|
completed, and the CPU usage to the standard error. |
870 |
|
Reports are given either automatically after the specified interval, |
871 |
< |
or when the process receives a continue (-CONT) signal (see |
871 |
> |
or when the process receives a continue (\-CONT) signal (see |
872 |
|
.I kill(1)). |
873 |
|
A value of zero turns automatic reporting off. |
874 |
|
.TP |
882 |
|
The default is to print warnings, so the first appearance of |
883 |
|
this option turns them off. |
884 |
|
.SH EXAMPLE |
885 |
< |
rpict -vp 10 5 3 -vd 1 -.5 0 scene.oct > scene.pic |
885 |
> |
rpict \-vp 10 5 3 \-vd 1 \-.5 0 scene.oct > scene.hdr |
886 |
|
.PP |
887 |
< |
rpict -S 1 -o frame%02d.pic scene.oct < keyframes.vf |
887 |
> |
rpict \-S 1 \-o frame%02d.hdr scene.oct < keyframes.vf |
888 |
> |
.PP |
889 |
> |
To render ambient illuminance in photon mapping mode from a global photon |
890 |
> |
map global.pm via one ambient bounce, and from a caustic photon map |
891 |
> |
caustic.pm: |
892 |
> |
.IP "" .2i |
893 |
> |
rpict -ab 1 -ap global.pm 50 -ap caustic.pm 50 -vf scene.vf scene.oct > |
894 |
> |
scene.hdr |
895 |
|
.SH ENVIRONMENT |
896 |
|
RAYPATH the directories to check for auxiliary files. |
897 |
|
.SH FILES |
911 |
|
.SH AUTHOR |
912 |
|
Greg Ward |
913 |
|
.SH "SEE ALSO" |
914 |
< |
getinfo(1), lookamb(1), oconv(1), pdfblur(1), pfilt(1), pinterp(1), pmblur(1), |
915 |
< |
printf(3), ra_rgbe(1), rad(1), rtrace(1), rvu(1) |
914 |
> |
getinfo(1), lookamb(1), mkpmap(1), oconv(1), pdfblur(1), pfilt(1), |
915 |
> |
pinterp(1), pmblur(1), printf(3), ra_rgbe(1), rad(1), rtrace(1), rvu(1) |