blender/intern/cycles/render
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
..
attribute.cpp Cycles: Add support for uchar4 attributes. 2014-06-13 23:40:54 +02:00
attribute.h Cycles: Add support for uchar4 attributes. 2014-06-13 23:40:54 +02:00
background.cpp Cycles code refactor: replace magic ~0 values in the code with defines. 2014-03-29 13:03:47 +01:00
background.h Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
bake.cpp Cycles Bake: use size_t instead of width, height 2014-07-31 00:35:17 -03:00
bake.h Cycles Bake: use size_t instead of width, height 2014-07-31 00:35:17 -03:00
blackbody.cpp Code cleanup: Add -Werror=float-conversion to Cycles 2014-05-03 07:31:46 +10:00
blackbody.h Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
buffers.cpp Fix T39420: Cycles viewport/preview flickers, when moving mouse across editors 2014-03-26 15:58:53 +06:00
buffers.h Fix for build error in Cycles standalone caused by new DeviceDrawParams 2014-03-26 18:11:16 +01:00
camera.cpp Code cleanup: Add -Werror=float-conversion to Cycles 2014-05-03 07:31:46 +10:00
camera.h Cycles Standalone: The camera now gets properly updated, when changing window size or using --width --height overwrites. 2014-02-14 18:40:31 +01:00
CMakeLists.txt Cycles Bake 2014-05-02 21:19:09 -03:00
curves.cpp Cycles Refactor: Add SSE Utility code from Embree for cleaner SSE code. 2014-06-13 21:59:12 +02:00
curves.h Code cleanup / Cycles: Remove encasing_ratio variable, it was already hard coded, so define it in the kernel only. 2014-02-02 19:53:04 +01:00
film.cpp Cycles Bake 2014-05-02 21:19:09 -03:00
film.h Fix Cycles Light Passes being always enabled, own regression in Clamp commit yesterday. 2014-02-11 14:14:43 +01:00
graph.cpp Code cleanup: remove old closure sampling code Cycles. 2014-04-21 16:14:37 +02:00
graph.h Code cleanup: remove old closure sampling code Cycles. 2014-04-21 16:14:37 +02:00
image.cpp Fix T41109: Reloading image that has been modified outside Blender does not update image in Image Texture nodes 2014-07-18 19:37:32 +06:00
image.h Fix T41109: Reloading image that has been modified outside Blender does not update image in Image Texture nodes 2014-07-18 19:37:32 +06:00
integrator.cpp Cycles: volume sampling method can now be set per material/world. 2014-06-14 13:49:56 +02:00
integrator.h Cleanup: Remove unused hardcoded variables in the integrator. 2014-05-12 10:45:11 +02:00
light.cpp Fix T40370: cycles CUDA baking timeout with high number of AA samples. 2014-06-06 15:39:04 +02:00
light.h Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
mesh_displace.cpp Fix T40370: cycles CUDA baking timeout with high number of AA samples. 2014-06-06 15:39:04 +02:00
mesh.cpp Fix T41219: Cycles backface detection doesn't work properly 2014-08-13 16:35:54 +06:00
mesh.h Cycles: Calculate face normal on the fly. 2014-06-13 21:59:13 +02:00
nodes.cpp Cycles: Fix crash with environment maps and packed images 2014-07-07 12:37:45 +06:00
nodes.h Cycles: Ashikhmin-Shirley anisotropic BSDF 2014-06-14 13:49:57 +02:00
object.cpp Fix T41219: Cycles backface detection doesn't work properly 2014-08-13 16:35:54 +06:00
object.h Fix T39585: cycles motion vector pass problem with curves. 2014-05-09 17:14:13 +02:00
osl.cpp Fix T41318: OSL broken on Linux kubuntu 14.04 2014-08-05 15:53:00 +06:00
osl.h Fix build error when building without OSL support. 2013-12-09 05:28:19 +01:00
particles.cpp Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
particles.h Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
scene.cpp Spelling 2014-08-02 16:53:52 +10:00
scene.h Cycles: Add support for uchar4 attributes. 2014-06-13 23:40:54 +02:00
session.cpp Fix T40262: cycles GPU bake crash due to kernels not loaded, randomly due to thread timing. 2014-05-19 19:33:09 +02:00
session.h Fix T40262: cycles GPU bake crash due to kernels not loaded, randomly due to thread timing. 2014-05-19 19:33:09 +02:00
shader.cpp Cycles: Add link to a paper used for Beckmann table calculation 2014-07-10 19:04:03 +06:00
shader.h Cycles: improved Beckmann sampling using precomputed data 2014-06-21 22:31:44 +02:00
sky_model_data.h Code Cleanup: use static for sky_model_data.h 2013-12-13 04:40:30 +11:00
sky_model.cpp Code cleanup: Add -Werror=float-conversion to Cycles 2014-05-03 07:31:46 +10:00
sky_model.h code cleanup: spelling 2013-10-31 23:52:44 +00:00
sobol.cpp Fix #29528: crash adding subsurf modifier in a particular scene with viewport render. 2011-12-08 21:55:35 +00:00
sobol.h Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
svm.cpp Fix T41023: Specific material cause bad render result, different on CPU/GPU 2014-07-11 18:21:52 +06:00
svm.h Fix T41023: Specific material cause bad render result, different on CPU/GPU 2014-07-11 18:21:52 +06:00
tables.cpp Fix T39146: recent cycles CUDA regression in fix for T39114. 2014-03-13 14:18:34 +01:00
tables.h Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
tile.cpp Cycles Refactor: Add SSE Utility code from Embree for cleaner SSE code. 2014-06-13 21:59:12 +02:00
tile.h Fix a few issues reported by coverity scan. 2013-09-03 22:39:21 +00:00