ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/rpict.1
(Generate patch)

Comparing ray/doc/man/man1/rpict.1 (file contents):
Revision 1.12 by greg, Tue Mar 11 02:21:45 2008 UTC vs.
Revision 1.18 by greg, Tue Feb 24 19:39:26 2015 UTC

# Line 335 | Line 335 | This option may be desirable in conjunction with the
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
# Line 365 | Line 365 | accuracy and rendering time.
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.
376 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
# Line 406 | Line 405 | indirect contributions, such as when both indoor and o
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 > In photon mapping mode (see
412 > .I -ap
413 > below), a positive value implies that global photon irradiance is
414 > always computed via
415 > .I one
416 > ambient bounce. A negative value enables a preview mode that directly
417 > visualises the irradiance from the global photon map without any ambient
418 > bounces.
419   .TP
420   .BI -ar \ res
421   Set the ambient resolution to
# Line 517 | Line 524 | Same as
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 + 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.
567 + .TP
568   .BI -me " rext gext bext"
569   Set the global medium extinction coefficient to the indicated color,
570   in units of 1/distance (distance in world coordinates).
# Line 566 | Line 614 | option (above) may be used to override this.
614   .BR \-u
615   Boolean switch to control uncorrelated random sampling.
616   When "off", a low-discrepancy sequence is used, which reduces
617 < variance but can result in a brushed appearance in specular highlights.
617 > variance but can result in a dithered appearance in specular highlights.
618   When "on", pure Monte Carlo sampling is used in all calculations.
619   .TP
620   .BI -lr \ N
621   Limit reflections to a maximum of
622 < .I N.
622 > .I N,
623 > if N is a positive integer.
624   If
625   .I N
626   is zero, then Russian roulette is used for ray
# Line 579 | Line 628 | termination, and the
628   .I -lw
629   setting (below) must be positive.
630   If N is a negative integer, then this sets the upper limit
631 < of reflections past which Russian roulette will not be used.
631 > of reflections past which Russian roulette will be used.
632   In scenes with dielectrics and total internal reflection,
633   a setting of 0 (no limit) may cause a stack overflow.
634   .TP
# Line 796 | Line 845 | Boolean switch for warning messages.
845   The default is to print warnings, so the first appearance of
846   this option turns them off.
847   .SH EXAMPLE
848 < rpict \-vp 10 5 3 \-vd 1 \-.5 0 scene.oct > scene.pic
848 > rpict \-vp 10 5 3 \-vd 1 \-.5 0 scene.oct > scene.hdr
849   .PP
850 < rpict \-S 1 \-o frame%02d.pic scene.oct < keyframes.vf
850 > rpict \-S 1 \-o frame%02d.hdr scene.oct < keyframes.vf
851 > .PP
852 > To render ambient illuminance in photon mapping mode from a global photon
853 > map global.pm via one ambient bounce, and from a caustic photon map
854 > caustic.pm:
855 > .IP "" .2i
856 > rpict -ab 1 -ap global.pm 50 -ap caustic.pm 50 -vf scene.vf scene.oct >
857 > scene.hdr
858   .SH ENVIRONMENT
859   RAYPATH         the directories to check for auxiliary files.
860   .SH FILES
# Line 818 | Line 874 | option.
874   .SH AUTHOR
875   Greg Ward
876   .SH "SEE ALSO"
877 < getinfo(1), lookamb(1), oconv(1), pdfblur(1), pfilt(1), pinterp(1), pmblur(1),
878 < printf(3), ra_rgbe(1), rad(1), rtrace(1), rvu(1)
877 > getinfo(1), lookamb(1), mkpmap(1), oconv(1), pdfblur(1), pfilt(1),
878 > pinterp(1), pmblur(1), printf(3), ra_rgbe(1), rad(1), rtrace(1), rvu(1)
879 >

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines