genBSDF: illegal variable name

Hi all:

I use Radiance window version and create a simple file to generate BSDF
file:

####################### file: glazingBase.rad
void glass glazingRef_0.2
0
0
3
0.218166162012 0.218166162012 0.218166162012

######################## file: bsdf.rad
void plastic blindRef_0.2
0
0
5
0.2 0.2 0.2 0 0

glazingRef_0.2 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

!genblinds blindRef_0.2 blinds_0.2 0.5 2 3 60 60 | xform -rz -90 -rx 90
!xform -rx 90 -t 0 0 -0.6 glazingBase.rad

##################### end ########################

I run "genBSDF.pl bsdf.rad > temp.xml", and got the error here (link:
https://dl.dropbox.com/u/15562376/error.gif) . Do you know how to correct
this error?

Thank you in advance,

Jia

The problem is that genBSDF.pl is not Windows-compatible. We have it on our "to-do" list, but no promises when we'll get to it.

Cheers,
-Greg

···

From: Jia Hu <[email protected]>
Date: October 12, 2012 11:50:18 AM GMT+02:00

Hi all:

I use Radiance window version and create a simple file to generate BSDF file:

####################### file: glazingBase.rad
void glass glazingRef_0.2
0
0
3
0.218166162012 0.218166162012 0.218166162012

######################## file: bsdf.rad
void plastic blindRef_0.2
0
0
5
0.2 0.2 0.2 0 0

glazingRef_0.2 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

!genblinds blindRef_0.2 blinds_0.2 0.5 2 3 60 60 | xform -rz -90 -rx 90
!xform -rx 90 -t 0 0 -0.6 glazingBase.rad

##################### end ########################

I run "genBSDF.pl bsdf.rad > temp.xml", and got the error here (link:https://dl.dropbox.com/u/15562376/error.gif) . Do you know how to correct this error?

Thank you in advance,

Jia

Thanks, Greg. I am not familiar with Perl. Could you point out some reasons
why the code is not compatible? so that I may revise some codes by myself
if there is not too much work...

Thanks,

Jia

···

On Fri, Oct 12, 2012 at 6:04 AM, Greg Ward <[email protected]> wrote:

The problem is that genBSDF.pl is not Windows-compatible. We have it on
our "to-do" list, but no promises when we'll get to it.

Cheers,
-Greg

> From: Jia Hu <[email protected]>
> Date: October 12, 2012 11:50:18 AM GMT+02:00
>
> Hi all:
>
> I use Radiance window version and create a simple file to generate BSDF
file:
>
> ####################### file: glazingBase.rad
> void glass glazingRef_0.2
> 0
> 0
> 3
> 0.218166162012 0.218166162012 0.218166162012
>
>
> ######################## file: bsdf.rad
> void plastic blindRef_0.2
> 0
> 0
> 5
> 0.2 0.2 0.2 0 0
>
> glazingRef_0.2 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
>
> !genblinds blindRef_0.2 blinds_0.2 0.5 2 3 60 60 | xform -rz -90 -rx 90
> !xform -rx 90 -t 0 0 -0.6 glazingBase.rad
>
> ##################### end ########################
>
> I run "genBSDF.pl bsdf.rad > temp.xml", and got the error here (link:
https://dl.dropbox.com/u/15562376/error.gif) . Do you know how to correct
this error?
>
> Thank you in advance,
>
> Jia

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