'nan' values from 'rtrace'

Hi,

I am testing rtrace from Radiance 6.0, I get nan values as the output for some bands.

This is my command:
rtrace -n 8 -I+ -ad 128 -as 64 -ar 8 -aa 0.4 -ab 3 -cs 9 -cw 360 740 -h -co+ scene.oct

and these are two example outputs:
-nan 3.311726e-02 4.657086e-02 5.747407e-02 6.431890e-02 6.353850e-02 6.178584e-02 4.135195e-02 6.925378e-03
-nan nan nan nan nan nan nan nan nan
There are more bands with nan outputs as a I increase the ambient divisions and ambient super-samples.

Why does this happen and how can I address it?

Thank you

Hi Nima,

Thanks for bringing this to my attention – it appears to be a bug that shows up when -cw settings are changed from the defaults. I am working on a fix, but it may not show up until the weekend, when github actions trigger a new release.

Best,
-Greg

1 Like

Dear Greg,
I just tested the new release and I don’t see the nan values!
Thanks a lot :slight_smile: :pray:

1 Like