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

Comparing ray/doc/man/man1/genBSDF.1 (file contents):
Revision 1.2 by greg, Sat Sep 4 15:19:28 2010 UTC vs.
Revision 1.18 by greg, Sun Apr 5 01:32:01 2015 UTC

# Line 9 | Line 9 | genBSDF - generate BSDF description from Radiance or M
9   ][
10   .B "\-n Nproc"
11   ][
12 + .B "\-r 'rcontrib opts...'"
13 + ][
14 + .B "\-W"
15 + ][
16 + .B "\-s 'x=string;y=string'"
17 + ][
18 + .B "\-t{3|4} Nlog2"
19 + ][
20 + .B "{+|-}C"
21 + ][
22 + .B "{+|-}forward"
23 + ][
24 + .B "{+|-}backward"
25 + ][
26   .B "{+|-}mgf"
27   ][
28 < .B "{+|-}geom
28 > .B "{+|-}geom unit"
29   ][
30   .B "\-dim Xmin Xmax Ymin Ymax Zmin Zmax"
31   ]
# Line 20 | Line 34 | genBSDF - generate BSDF description from Radiance or M
34   ]
35   .SH DESCRIPTION
36   .I GenBSDF
37 < computes a bidirectional transmittance distribution function from
37 > computes a bidirectional scattering distribution function from
38   a Radiance or MGF scene description given on the input.
39   The program assumes the input is in Radiance format unless the
40   .I \+mgf
# Line 28 | Line 42 | option is specified.
42   The output conforms to the LBNL Window 6 XML standard for BSDF data,
43   and will include an MGF representation of the input geometry if the
44   .I \+geom
45 < option is given.
46 < (This is currently the default, and may be switche off using
47 < .I \-geom.)\0
45 > option is given, followed by one of "meter," "foot," "inch,"
46 > "centimeter," or "millimeter," depending on the scene units.
47 > The default is to include the provided geometry,
48 > which is assumed to be in meters.
49 > Geometry output can be supressed with the
50 > .I \-geom
51 > option, which must also be followed by one of the above length units.
52   .PP
53 + Normally,
54 + .I genBSDF
55 + computes components needed by a backwards ray-tracing process,
56 + .I \+backward.
57 + If both forward and backward (front and back) distributions are needed, the
58 + .I \+forward
59 + option may be given.
60 + To turn off backward components, use the
61 + .I \-backward
62 + option.
63 + Computing both components takes about twice as long as one component, but
64 + is recommended when rays will be impinging from either side.
65 + .PP
66 + The
67 + .I \+C
68 + option specifies that the output XML should include color information,
69 + which is interpreted by the rendering programs.
70 + The default option
71 + .I \-C
72 + reduces all BSDF data to grayscale.
73 + .PP
74   The geometry must fit a rectangular profile, whose width is along the X-axis,
75   height is in the Y-axis, and depth is in the Z-axis.
76   The positive Z-axis points into the room, and the input geometry should
# Line 54 | Line 93 | The variance in the results may be reduced by increasi
93   samples per incident direction using the
94   .I \-c
95   option.
96 < This value defaults to 1000 samples distributed over the incoming plane
96 > This value defaults to 2000 samples distributed over the incoming plane
97   for each of the 145 Klems hemisphere directions.
98   .PP
99 < In some cases, the processing time may be reduced by the
99 > On multi-core machines, processing time may be reduced by the
100   .I \-n
101   option, which specifies the number of simultaneous
63 .I rtrace(1)
102   processes to run in
103 < .I rtcontrib(1).
103 > .I rcontrib(1).
104 > The
105 > .I \-r
106 > option may be used to specify a set of quoted arguments to be
107 > included on the
108 > .I rcontrib
109 > command line.
110 > .PP
111 > The
112 > .I \-W
113 > option is passed to
114 > .I wrapBSDF(1)
115 > to prepare the XML file for WINDOW6.
116 > Any
117 > .I \-s
118 > parameters are passed to the
119 > .I \-f
120 > option of
121 > .I wrapBSDF,
122 > controlling XML fields such as
123 > the Manufacturer (e.g., -s m=MF) and device Name (e.g, -s n=NM).
124 > .PP
125 > The
126 > .I \-t4
127 > mode computes a non-uniform BSDF represented as a rank 4 tensor tree,
128 > suitable for use in the Radiance rendering tools.
129 > The parameter given to this option is the log to the base 2 of the
130 > sampling resolution in each dimension, and must be an integer.
131 > The
132 > .I \-c
133 > setting should be adjusted so that an appropriate number of samples
134 > lands in each region.
135 > A
136 > .I \-t4
137 > parameter of 5 corresponds to 32x32 or 1024 output regions, so a
138 > .I \-c
139 > setting of 10240 would provide 10 samples per region on average.
140 > Increasing the resolution to 6 corresponds to 64x64 or 4096
141 > regions, so the
142 > .I \-c
143 > setting would need to be increased by a factor of 4 to provide
144 > the same accuracy in each region.
145 > .PP
146 > The
147 > .I \-t3
148 > mode is similar to
149 > .I \-t4
150 > but computes a rank 3 tensor tree rather than rank 4.
151 > This provides a much faster computation, but only works
152 > in special circumstances.
153 > Specifically, do NOT use this option if the system is not in fact isotropic.
154 > I.e., only use
155 > .I \-t3
156 > when you are certain that the system has a high degree of radial symmetry.
157 > Again, the parameter to this option sets the maximum resolution as
158 > a power of 2 in each dimension, but in this case there is one less
159 > dimension being sampled.
160   .SH EXAMPLE
161   To create a BSDF description including geometry from a set of venetian blinds:
162   .IP "" .2i
163   genblinds blind_white blind1 .07 3 1.5 30 40 | xform -rz -90 -rx 90 > blind1.rad
164   .br
165 < genBSDF blind_white.mat glazing.rad blind1.rad > blind1.xml
165 > genBSDF -r @rtc.opt blind_white.mat glazing.rad blind1.rad > blind1.xml
166 > .PP
167 > To create a non-uniform, anisotropic BSDF distribution with a maximum
168 > resolution of 128x128 from the same description:
169 > .IP "" .2i
170 > genBSDF -r @rtc.opt -t4 7 -c 160000 blind_white.mat glazing.rad blind1.rad > blind12.xml
171   .SH NOTES
172 < Currently,
173 < .I genBSDF
174 < computes only the forward visible transmitted component,
175 < though the XML specification provides for front and back
176 < transmission and reflection as well.
172 > The variable resolution (tensor tree) BSDF representation is not supported
173 > by all software and applicatons, and should be used with caution.
174 > It provides practical, high-resolution data for use in the
175 > Radiance rendering programs, but does not work in the matrix formulation
176 > of the daylight coefficient method for example.
177 > Also, third party tools generally expect or require a fixed number of sample
178 > directions using the Klems directions or similar.
179   .SH AUTHOR
180   Greg Ward
181   .SH "SEE ALSO"
182 < dctimestep(1), genklemsamp(1), genskyvec(1), mkillum(1), rtcontrib(1), rtrace(1)
182 > dctimestep(1), gendaymtx(1), genklemsamp(1), genskyvec(1), mkillum(1),
183 > pkgBSDF(1), rcontrib(1), rfluxmtx(1), rmtxop(1), rtrace(1) wrapBSDF(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines