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

Comparing ray/doc/man/man1/bsdf2ttree.1 (file contents):
Revision 1.1 by greg, Thu Apr 25 00:43:20 2013 UTC vs.
Revision 1.5 by greg, Fri Feb 20 18:26:08 2015 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 "\-g Nlog2"
11   ][
12 < .B "\-t pctcull
12 > .B "\-t pctcull"
13 > ][
14 > .B "\-l maxlobes"
15   ]
16   [
17   .B "bsdf.sir .."
# Line 18 | Line 22 | or
22   .B bsdf2ttree
23   .B "\-t{3|4}"
24   [
25 + .B "\-pC"
26 + ][
27   .B "\-g Nlog2"
28   ][
29 < .B "\-t pctcull
29 > .B "\-t pctcull"
30   ][
31   .B "{+|-}forward"
32   ][
33   .B "{+|-}backward"
34   ][
35 < .B "\-e expr
35 > .B "\-e expr"
36   ][
37 < .B "\-f file
37 > .B "\-f file"
38   ]
39   .B bsdf_func
40   .SH DESCRIPTION
# Line 40 | Line 46 | a functional description (in the second form).
46   A complete XML description is written to the standard output,
47   which is normally redirected to a file.
48   .PP
49 + The
50 + .I \-p
51 + option by itself turns off the progress bar, whose length may be set
52 + by an immediately following integer argument.
53 + (The default progress bar length is 79 characters.)\0
54 + .PP
55   The maximum resolution of the tensor tree may be controlled by the
56   .I \-g
57   option, which defaults to a value of 6.
# Line 64 | Line 76 | Each intermediate scattering file contains one of
76   the four components, and if the first component
77   is isotropic, all components must be isotropic.
78   A similar rule holds for anisotropic inputs.
79 + The
80 + .I \-l
81 + option may be used to specify the maximum number of lobes in any
82 + interpolated radial basis function.
83 + The default value is 15000, which generally keeps the interpolation tractable.
84 + Setting the value to 0 turns off this limit.
85   .PP
86   In the second invocation form,
87   .I bsdf2ttree
88   takes a functional specification of a BSDF.
89 < The named function must accept 6 parameters corresponding to the
89 > The named function should accept 6 parameters corresponding to the
90   normalized incident and exiting vectors, respectively.
91   By convention, these vectors point away from the surface, and a positive
92   Z-component corresponds to the front side.
93   The Y-component corresponds to the "up" orientation of the surface,
94   as specified in the eventual scene description that references the XML
95   output.
96 + If the function only takes 3 parameters, then the variables "Dx", "Dy",
97 + and "Dz" will be assigned to the reverse of the outgoing direction at
98 + each evaluation.
99 + (I.e., the vector will point into the surface and
100 + Dz will be negative on the front side.)\0
101 + This simplifies conversion of functional BSDF specifications using the
102 + legacy material primitives "plasfunc", "metfunc", and "transfunc".
103   .PP
104   The function is defined by one or more
105   .I \-e
# Line 118 | Line 143 | bsdf2ttree -g 5 -t3 -e 'phong(ix,iy,iz,ox,oy,oz) = if(
143   .SH AUTHOR
144   Greg Ward
145   .SH "SEE ALSO"
146 < bsdf2klems(1), icalc(1), genBSDF(1), pkgBSDF(1)
146 > bsdf2klems(1), icalc(1), genBSDF(1), pkgBSDF(1), rcontrib(1),
147 > rfluxmtx(1), wrapBSDF(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)