blender/intern/cycles/kernel
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
..
closure Spelling 2014-08-02 16:53:52 +10:00
geom Fix T41219: Cycles backface detection doesn't work properly 2014-08-13 16:35:54 +06:00
osl Fix T41276: OSL bug in getmessage ("trace", "geom:name" , output) 2014-08-05 17:54:08 +06:00
shaders Cycles: Update stdosl.h for OSL 1.5. 2014-08-01 15:23:58 +02:00
svm Spelling 2014-08-02 16:53:52 +10:00
CMakeLists.txt Cmake: Remove warning for pre CUDA 5.0 Toolkit, not supported anymore 2014-06-30 12:37:34 +02:00
kernel_accumulate.h Spelling 2014-08-02 16:53:52 +10:00
kernel_avx2.cpp Cycles: Add an AVX2 CPU kernel. 2014-06-13 22:26:20 +02:00
kernel_avx.cpp Cycles Refactor: Add SSE Utility code from Embree for cleaner SSE code. 2014-06-13 21:59:12 +02:00
kernel_bake.h Fix T41219: Cycles backface detection doesn't work properly 2014-08-13 16:35:54 +06:00
kernel_camera.h Cycles: new camera_direction_from_point 2014-05-27 11:09:36 -03:00
kernel_compat_cpu.h Cycles Refactor: Add SSE Utility code from Embree for cleaner SSE code. 2014-06-13 21:59:12 +02:00
kernel_compat_cuda.h Cycles CUDA: make CUDA toolkit 6.0 the official supported version. 2014-04-30 16:07:27 +02:00
kernel_compat_opencl.h * Fix OpenCL after uchar4 commit. 2014-06-15 01:09:59 +02:00
kernel_differential.h Cycles: change __device and similar qualifiers to ccl_device in kernel code. 2013-11-18 08:48:15 +01:00
kernel_emission.h Cycles: volume light sampling 2014-06-14 13:49:56 +02:00
kernel_film.h Cycles: fix crash in SSE hair and half-floats on x86+vc2008 2014-02-27 15:01:20 +04:00
kernel_globals.h Fix T37264: cycles CPU render had limited number of float images, bumped to 1024. 2013-12-14 15:07:46 +01:00
kernel_jitter.h Cycles: change __device and similar qualifiers to ccl_device in kernel code. 2013-11-18 08:48:15 +01:00
kernel_light.h Fix T41219: Cycles backface detection doesn't work properly 2014-08-13 16:35:54 +06:00
kernel_math.h Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
kernel_montecarlo.h Cycles code refactor: minor refactoring and comments for volume code. 2014-03-29 13:03:49 +01:00
kernel_passes.h Style cleanup: indentation, braces 2014-05-05 02:19:08 +10:00
kernel_path_state.h Cleanup: Always assign num_samples, there is no need for this special define. 2014-07-10 01:43:53 +02:00
kernel_path_surface.h Fix T40987: Distant Lamps have no influence on Volumes. 2014-07-13 12:06:54 +02:00
kernel_path_volume.h Fix T40987: Distant Lamps have no influence on Volumes. 2014-07-13 12:06:54 +02:00
kernel_path.h Cleanup: Same thing in path trace setup, we can safely always assign the proper value. 2014-07-10 01:49:34 +02:00
kernel_projection.h Fix cycles using acosf in panorama render when it should use safe_acosf. 2014-04-18 13:51:29 +02:00
kernel_random.h Cycles: volume light sampling 2014-06-14 13:49:56 +02:00
kernel_shader.h Fix T41219: Cycles backface detection doesn't work properly 2014-08-13 16:35:54 +06:00
kernel_shadow.h Condition was inverted in the previous transparent shadows commit 2014-06-30 17:00:51 +06:00
kernel_sse2.cpp Fix T40370: cycles CUDA baking timeout with high number of AA samples. 2014-06-06 15:39:04 +02:00
kernel_sse3.cpp Fix T40370: cycles CUDA baking timeout with high number of AA samples. 2014-06-06 15:39:04 +02:00
kernel_sse41.cpp Fix T40370: cycles CUDA baking timeout with high number of AA samples. 2014-06-06 15:39:04 +02:00
kernel_subsurface.h Code cleanup: white space and cmake was broken on all platforms 2014-02-03 13:56:34 +11:00
kernel_textures.h Cleanup: Update list and remove ifdef here. 2014-07-02 00:58:06 +02:00
kernel_types.h Fix T41219: Cycles backface detection doesn't work properly 2014-08-13 16:35:54 +06:00
kernel_volume.h Cycles: Equi-Angular and MIS Volume sampling work on GPU now. 2014-07-06 14:00:11 +02:00
kernel.cl Fix T40370: cycles CUDA baking timeout with high number of AA samples. 2014-06-06 15:39:04 +02:00
kernel.cpp Fix T40370: cycles CUDA baking timeout with high number of AA samples. 2014-06-06 15:39:04 +02:00
kernel.cu Cleanup: Typo fixes. 2014-07-05 14:25:34 +02:00
kernel.h Cycles: Add an AVX2 CPU kernel. 2014-06-13 22:26:20 +02:00
SConscript Fix compilation error with scons and older pythons 2014-06-26 16:03:52 +06:00