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.8 by greg, Mon May 18 20:08:57 2020 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   ]
22   [
# Line 20 | Line 28 | or
28   .B bsdf2ttree
29   .B "\-t{3|4}"
30   [
31 + .B "\-pC"
32 + ][
33 + .B "{+|-}a"
34 + ][
35   .B "\-g Nlog2"
36   ][
37   .B "\-t pctcull"
38   ][
39 + .B "\-n nss"
40 + ][
41 + .B "\-s thresh"
42 + ][
43   .B "{+|-}forward"
44   ][
45   .B "{+|-}backward"
# Line 42 | Line 58 | a functional description (in the second form).
58   A complete XML description is written to the standard output,
59   which is normally redirected to a file.
60   .PP
61 + The
62 + .I \-p
63 + option by itself turns off the progress bar, whose length may be set
64 + by an immediately following integer argument.
65 + (The default progress bar length is 79 characters.)\0
66 + .PP
67 + The
68 + .I \-a
69 + option turns off reciprocity averaging for isotropic scattering or anisotropic reflection.
70 + Normally on (+a), this ensures that the tensor BRDF obeys Helmholtz reciprocity.
71 + However, in certain rare cases, reciprocity averaging can cause unwanted noise in the output.
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 256.
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 98 | Line 135 | and
135   options, and should obey both Helmholtz reciprocity and
136   integrate to less than 1 over each projected incident hemisphere
137   for energy conservation.
138 + The variable and function definitions in each
139 + .I \-f source
140 + file are read and compiled from the RADIANCE library where it is found.
141   If the
142   .I \-t3
143   option is specified, the defined function is assumed to be isotropic.
# Line 130 | Line 170 | To create a low-res BSDF corresponding to a one-sided,
170   isotropic Phong distribution:
171   .IP "" .2i
172   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
173 + .SH ENVIRONMENT
174 + RAYPATH         the directories to check for auxiliary files.
175   .SH AUTHOR
176   Greg Ward
177   .SH "SEE ALSO"
178 < bsdf2klems(1), icalc(1), genBSDF(1), pkgBSDF(1)
178 > bsdf2klems(1), icalc(1), genBSDF(1), pkgBSDF(1), rcontrib(1),
179 > rfluxmtx(1), wrapBSDF(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines