I am new here, I have worked previously with HB, now I want to have a deeper understanding of Radiance. I would like to make a perforate screen, for know it would be just circular holes of different sizes. I would like to create a BSDF material and loaded later to HB as *xml file. I’ve read that genBSDF allow to create an *xml file from a *rad geometry that can be created with a CAD program, such as Rhino.
Please let me know if I am mistaken in this argument. If not, how do I make genBSDF work in windows 10 command prompt? In which folder do I need to save the *rad files? I have tried to follow this tutorial but I got errors constantly, such as the ones shown in the attached screenshot.
The picture you sent states that “OBJVIEW” is not available. That is a
totally different program! GENBSDF does not require OBJVIEW… what do you
get when you try to run GENBSDF without checking your geometry through
On the other hand, when I used GENBSDF in Windows I had to install a PERL
interpreter (I used THIS ONE http://strawberryperl.com/) because Windows
does not include one. After that, all went well!
Hope this helps,
After installing Pearl interpreter, I have tried to run the programs “objview”, “getbbox” and “genBSDF” trying to follow the tutorial, without success as can be seeing in the screenshot.
Thanks for your help,
you mixed up letters in the gen_BSDF command… you used gen_BDSF instead…
copying the text output into the mail would make it easier to follow up
than a screenshot, but anyway, lets try:
- It seams that objview is not installed, or that the installation
directory is not included in the PATH variable. How did you install
- Are you sure that blinds.rad is in the current directory?
- As 1. and probably not specific to genBSDF.
The file blinds.rad should be in the folder called “Student”. However, I’m wondering if it will work just fine if you include the filename extension (.pl) when using the Perl-based progams. So, for example type:
genBSDF.pl +f … blinds.rad > blinds.xml
On Windows 10 I get the exact same message as you when I exclude the filename extension.
You were right, the extension was missing. Although now it is not able to find the file blinds.rad
I have copy the file blinds.rad to student folder previously.
Thanks for your help.
Oh, that was assuming the current directory was C:\Users\Student as in the image in this post. Basically, you can copy blinds.rad to whatever folder you wish, but you should change directory (cd command) to whatever folder blinds.rad is placed in - unless you type the full path of blinds.rad. So, start by typing:
And then run your commands with objview.pl etc.
Thanks for the hints, it really worked out. Now it seems it generates the *xml file but reports and error, and the blinds.xml file seems to be empty 0kb.
Please see attached screenshot.
I am attempting the same as you have asked here. Were you able to finally use a rhino .obj file to use genBSDF to make a .xml file?
This is a very old thread and unlikely to be of use regarding newer versions of the code. Please do not respond here, instead refer back to the alternate thread on this topic.