This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Stefan Werner 7a35a0f419 Fixed a rare case of NaN in Cycles
This fixes a rare case where NaNs could exist inside Cycles.

When certain invalid meshes were passed in, Cycles would try too normalize
a zero length normal during its setup stage. While it does check against
division by zero, it still returns a zero length normal and passes it on to
the path tracing kernel. The kernel then operates under the assumption that
normals are valid, and in the case of such a zero length normal, would
eventually create NaNs that propagate through and result in black pixels.

Reviewers: #cycles

Subscribers: brecht, sergey

Projects: #cycles

Differential Revision: https://developer.blender.org/D2008
2016-05-23 13:34:14 +02:00
2016-05-23 13:34:14 +02:00
2016-05-23 21:35:54 +10:00
2016-05-02 21:06:15 +10:00
2013-12-24 22:57:27 +06:00
2016-01-04 14:20:48 +05:00
2010-10-13 14:44:22 +00:00
2016-05-21 05:48:10 +10:00
2016-02-10 00:26:12 +11:00
Description
Archive of Blender with old branches
823 MiB
Languages
C 67.4%
C++ 23.4%
Python 6.1%
CMake 1.5%
GLSL 1.1%
Other 0.4%