NaN normals Cycles

I am using the master build to render Cycles examples for my DeepDenoiser project. There is quite some preprocessing and statistical analysis going on. That’s why I have encountered, that there are some NaN normals. Is this expected or a bug? I have to figure out whether it needs to be treated as a special case.

I recently fixed https://developer.blender.org/T56704, which might have been the problem?

In general they should not happen, unless users create (uncommon) node setups to trigger them.

1 Like

I am pretty sure it is the same issue. Thanks for the reply!

Just in case someone comes across this question:
In the current version, the vast majority of the NaN normals are fixed in my test files. Compared to the stable Blender 2.79b, there still seem to be a few more. https://developer.blender.org/T56798