blender/intern/cycles
Sergey Sharybin bfaf4f2d0d Fix T41219: Cycles backface detection doesn't work properly
Root of the issue goes back to the on-fly normals commit and the
latest fix for it wasn't actually correct. I've mixed two fixes
in there.

So the idea here goes back to storing negative scaled object flag
and flip runtime-calculated normal if this flag is set, which is
pretty much the same as the original fix for the issue from me.

The issue with motion blur wasn't caused by the rumtime normals
patch and it had issues before, because it already did runtime
normals calculation. Now made it so motion triangles takes the
negative scale flag into account.

This actually makes code more clean imo and avoids rather confusing
flipping code in mesh.cpp.
2014-08-13 16:35:54 +06:00
..
app Deduplicate CUDA and OpenCL wranglers 2014-08-05 13:57:50 +06:00
blender Spelling 2014-08-13 08:38:16 +10:00
bvh Spelling 2014-08-02 16:53:52 +10:00
cmake Cycles: use SYSTEM for external includes 2014-06-29 04:00:31 +10:00
device Cycles OpenCL error to string removed in favour of the same function in clew. 2014-08-09 14:27:40 +02:00
doc Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
kernel Fix T41219: Cycles backface detection doesn't work properly 2014-08-13 16:35:54 +06:00
render Fix T41219: Cycles backface detection doesn't work properly 2014-08-13 16:35:54 +06:00
subd Code cleanup: Add -Werror=float-conversion to Cycles 2014-05-03 07:31:46 +10:00
util Cleanup: Remove special code for Visual Studio 2008. 2014-08-07 13:52:15 +02:00
CMakeLists.txt Cycles: use SYSTEM for external includes 2014-06-29 04:00:31 +10:00
SConscript Deduplicate CUDA and OpenCL wranglers 2014-08-05 13:57:50 +06:00