BSDF material - type missing (OCONV)


#1

Dear all,

I am trying to you a BSDF material in a regular rtrace simulation. When I try to use oconv I get the following error:

oconv: fatal - (…/Radiance/objects/windowsRtraceBSDF.rad): unknown type “BSDF”

I am using Radiance version 5.0.a.12 (installed from NREL installer) and my rtrace is version 4.1a.

this is how I defined the window:

void BSDF windowglassBsdf
6 0 …/Radiance/data/McNEILtut_singleClr.xml 0 0 1 .
0
0

windowglassBsdf polygon window
0
0
12 0.5 -.15 1
0.5 -.15 2
3.5 -.15 2
3.5 -.15 1

Any thoughts?

Kind regards,

Samuel


#2

If you are on a Windows machine, it might be that the rtrace being found through the PATH is from Daysim and not the NREL version. The where command will tell you which rtrace is being called.
image

If you re-arrange the order of the paths such that the latest NREL installation path is before all the other Radiance installation paths, I think it should work out.

You can also set the path manually before typing in any Radiance commands (this will work for batch files too):
SET RAYPATH=.;C:\Radiance\lib
PATH=C:\Radiance\bin;$PATH

Regards,
Sarith


#3

Thank you Sarith,

That solved it. (I used %PATH% instead of $PATH in PATH=C:\Radiance\bin;%PATH%)

Kind regards,

Samuel