Divide by zero in luminaire model / brightdata

Hi Randolph,

Looking at your files, the problem seems to be the usage of lboxcorr, which specifies in the comment at the beginning of source.cal requires that the impostor geometry be centered at the origin. The xform command following genbox that someone created does not put the center at the origin. You can correct for this by either switching the "lboxcorr" to the slightly less-accurate "boxcorr" variable, or adding a transform to your brightdata string arguments (-t 0 0 0.08). The ies2rad program never outputs "lboxcorr" because of its finicky nature.

Best,
-Greg

···

From: Randolph Fritz <[email protected]>
Date: June 27, 2012 4:48:00 PM PDT

Thanks!

The .rad file was edited by the modeler; I've attached the edited files. I've also attached the straight output of ies2rad.

Randolph

On Wed, Jun 27, 2012 at 4:26 PM, Greg Ward <[email protected]> wrote:
Hi Randolph,

Can you send me the IES input file and the Radiance scene file produced by ies2rad? Also, find and send your "source.cal" file from the RAYPATH library location.

-Greg

> From: "Randolph M. Fritz" <[email protected]>
> Date: June 27, 2012 3:51:52 PM PDT
>
> I'm getting the following error messages from a luminaire model:
> rpict: warning - compute error for brightdata "luminaire_pendant3_CB087_dist"
> rpict: Division by zero
>
> I'm going to dig into this further - I didn't build the model, and there may be something really obvious wrong with it - but I was wondering if anyone has seen anything like it, and has any tips.
> --
> Randolph M. Fritz

Thanks, Greg!

Looks like my first stab at this was wrong, so I really really appreciate the reply.

Randolph

···

On 2012-06-28 01:40:21 +0000, Gregory J. Ward said:

Hi Randolph,

Looking at your files, the problem seems to be the usage of lboxcorr, which specifies in the comment at the beginning of source.cal requires that the impostor geometry be centered at the origin. The xform command following genbox that someone created does not put the center at the origin. You can correct for this by either switching the "lboxcorr" to the slightly less-accurate "boxcorr" variable, or adding a transform to your brightdata string arguments (-t 0 0 0.08). The ies2rad program never outputs "lboxcorr" because of its finicky nature.

Best,
-Greg

From: Randolph Fritz <[email protected]>

Date: June 27, 2012 4:48:00 PM PDT

Thanks!

The .rad file was edited by the modeler; I've attached the edited files. I've also attached the straight output of ies2rad.

Randolph

On Wed, Jun 27, 2012 at 4:26 PM, Greg Ward > <[email protected]> wrote:
Hi Randolph,

Can you send me the IES input file and the Radiance scene file produced by ies2rad? Also, find and send your "source.cal" file from the RAYPATH library location.

-Greg

> From: "Randolph M. Fritz" <[email protected]>
> Date: June 27, 2012 3:51:52 PM PDT
>
> I'm getting the following error messages from a luminaire model:
> rpict: warning - compute error for brightdata "luminaire_pendant3_CB087_dist"
> rpict: Division by zero
>
> I'm going to dig into this further - I didn't build the model, and there may be something really obvious wrong with it - but I was wondering if anyone has seen anything like it, and has any tips.
> --
> Randolph M. Fritz

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

--
Randolph M. Fritz