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.4 by greg, Wed Mar 12 21:15:31 2014 UTC vs.
Revision 1.9 by greg, Fri Nov 13 19:21:11 2020 UTC

# Line 7 | Line 7 | bsdf2ttree - generate XML tensor tree description of a
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 < ]
16 < [
21 > ][
22   .B "bsdf.sir .."
23   ]
24   .br
# Line 24 | Line 29 | or
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 52 | Line 63 | option by itself turns off the progress bar, whose len
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 off reciprocity averaging for isotropic scattering or anisotropic reflection.
69 + Normally on (+a), this ensures that the tensor BRDF obeys Helmholtz reciprocity.
70 + However, in certain rare cases, reciprocity averaging can cause unwanted noise in the output.
71 + .PP
72   The maximum resolution of the tensor tree may be controlled by the
73   .I \-g
74   option, which defaults to a value of 6.
# Line 67 | Line 84 | option, which defaults to 90.
84   Setting this parameter to -1 turns culling off entirely, which may be
85   useful for comparisons.
86   .PP
87 + The
88 + .I \-n
89 + option controls the number of super-samples to send in patches whose
90 + difference to its neighbors exceeds some threshold.
91 + The default number of super-samples is 256.
92 + The difference threshold for super-sampling is controlled by the
93 + .I \-s
94 + option, and defaults to 0.35.
95 + .PP
96   The first invocation form takes a intermediate scattering representation
97   as produced by
98   .I pabopto2bsdf(1)
# Line 82 | Line 108 | option may be used to specify the maximum number of lo
108   interpolated radial basis function.
109   The default value is 15000, which generally keeps the interpolation tractable.
110   Setting the value to 0 turns off this limit.
111 + Parameter options may be altered between input files, in case a different
112 + resolution or culling percentage is indicated for transmission versus
113 + reflection for example.
114   .PP
115   In the second invocation form,
116   .I bsdf2ttree
# Line 108 | Line 137 | and
137   options, and should obey both Helmholtz reciprocity and
138   integrate to less than 1 over each projected incident hemisphere
139   for energy conservation.
140 + The variable and function definitions in each
141 + .I \-f source
142 + file are read and compiled from the RADIANCE library where it is found.
143   If the
144   .I \-t3
145   option is specified, the defined function is assumed to be isotropic.
# Line 132 | Line 164 | Computing both incident hemispheres takes about twice
164   is recommended when rays will be impinging from either side.
165   .SH EXAMPLE
166   To take two components of an intermediate BSDF representation and create
167 < a high-resolution tensor tree with 85% culling:
167 > a high-resolution tensor tree with 85% culling on transmission and 95%
168 > culling on reflection:
169   .IP "" .2i
170 < bsdf2ttree -g 7 -t 85 transmitted.sir reflected.sir > combined.xml
170 > bsdf2ttree -g 7 -t 85 transmitted.sir -t 95 reflected.sir > combined.xml
171   .PP
172   To create a low-res BSDF corresponding to a one-sided,
173   isotropic Phong distribution:
174   .IP "" .2i
175   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
176 + .SH ENVIRONMENT
177 + RAYPATH         the directories to check for auxiliary files.
178   .SH AUTHOR
179   Greg Ward
180   .SH "SEE ALSO"
181 < bsdf2klems(1), icalc(1), genBSDF(1), pkgBSDF(1)
181 > bsdf2klems(1), icalc(1), genBSDF(1), pkgBSDF(1), rcontrib(1),
182 > rfluxmtx(1), wrapBSDF(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines