Issue with the New source.cal File in Electric Lighting Calculations

Hi Greg,

I recently performed a simple lighting calculation using the latest Radiance binaries and cal files for a scene containing 10 electric lighting fixtures. I noticed that the results obtained with the new source.cal file are significantly lower than those obtained with the older version.

I compared both sets of results with DIALux evo, and the results from the older source.cal file appear to be correct.

You can download all the Radiance scene files here:

with new source.cal:

with older source.cal:

I would appreciate it if you could help me understand why the new source.cal file produces such significantly lower results.

Best regards,
Majid

Hi Majid,

Thanks for the great example of this error, which I believe is the same one @Nathaniel_Jones found a week or two ago. It’s actually a C bug in a routine the new source.cal calls indirectly. Anyway, the fix is in but the build is not working, so the binaries have not been updated. I will continue to press on that to see if I can get the fix through to the HEAD.

Meanwhile, you can try downloading the new src/rt/func.c source file and compiling it yourself if you can get that to work.

I apologize for the delay, but will verify that the same fix corrects this error later today.

Best,

-Greg

Hi Greg,

Thank you so much. I will try to see if I can succeed to compile it by myself or not.

Best regards,
Majid

Confirmed that your example runs correctly with the current HEAD, which will hopefully build properly tonight.

Thanks again for the bug alert!

-Greg

Thank you so much. You are the best as always.