strange error massage from genBSDF

Hello list,

I have just recompiled Radiance because I was getting little bit strange
results when using Three-phase method, and I was not sure if I am using most
updated version.

I have downloaded fresh version and when I recompiled Radaince and run the
scripts again I have got this error when running genBSDF command.

xform: cannot find file "geometry/BSDF_old_open.rad"
Could not load Radiance input

command is:

genBSDF -c 1000 -r '-st 0.0001' +forward -backward -geom -dim 0 1.98 0 1.13
-0.01 0 geometry/BSDF_old_open.rad> results/xml/BSDF_old_open_down.xml

The file and folder are there and it was running correctly before.

Does anyone has any suggestions how to solve this?

Thank you very much for your help.
David

Hi David,

I assume you've done the obvious and made sure the file "geometry/BSDF_old_open.rad" exists and is readable. Try issuing the command with "./geometry/BSDF_old_open.rad" instead and see if that works. If it does, that means that your RAYPATH environment variable doesn't include the current working directory ('.') as part of the search. This normally goes in front, e.g., "RAYPATH=.:/usr/local/lib/ray".

The xform command is special in that it searches the RAYPATH directories rather than taking file names you give it literally. This simplifies creating a library of often-used objects, but can be confusing in other contexts.

Best,
-Greg

ยทยทยท

From: David Appelfeld <[email protected]>
Date: May 12, 2011 8:50:22 PM PDT

Hello list,

I have just recompiled Radiance because I was getting little bit strange results when using Three-phase method, and I was not sure if I am using most updated version.

I have downloaded fresh version and when I recompiled Radaince and run the scripts again I have got this error when running genBSDF command.

xform: cannot find file "geometry/BSDF_old_open.rad"
Could not load Radiance input

command is:

genBSDF -c 1000 -r '-st 0.0001' +forward -backward -geom -dim 0 1.98 0 1.13 -0.01 0 geometry/BSDF_old_open.rad> results/xml/BSDF_old_open_down.xml

The file and folder are there and it was running correctly before.

Does anyone has any suggestions how to solve this?

Thank you very much for your help.
David

1 Like

Hello Grag,
thank you, it is working now. You were right all usual.
David

ยทยทยท

On 12 May 2011 21:02, Greg Ward <[email protected]> wrote:

Hi David,

I assume you've done the obvious and made sure the file
"geometry/BSDF_old_open.rad" exists and is readable. Try issuing the
command with "./geometry/BSDF_old_open.rad" instead and see if that works.
If it does, that means that your RAYPATH environment variable doesn't
include the current working directory ('.') as part of the search. This
normally goes in front, e.g., "RAYPATH=.:/usr/local/lib/ray".

The xform command is special in that it searches the RAYPATH directories
rather than taking file names you give it literally. This simplifies
creating a library of often-used objects, but can be confusing in other
contexts.

Best,
-Greg

> From: David Appelfeld <[email protected]>
> Date: May 12, 2011 8:50:22 PM PDT
>
> Hello list,
>
> I have just recompiled Radiance because I was getting little bit strange
results when using Three-phase method, and I was not sure if I am using most
updated version.
>
> I have downloaded fresh version and when I recompiled Radaince and run
the scripts again I have got this error when running genBSDF command.
>
> xform: cannot find file "geometry/BSDF_old_open.rad"
> Could not load Radiance input
>
>
> command is:
>
> genBSDF -c 1000 -r '-st 0.0001' +forward -backward -geom -dim 0 1.98 0
1.13 -0.01 0 geometry/BSDF_old_open.rad> results/xml/BSDF_old_open_down.xml
>
>
> The file and folder are there and it was running correctly before.
>
> Does anyone has any suggestions how to solve this?
>
> Thank you very much for your help.
> David

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