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

Comparing ray/doc/man/man1/pmapdump.1 (file contents):
Revision 1.1 by greg, Tue Feb 24 19:39:26 2015 UTC vs.
Revision 1.2 by rschregle, Wed Nov 21 19:31:40 2018 UTC

# Line 5 | Line 5
5   pmapdump - generate RADIANCE scene description of photon map distribution
6  
7   .SH SYNOPSIS
8 < pmapdump [\fB-n\fR \fInspheres1\fR] [\fB-r\fR \fIradscale1\fR] \fIpmap1\fR
9 < [\fB-n\fR \fInspheres2\fR] [\fB-r\fR \fIradscale2\fR] \fIpmap2\fR ...
8 > pmapdump [\fB-n\fR \fInspheres1\fR] [\fB-r\fR \fIradscale1\fR]
9 > [\fB-c\fR \fIrcol1\fR \fIgcol1\fR \fIbcol1\fR] \fIpmap1\fR
10 > [\fB-n\fR \fInspheres2\fR] [\fB-r\fR \fIradscale2\fR]
11 > [\fB-c\fR \fIrcol2\fR \fIgcol2\fR \fIbcol2\fR] \fIpmap2\fR ...
12  
13   .SH DESCRIPTION
14   \fIpmapdump\fR takes one or more photon map files generated with
# Line 16 | Line 18 | e.g. \fIobjview(1)\fR, \fIrpict(1)\fR, or \fIrvu(1)\fR
18   location and local density of photons in relation to the scene geometry.
19   .PP
20   An arbitrary number of photon maps can be specified on the command line and
21 < the respective photon type is determined automagically.  The different
21 > the respective photon type is determined automagically. The different
22   photon types are visualised as colour coded spheres according to the
23 < following schema:
23 > following default schema:
24   .IP
25   \fIBlue\fR: global photons
26   .br
# Line 31 | Line 33 | following schema:
33   \fIMagenta\fR: direct photons
34   .br
35   \fIYellow\fR: contribution photons
36 + .PP
37 + These colours can be overridden for individual photon maps with the \fB-c\fR
38 + option (see below).
39  
40   .SH OPTIONS
41   Options are effective for the photon map file immediately following on the
# Line 53 | Line 58 | In cases where the distribution is substantially nonun
58   localised caustics) the radius can be manually corrected with this option.
59   The default value is 1.0.
60  
61 + .IP "\fB-c\fR \fIrcol\fR \fIgcol\fR \fIbcol\fR"
62 + Specifies a custom sphere colour for the next photon map. The colours is
63 + specified as an RGB triplet, with each component in the range (0..1].
64 + Without this option, the default colour for the corresponding photon type
65 + is used.
66 +
67   .SH NOTES
68   The output may contain many overlapping spheres in areas with high photon
69   density, particularly in caustics.  This results in inefficient and slow
# Line 61 | Line 72 | reducing \fInspheres\fR and/or \fIradscale\fR.
72  
73   .SH EXAMPLES
74   To visualise the distribution of global and caustic photons superimposed
75 < on the scene geometry with 5000 and 10000 spheres, respectively:
75 > on the scene geometry with 5000 pale red and 10000 pale blue spheres,
76 > respectively:
77   .IP
78 < pmapdump -n 5k global.pm -n 10k caustic.pm |
78 > pmapdump -n 5k -c 1 0.4 0.4 global.pm -n 10k -c 0.4 0.4 1 caustic.pm |
79   oconv - scene.rad > scene_pmdump.oct
80   .PP
81   Alternatively, the dump may be viewed on its own by piping the output of

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines