Hi All,
I am looking to run some analysis that takes into account the effects of placing redirecting film on glazing.
I have received a BSDF xml file from the redirecting film manufacturer and I was wondering what the best way to incorporate this into my analysis would be? Currently I am only looking to run this at specific times and not annually.
Any pointers or examples that anyone has would be greatly appreciated.
Many thanks,
···
--
Jason Giddings
Designer | Lighting
Arup
13 Fitzroy Street London W1T 4BQ United Kingdom
d: +44 20 7755 4259
www.arup.com <http://www.arup.com/>
____________________________________________________________
Electronic mail messages entering and leaving Arup business
systems are scanned for viruses and acceptability of content
Hi Jason,
Does the BSDF include the effects of glazing? If so, you should be able to follow the template in <http://radsite.lbl.gov/radiance/refer/refman.pdf> to include the window in your scene easily enough:
BSDF
The BSDF material type loads an XML (eXtensible Markup Language) file describing a bidirectional scattering distribution function. Real arguments to this material may define additional diffuse components that augment the BSDF data. String arguments are used to define thickness for proxied surfaces and the "up" orientation for the material.
mod BSDF id
6+ thick BSDFfile ux uy uz funcfile transform
0
0|3|6|9
rfdif gfdif bfdif
rbdif gbdif bbdif
rtdif gtdif btdif
The first string argument is a "thickness" parameter that may be used to hide detail geometry being proxied by an aggregate BSDF material. If a view or shadow ray hits a BSDF proxy with non-zero thickness, it will pass directly through as if the surface were not there. Similar to the illum type, this permits direct viewing and shadow testing of complex geometry. The BSDF is used when a scattered (indirect) ray hits the surface, and any transmitted sample rays will be offset by the thickness amount to avoid the hidden geometry and gather samples from the other side. In this manner, BSDF surfaces can improve the results for indirect scattering from complex systems without sacrificing appearance or shadow accuracy. If the BSDF has transmission and back-side reflection data, a parallel BSDF surface may be placed slightly less than the given thickness away from the front surface to enclose the complex geometry on both sides. The sign of the thickness is important, as it indicates whether the proxied geometry is behind the BSDF surface (when thickness is positive) or in front (when thickness is negative).
The second string argument is the name of the BSDF file, which is found in the usual auxiliary locations. The following three string parameters name variables for an "up" vector, which together with the surface normal, define the local coordinate system that orients the BSDF. These variables, along with the thickness, are defined in a function file given as the next string argument. An optional transform is used to scale the thickness and reorient the up vector.
If no real arguments are given, the BSDF is used by itself to determine reflection and transmission. If there are at least 3 real arguments, the first triplet is an additional diffuse reflectance for the front side. At least 6 real arguments adds diffuse reflectance to the rear side of the surface. If there are 9 real arguments, the final triplet will be taken as an additional diffuse transmittance. All diffuse components as well as the non-diffuse transmission are modified by patterns applied to this material. The non-diffuse reflection from either side are unaffected. Textures perturb the effective surface normal in the usual way.
The surface normal of this type is not altered to face the incoming ray, so the front and back BSDF reflections may differ. (Transmission is identical front-to-back by physical law.) If back visibility is turned off during rendering and there is no transmission or back-side reflection, only then the surface will be invisible from behind. Unlike other data-driven material types, the BSDF type is fully supported and all parts of the distribution are properly sampled.
···
-------------------------------
Something like:
void BSDF myFilm
6 0 myFilm.xml 0 0 1 .
0
0
myFilm polygon etc...
--------------
The orientation of the film may or may not matter.
-Greg
From: Jason Giddings <[email protected]>
Date: December 8, 2017 9:51:46 AM PST
Hi All,
I am looking to run some analysis that takes into account the effects of placing redirecting film on glazing.
I have received a BSDF xml file from the redirecting film manufacturer and I was wondering what the best way to incorporate this into my analysis would be? Currently I am only looking to run this at specific times and not annually.
Any pointers or examples that anyone has would be greatly appreciated.
Many thanks,
--
Jason Giddings
Designer | Lighting
Arup
13 Fitzroy Street London W1T 4BQ United Kingdom
d: +44 20 7755 4259
www.arup.com