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

Comparing ray/doc/man/man1/bsdf2ttree.1 (file contents):
Revision 1.3 by greg, Thu Sep 26 17:05:00 2013 UTC vs.
Revision 1.13 by greg, Wed May 21 20:42:48 2025 UTC

# Line 5 | Line 5 | bsdf2ttree - generate XML tensor tree description of a
5   .SH SYNOPSIS
6   .B bsdf2ttree
7   [
8 + .B "\-pC"
9 + ][
10 + .B "{+|-}a"
11 + ][
12   .B "\-g Nlog2"
13   ][
14   .B "\-t pctcull"
15   ][
16 + .B "\-n nss"
17 + ][
18 + .B "\-s thresh"
19 + ][
20   .B "\-l maxlobes"
21 < ]
14 < [
21 > ][
22   .B "bsdf.sir .."
23   ]
24   .br
# Line 20 | Line 27 | or
27   .B bsdf2ttree
28   .B "\-t{3|4}"
29   [
30 + .B "\-pC"
31 + ][
32 + .B "{+|-}a"
33 + ][
34   .B "\-g Nlog2"
35   ][
36   .B "\-t pctcull"
37   ][
38 + .B "\-n nss"
39 + ][
40 + .B "\-s thresh"
41 + ][
42   .B "{+|-}forward"
43   ][
44   .B "{+|-}backward"
# Line 42 | Line 57 | a functional description (in the second form).
57   A complete XML description is written to the standard output,
58   which is normally redirected to a file.
59   .PP
60 + The
61 + .I \-p
62 + option by itself turns off the progress bar, whose length may be set
63 + by an immediately following integer argument.
64 + (The default progress bar length is 79 characters.)\0
65 + .PP
66 + The
67 + .I \+a
68 + option turns on reciprocity averaging for isotropic scattering or anisotropic reflection.
69 + Normally off (-a), this enforces each tensor-tree hemisphere to follow symmetry
70 + implied by Helmholtz reciprocity, and is designed to reduce noise in measured data.
71 + However, for some data, reciprocity averaging can make the output worse.
72 + .PP
73   The maximum resolution of the tensor tree may be controlled by the
74   .I \-g
75   option, which defaults to a value of 6.
# Line 57 | Line 85 | option, which defaults to 90.
85   Setting this parameter to -1 turns culling off entirely, which may be
86   useful for comparisons.
87   .PP
88 + The
89 + .I \-n
90 + option controls the number of super-samples to send in patches whose
91 + difference to its neighbors exceeds some threshold.
92 + The default number of super-samples is 64.
93 + The difference threshold for super-sampling is controlled by the
94 + .I \-s
95 + option, and defaults to 0.35.
96 + .PP
97   The first invocation form takes a intermediate scattering representation
98   as produced by
99   .I pabopto2bsdf(1)
# Line 72 | Line 109 | option may be used to specify the maximum number of lo
109   interpolated radial basis function.
110   The default value is 15000, which generally keeps the interpolation tractable.
111   Setting the value to 0 turns off this limit.
112 + Parameter options may be altered between input files, in case a different
113 + resolution or culling percentage is indicated for transmission versus
114 + reflection for example.
115   .PP
116   In the second invocation form,
117   .I bsdf2ttree
# Line 98 | Line 138 | and
138   options, and should obey both Helmholtz reciprocity and
139   integrate to less than 1 over each projected incident hemisphere
140   for energy conservation.
141 + The variable and function definitions in each
142 + .I \-f source
143 + file are read and compiled from the RADIANCE library where it is found.
144   If the
145   .I \-t3
146   option is specified, the defined function is assumed to be isotropic.
# Line 122 | Line 165 | Computing both incident hemispheres takes about twice
165   is recommended when rays will be impinging from either side.
166   .SH EXAMPLE
167   To take two components of an intermediate BSDF representation and create
168 < a high-resolution tensor tree with 85% culling:
168 > a high-resolution tensor tree with 85% culling on transmission and 95%
169 > culling on reflection:
170   .IP "" .2i
171 < bsdf2ttree -g 7 -t 85 transmitted.sir reflected.sir > combined.xml
171 > bsdf2ttree -g 7 -t 85 transmitted.sir -t 95 reflected.sir > combined.xml
172   .PP
173   To create a low-res BSDF corresponding to a one-sided,
174   isotropic Phong distribution:
175   .IP "" .2i
176   bsdf2ttree -g 5 -t3 -e 'phong(ix,iy,iz,ox,oy,oz) = if(iz, .1+((iz+oz)/sqrt((ix+ox)^2+(iy+oy)^2+(iz+oz)^2))^50, 0)' phong > phong.xml
177 + .SH ENVIRONMENT
178 + RAYPATH         the directories to check for auxiliary files.
179   .SH AUTHOR
180   Greg Ward
181   .SH "SEE ALSO"
182 < bsdf2klems(1), icalc(1), genBSDF(1), pkgBSDF(1)
182 > bsdf2klems(1), icalc(1), genBSDF(1), pabopto2bsdf(1), pabopto2xyz(1),
183 > pkgBSDF(1), rcontrib(1), rfluxmtx(1), wrapBSDF(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines