[Radiance-openstudio] genBSDF runtime

Jia Hu hujia06 at gmail.com
Sat Oct 13 10:55:50 PDT 2012


Hello:

I would like to generate a number of BSDF .xml files dynamically in command
line or code.  I prefer to use genBSDF because it is more flexible than
Window 6, which cannot run in command line (right?).  However, the
computation time of genBSDF seems rather long compared to Window 6.  I
believe the major reason is the algorithm is different.

The test file is given below.  The default parameter setting "-ab 5" is not
high.  Besides increasing -n option in genBSDF, is there any way to reduce
the runtime with an similar accuracy level as Window 6? or is there any
other tool that can simulate BSDF in command line?

The test file is:
####### file: glazingBase.rad ######
glazingRef_0.5 polygon glazing_1
0
0
12
2  0.0   3
0.0   0.0   3
0.0   0.0   0.0
2  0.0   0.0

########### file: basf.rad ###########
void glass glazingRef_0.5
0
0
3
0.545168692741 0.545168692741 0.545168692741

void plastic blindRef_0.2
0
0
5
0.2 0.2 0.2 0 0

! genblinds blindRef_0.2 blinds_0.2 0.02 2 3 200 0 | xform -rz -90 -rx 90
-t 0 0 -0.02
!xform -rx 90 glazingBase.rad
################ end ########

In Ubuntu, use "genBSDF bsdf.rad  > test.xml"

Thank you!

Jia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-openstudio/attachments/20121013/f904b7d9/attachment.html>


More information about the Radiance-openstudio mailing list