genBSDF

Hi,

I looked at the genbsdf.pl. It seems that genBSDF +f will generate the
Tranmission Front (defined in xml file) and genBSDF +b will generate
"Transmission Back" in xml.

However, bsdf_m.c code prefers the "Transmission Front" data. So when
using genbsdf, is that a good pratice to add +f, which generate
"Transmission Front" that is preferred by Radiance?

if (!sdata)
return RC_FAIL;
* /**
* * Remember that front and back are reversed from WINDOW 6 orientations*
* * Favor their "Front" (incoming light) since that's more often valid*
*/
tfront = !strcasecmp(sdata, "Transmission Back");
if (!strcasecmp(sdata, "Transmission Front") ||
tfront & (sd->tf == NULL)) {
if (sd->tf != NULL)
SDfreeSpectralDF(sd->tf);
if ((sd->tf = SDnewSpectralDF(1)) == NULL)
return RC_MEMERR;
df = sd->tf;
} else if (!strcasecmp(sdata, "Reflection Front")) {
if (sd->rb != NULL) /* note back-front reversal */
SDfreeSpectralDF(sd->rb);
if ((sd->rb = SDnewSpectralDF(1)) == NULL)
return RC_MEMERR;
df = sd->rb;

The default genBSDF +b option should work fine. Radiance knows how to reverse directions on transmission if it has to, but the direction is usually out the window, so +b is what you want.

The reason the code favors the "Transmission Front" data is because some Window6 files contain "filler" information for the "Transmission Back" data that is unreliable. If both are present, it is safer to use the "Front" data for that reason. In the case of genBSDF, there is no concern, since it doesn't fake its output.

Best,
-Greg

···

From: Jia Hu <[email protected]>
Date: February 20, 2014 8:16:54 PM GMT+01:00

Hi,

I looked at the genbsdf.pl. It seems that genBSDF +f will generate the Tranmission Front (defined in xml file) and genBSDF +b will generate "Transmission Back" in xml.

However, bsdf_m.c code prefers the "Transmission Front" data. So when using genbsdf, is that a good pratice to add +f, which generate "Transmission Front" that is preferred by Radiance?

  if (!sdata)
    return RC_FAIL;
  /*
   * Remember that front and back are reversed from WINDOW 6 orientations
   * Favor their "Front" (incoming light) since that's more often valid
   */
  tfront = !strcasecmp(sdata, "Transmission Back");
  if (!strcasecmp(sdata, "Transmission Front") ||
      tfront & (sd->tf == NULL)) {
    if (sd->tf != NULL)
      SDfreeSpectralDF(sd->tf);
    if ((sd->tf = SDnewSpectralDF(1)) == NULL)
      return RC_MEMERR;
    df = sd->tf;
  } else if (!strcasecmp(sdata, "Reflection Front")) {
    if (sd->rb != NULL) /* note back-front reversal */
      SDfreeSpectralDF(sd->rb);
    if ((sd->rb = SDnewSpectralDF(1)) == NULL)
      return RC_MEMERR;
    df = sd->rb;
_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

I am clear now. I will go with +b... Thanks!

···

On Fri, Feb 21, 2014 at 3:25 AM, Greg Ward <[email protected]> wrote:

The default genBSDF +b option should work fine. Radiance knows how to
reverse directions on transmission if it has to, but the direction is
usually out the window, so +b is what you want.

The reason the code favors the "Transmission Front" data is because some
Window6 files contain "filler" information for the "Transmission Back" data
that is unreliable. If both are present, it is safer to use the "Front"
data for that reason. In the case of genBSDF, there is no concern, since
it doesn't fake its output.

Best,
-Greg

*From: *Jia Hu <[email protected]>

*Date: *February 20, 2014 8:16:54 PM GMT+01:00

Hi,

I looked at the genbsdf.pl. It seems that genBSDF +f will generate the
Tranmission Front (defined in xml file) and genBSDF +b will generate
"Transmission Back" in xml.

However, bsdf_m.c code prefers the "Transmission Front" data. So when
using genbsdf, is that a good pratice to add +f, which generate
"Transmission Front" that is preferred by Radiance?

if (!sdata)
return RC_FAIL;
* /**
* * Remember that front and back are reversed from WINDOW 6 orientations*
* * Favor their "Front" (incoming light) since that's more often valid*
*/
tfront = !strcasecmp(sdata, "Transmission Back");
if (!strcasecmp(sdata, "Transmission Front") ||
tfront & (sd->tf == NULL)) {
if (sd->tf != NULL)
SDfreeSpectralDF(sd->tf);
if ((sd->tf = SDnewSpectralDF(1)) == NULL)
return RC_MEMERR;
df = sd->tf;
} else if (!strcasecmp(sdata, "Reflection Front")) {
if (sd->rb != NULL) /* note back-front reversal */
SDfreeSpectralDF(sd->rb);
if ((sd->rb = SDnewSpectralDF(1)) == NULL)
return RC_MEMERR;
df = sd->rb;
_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

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

Hello,
I’m new to Radiance and I’m trying to use genBSDF in order to obtain the optical properties of a complex solar screen.
The problem is that when I try to launch the program from the command prompt this message appears:

“rfluxmtx is not recognized as internal command or external, an executable program or a command file. Failure running rfluxmtx at script/genBSDF.pl line 416”

I really don’t know what to do and I hope someone can advise me.
I’m working on Windows 7 and with genBSDF.exe.

Thanks a lot

Micol

···

________________________________
Ce message et ses pièces jointes peuvent contenir des informations confidentielles ou privilégiées et ne doivent donc pas être diffusés, exploités ou copiés sans autorisation. Si vous avez reçu ce message par erreur, merci de le signaler à l'expéditeur et le détruire ainsi que les pièces jointes. Les messages électroniques étant susceptibles d'altération, Egis décline toute responsabilité si ce message a été altéré, déformé ou falsifié. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Egis is not liable for messages that have been modified, changed or falsified. Thank you.
________________________________

Hello Micol,

What happens when you try to run RFLUXMTX outside genBSDF? Do you get the
same message? If that is so, you probably need to reset your PATH variable,
to include the directory where Radiance programs are installed.

Let me know if it works!

···

2017-02-01 11:03 GMT-03:00 BORSA Micol <[email protected]>:

Hello,

I’m new to Radiance and I’m trying to use genBSDF in order to obtain the
optical properties of a complex solar screen.

The problem is that when I try to launch the program from the command
prompt this message appears:

“rfluxmtx is not recognized as internal command or external, an executable
program or a command file. Failure running rfluxmtx at script/genBSDF.pl
line 416”

I really don’t know what to do and I hope someone can advise me.

I’m working on Windows 7 and with genBSDF.exe.

Thanks a lot

Micol

------------------------------
Ce message et ses pièces jointes peuvent contenir des informations
confidentielles ou privilégiées et ne doivent donc pas être diffusés,
exploités ou copiés sans autorisation. Si vous avez reçu ce message par
erreur, merci de le signaler à l'expéditeur et le détruire ainsi que les
pièces jointes. Les messages électroniques étant susceptibles d'altération,
Egis décline toute responsabilité si ce message a été altéré, déformé ou
falsifié. Merci.

This message and its attachments may contain confidential or privileged
information that may be protected by law; they should not be distributed,
used or copied without authorisation. If you have received this email in
error, please notify the sender and delete this message and its
attachments. As emails may be altered, Egis is not liable for messages that
have been modified, changed or falsified. Thank you.
------------------------------

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