BSDF reader

Hi all,

i would like to write a BSDF/xml parser for Rhino/Grasshopper 3d modelling
software.

In order to correctly interpret the data contained in <ScatteringData>
element in the xml file, i would appreciate to know:

-The order of this data related to Klem´s patches. supposed that they are
measuremts for each input/output direction

- The units of this data. Lumens? Percentage?

thanks
aitor

Hi Aitor,

The number of the patches is from normal to tangent, looping over Thetas
and Azimuths... I think it is easier for you to see it instead of reading
it. You can go to http://www.radiance-online.org/download-install and
download the BSDF viewer, and put Show Patch Numbers.

About the units, I understand they are Incident Irradiance over Outgoing
Radiance, and the number there can be deduced as the percentage of
transmission of that transmitted by an "air" layer. In the case of Klems
(W6 standard) basis, the values for the air layer are, aproximately:

  *Patch Number* *1/cos(Θ).Ω* 1 41,9043 2-9 42,8764 10-25 45,6281 26-45
42,333 46-69 44,6724 70-93 44,6724 94-117 50,7996 118-133 45,6281
134-145 57,0215
The experts may have much more information about this.

Good Luck,

German

···

2013/4/22 leceta <[email protected]>

Hi all,

i would like to write a BSDF/xml parser for Rhino/Grasshopper 3d modelling
software.

In order to correctly interpret the data contained in <ScatteringData>
element in the xml file, i would appreciate to know:

-The order of this data related to Klem´s patches. supposed that they are
measuremts for each input/output direction

- The units of this data. Lumens? Percentage?

thanks
aitor

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

Hi Aitor,

This question probably belongs on the radiance-dev list, so I am cross-posting there and ask you to sign up (if you haven't already) and respond on that list. (Same goes for others -- thanks!)

The data order in the file is a matrix running from smallest to largest Klems patches, with the columns (inner loop data) corresponding to the input directions. This is verified by a tag in the "DataDefinition" section that says:

  <IncidentDataStructure>Columns</IncidentDataStructure>

If "Rows" appears there instead of Columns, then the outgoing directions are the inner loop, but this would be unusual and probably not supported by WINDOW.

The units of a BSDF are 1/steradians.

If you have the opportunity to link to C code, you may also use the existing BSDF parser library included in the Radiance source tree to do the data loading and interpretation.

Best,
-Greg

···

From: leceta <[email protected]>
Date: April 22, 2013 9:23:06 AM PDT

Hi all,

i would like to write a BSDF/xml parser for Rhino/Grasshopper 3d modelling software.

In order to correctly interpret the data contained in <ScatteringData> element in the xml file, i would appreciate to know:

-The order of this data related to Klem´s patches. supposed that they are measuremts for each input/output direction

- The units of this data. Lumens? Percentage?

thanks
aitor