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.6 by rschregle, Tue Jan 22 18:31:28 2019 UTC vs.
Revision 1.7 by rschregle, Tue Jan 22 19:50:09 2019 UTC

# Line 29 | Line 29 | This point list can be imported in a 3D point cloud pr
29   to interactively explore the photon map.
30   .PP
31   An arbitrary number of photon maps can be specified on the command line and
32 < the respective photon type is determined automagically.Per default, the
32 > the respective photon type is determined automagically. Per default, the
33   different photon types are visualised as colour coded spheres/points
34   according to the following default schema:
35   .IP
# Line 54 | Line 54 | quantitatively analyse colour bleeding effects, for ex
54   .SH OPTIONS
55   Options are effective for the photon map file immediately following on the
56   command line, and are reset to their defaults after completion of each dump.
57 < As such they may be set individually for each photon map.
57 > As such they must be set individually for each photon map.
58  
59   .IP "\fB-a\fR"
60   Boolean switch to output photons as a point list in ASCII (text) format
61   instead of a RADIANCE scene.
62   Each output line consists of 6 tab-separated floating point values: the
63   X, Y, Z coordinates of the photon's position, and the R, G, B colour
64 < channels of its flux. These values. notably the flux, may be expressed
65 < in scientific notation to accommodate their high dynamic range.
64 > channels of its flux. These values. notably the flux, are expressed in
65 > scientific notation if necessary to accommodate their high dynamic range.
66  
67 < .IP "\fB-f\fR"
68 < Boolean switch to colour each sphere/point according to the corresponding
69 < photon's RGB flux instead of a constant colour. Note that no exposure is
70 < applied, and as such the resulting colours can span several orders of
71 < magnitude and may require tone mapping with \fIpcond(1)\fR for
72 < visualisation. This option is mutually exclusive with \fB-c\fR.
67 > .IP
68 > As \fIpmapdump\fR groups its options per photon map, this option must be
69 > specified per photon map for consistent output. This prevents erroneously
70 > dumping RADIANCE scene descriptions along with point lists, which will
71 > fail to load in the 3D point cloud viewer.
72  
73   .IP "\fB-c\fR \fIrcol\fR \fIgcol\fR \fIbcol\fR"
74   Specifies a custom sphere/point colour for the next photon map. The colour
# Line 77 | Line 76 | is specified as an RGB triplet, with each component in
76   Without this option, the default colour for the corresponding photon type
77   is used. This option is mutually exclusive with \fB-f\fR.
78  
79 + .IP "\fB-f\fR"
80 + Boolean switch to colour each sphere/point according to the corresponding
81 + photon's RGB flux instead of a constant colour. Note that no exposure is
82 + applied, and as such the resulting colours can span several orders of
83 + magnitude and may require tone mapping with \fIpcond(1)\fR for
84 + visualisation. This option is mutually exclusive with \fB-c\fR.
85 +
86   .IP "\fB-n \fInum\fR"
87   Specifies the number of spheres or points to dump for the next photon map.  
88   The dump is performed by random sampling with \fInum\fR as target count,
# Line 114 | Line 120 | with 10000 spheres coloured according to the photons'
120   .IP
121   pmapdump -n 10k -f caustic.pm | oconv - scene.rad > scene_pm.oct
122   .PP
123 + But Capt. B wants 'em bigger:
124 + .IP
125 + pmapdump -r 4.0 bonzo.pm > bonzo_bigballz.rad
126 + .PP
127   RADIANCE scene dumps may also be viewed on their own by simply piping the
128   output of \fIpmapdump\fR directly into \fIobjview(1)\fR (using the default
129   number of spheres in this example):
130   .IP
131   pmapdump zombo.pm | objview
132   .PP
133 < Dump photons as a (really long) point list to an ASCII file for import in
134 < a 3D point cloud viewer:
133 > Instead of a RADIANCE scene, dump photons as a (really long) point list to
134 > an ASCII file for import into a 3D point cloud viewer:
135   .IP
136 < pmapdump -a -f -n 1m lotsa.pm > lotsa-pointz.txt
127 < .PP
128 < Capt. B wants 'em bigger:
129 < .IP
130 < pmapdump -r 4.0 bonzo.pm > bigbonzo-pm.rad
136 > pmapdump -a -f -n 1m lotsa.pm > lotsa_pointz.txt
137  
138   .SH AUTHOR
139   Roland Schregle (roland.schregle@{hslu.ch,gmail.com})

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines