| 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 |
| 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 processor/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 |
| 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. The flux is adjusted for |
| 82 |
+ |
the fraction of dumped photons to maintain the total flux contained in the |
| 83 |
+ |
dumped photon map. Note that no exposure is applied, and as such the |
| 84 |
+ |
resulting colours can span several orders of magnitude and may require tone |
| 85 |
+ |
mapping with \fIpcond(1)\fR for visualisation. This option is mutually |
| 86 |
+ |
exclusive with \fB-c\fR. |
| 87 |
+ |
|
| 88 |
|
.IP "\fB-n \fInum\fR" |
| 89 |
|
Specifies the number of spheres or points to dump for the next photon map. |
| 90 |
|
The dump is performed by random sampling with \fInum\fR as target count, |
| 122 |
|
.IP |
| 123 |
|
pmapdump -n 10k -f caustic.pm | oconv - scene.rad > scene_pm.oct |
| 124 |
|
.PP |
| 125 |
+ |
But Capt. B wants 'em bigger: |
| 126 |
+ |
.IP |
| 127 |
+ |
pmapdump -r 4.0 bonzo.pm > bonzo_bigballz.rad |
| 128 |
+ |
.PP |
| 129 |
|
RADIANCE scene dumps may also be viewed on their own by simply piping the |
| 130 |
|
output of \fIpmapdump\fR directly into \fIobjview(1)\fR (using the default |
| 131 |
|
number of spheres in this example): |
| 132 |
|
.IP |
| 133 |
|
pmapdump zombo.pm | objview |
| 134 |
|
.PP |
| 135 |
< |
Dump photons as a (really long) point list to an ASCII file for import in |
| 136 |
< |
a 3D point cloud viewer: |
| 135 |
> |
Instead of a RADIANCE scene, dump photons as a (really long) point list to |
| 136 |
> |
an ASCII file for import into a 3D point cloud processor/viewer: |
| 137 |
|
.IP |
| 138 |
< |
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 |
| 138 |
> |
pmapdump -a -f -n 1m lotsa.pm > lotsa_pointz.txt |
| 139 |
|
|
| 140 |
|
.SH AUTHOR |
| 141 |
|
Roland Schregle (roland.schregle@{hslu.ch,gmail.com}) |
| 142 |
|
|
| 143 |
|
.SH COPYRIGHT |
| 144 |
< |
(c) Fraunhofer Institute for Solar Energy Systems, Lucerne University of |
| 145 |
< |
Applied Sciences and Arts. |
| 144 |
> |
(c) Fraunhofer Institute for Solar Energy Systems, |
| 145 |
> |
.br |
| 146 |
> |
(c) Lucerne University of Applied Sciences and Arts, |
| 147 |
> |
.br |
| 148 |
> |
(c) Tokyo University of Science. |
| 149 |
|
|
| 150 |
< |
.SH ACKNOWLEDGEMENT |
| 151 |
< |
Development of the RADIANCE photon mapping extension was sponsored by the |
| 141 |
< |
German Research Foundation (DFG) and the Swiss National Science Foundation |
| 142 |
< |
(SNF). |
| 150 |
> |
.SH ACKNOWLEDGEMENTS |
| 151 |
> |
Development of the RADIANCE photon mapping extension was supported by: |
| 152 |
|
|
| 153 |
+ |
.RS |
| 154 |
+ |
\fIFraunhofer Institute for Solar Energy Systems\fR |
| 155 |
+ |
funded by |
| 156 |
+ |
the German Research Foundation (\fIDFG LU204/10-2\fR, "Fassadenintegrierte |
| 157 |
+ |
Regelsysteme (FARESYS)"), |
| 158 |
+ |
|
| 159 |
+ |
\fILucerne University of Applied Sciences and Arts\fR |
| 160 |
+ |
funded by |
| 161 |
+ |
the Swiss National Science Foundation (\fISNSF 147053\fR, "Daylight redirecting components"), |
| 162 |
+ |
|
| 163 |
+ |
\fITokyo University of Science\fR |
| 164 |
+ |
funded by the JSPS Grants-in-Aid for Scientific |
| 165 |
+ |
Research Programme (\fIKAKENHI JP19KK0115\fR, "Three-dimensional light flow"). |
| 166 |
+ |
.RE |
| 167 |
+ |
|
| 168 |
+ |
Many thanks also to the many individuals who tested the code and provided |
| 169 |
+ |
valuable feedback. Special greetz to Don Gregorio, PAB and Capt.\~B! |
| 170 |
+ |
|
| 171 |
|
.SH "SEE ALSO" |
| 172 |
|
mkpmap(1), objview(1), oconv(1), rpict(1), rvu(1), |
| 173 |
+ |
.br |
| 174 |
|
\fIThe RADIANCE Photon Map Manual\fR, |
| 175 |
< |
\fIBonzo Daylighting Tool [TM]\fR |
| 176 |
< |
|
| 175 |
> |
.br |
| 176 |
> |
\fIDevelopment and Integration of the RADIANCE Photon Map Extension: |
| 177 |
> |
Technical Report\fR, |
| 178 |
> |
.br |
| 179 |
> |
\fIThe RADIANCE Out-of-Core Photon Map: Technical Report\fR, |
| 180 |
> |
.br |
| 181 |
> |
\fIBonzo Daylighting Tool a.k.a. EvilDRC [TM]\fR |
| 182 |
|
|