| 1 | greg | 1.2 | .\" RCSid $Id: genBSDF.1,v 1.1 2010/09/04 15:17:43 greg Exp $ | 
| 2 | greg | 1.1 | .TH GENBSDF 1 9/3/2010 RADIANCE | 
| 3 |  |  | .SH NAME | 
| 4 |  |  | genBSDF - generate BSDF description from Radiance or MGF input | 
| 5 |  |  | .SH SYNOPSIS | 
| 6 |  |  | .B genBSDF | 
| 7 |  |  | [ | 
| 8 |  |  | .B "\-c Nsamp" | 
| 9 |  |  | ][ | 
| 10 |  |  | .B "\-n Nproc" | 
| 11 |  |  | ][ | 
| 12 |  |  | .B "{+|-}mgf" | 
| 13 |  |  | ][ | 
| 14 |  |  | .B "{+|-}geom | 
| 15 |  |  | ][ | 
| 16 |  |  | .B "\-dim Xmin Xmax Ymin Ymax Zmin Zmax" | 
| 17 |  |  | ] | 
| 18 |  |  | [ | 
| 19 |  |  | .B "geom .." | 
| 20 |  |  | ] | 
| 21 |  |  | .SH DESCRIPTION | 
| 22 |  |  | .I GenBSDF | 
| 23 |  |  | computes a bidirectional transmittance distribution function from | 
| 24 |  |  | a Radiance or MGF scene description given on the input. | 
| 25 |  |  | The program assumes the input is in Radiance format unless the | 
| 26 |  |  | .I \+mgf | 
| 27 |  |  | option is specified. | 
| 28 |  |  | The output conforms to the LBNL Window 6 XML standard for BSDF data, | 
| 29 |  |  | and will include an MGF representation of the input geometry if the | 
| 30 |  |  | .I \+geom | 
| 31 |  |  | option is given. | 
| 32 |  |  | (This is currently the default, and may be switche off using | 
| 33 |  |  | .I \-geom.)\0 | 
| 34 |  |  | .PP | 
| 35 |  |  | The geometry must fit a rectangular profile, whose width is along the X-axis, | 
| 36 |  |  | height is in the Y-axis, and depth is in the Z-axis. | 
| 37 |  |  | The positive Z-axis points into the room, and the input geometry should | 
| 38 |  |  | not extend into the room. | 
| 39 |  |  | (I.e., it should not contain any positive Z values, since the putative | 
| 40 |  |  | emitting surface is assumed to lie at Z=0.)\0 | 
| 41 |  |  | The entire window system should be modeled, including sills and | 
| 42 |  |  | edge geometry anticipated in the final installation, otherwise | 
| 43 |  |  | accuracy will be impaired. | 
| 44 |  |  | Similarly, materials in the description should be carefully measured. | 
| 45 |  |  | .PP | 
| 46 |  |  | Normally, the input geometry will be positioned according to its actual | 
| 47 |  |  | bounding box, but this may be overridden with the | 
| 48 |  |  | .I \-dim | 
| 49 |  |  | option. | 
| 50 |  |  | Use this in cases where the fenestration system is designed to fit a | 
| 51 |  |  | smaller (or larger) opening or is offset somehow. | 
| 52 |  |  | .PP | 
| 53 |  |  | The variance in the results may be reduced by increasing the number of | 
| 54 |  |  | samples per incident direction using the | 
| 55 |  |  | .I \-c | 
| 56 |  |  | option. | 
| 57 |  |  | This value defaults to 1000 samples distributed over the incoming plane | 
| 58 |  |  | for each of the 145 Klems hemisphere directions. | 
| 59 |  |  | .PP | 
| 60 |  |  | In some cases, the processing time may be reduced by the | 
| 61 |  |  | .I \-n | 
| 62 |  |  | option, which specifies the number of simultaneous | 
| 63 |  |  | .I rtrace(1) | 
| 64 |  |  | processes to run in | 
| 65 |  |  | .I rtcontrib(1). | 
| 66 |  |  | .SH EXAMPLE | 
| 67 |  |  | To create a BSDF description including geometry from a set of venetian blinds: | 
| 68 |  |  | .IP "" .2i | 
| 69 | greg | 1.2 | genblinds blind_white blind1 .07 3 1.5 30 40 | xform -rz -90 -rx 90 > blind1.rad | 
| 70 | greg | 1.1 | .br | 
| 71 | greg | 1.2 | genBSDF blind_white.mat glazing.rad blind1.rad > blind1.xml | 
| 72 | greg | 1.1 | .SH NOTES | 
| 73 |  |  | Currently, | 
| 74 |  |  | .I genBSDF | 
| 75 |  |  | computes only the forward visible transmitted component, | 
| 76 |  |  | though the XML specification provides for front and back | 
| 77 |  |  | transmission and reflection as well. | 
| 78 |  |  | .SH AUTHOR | 
| 79 |  |  | Greg Ward | 
| 80 |  |  | .SH "SEE ALSO" | 
| 81 |  |  | dctimestep(1), genklemsamp(1), genskyvec(1), mkillum(1), rtcontrib(1), rtrace(1) |