blender/intern/cycles/kernel/geom
Patrick Mours bd2b1a67a7 Fix T74939: Random Walk subsurface appearance in OptiX does not match other engines
Random Walk subsurface scattering did look different with OptiX because transmittance is
calculated based on the hit distance, but the OptiX implementation of `scene_intersect_local`
would return the distance in world space, while the Cycles BVH version returns it in object
space. This fixes the problem by simply skipping the object->world transforms in all the
places using the result of `scene_intersect_local` with OptiX.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D7232
2020-03-26 13:00:09 +01:00
..
geom_attribute.h Cleanup: simplify Cycles primitive attribute map storage 2020-02-07 12:18:15 +01:00
geom_curve_intersect.h Cycles: add Optix support in the kernel 2019-09-13 11:46:22 +02:00
geom_curve.h CLeanup: clang-format 2020-02-11 18:45:08 +11:00
geom_motion_curve.h Cleanup: simplify Cycles primitive attribute map storage 2020-02-07 12:18:15 +01:00
geom_motion_triangle_intersect.h Fix T74939: Random Walk subsurface appearance in OptiX does not match other engines 2020-03-26 13:00:09 +01:00
geom_motion_triangle_shader.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
geom_motion_triangle.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
geom_object.h Volumes: add render settings for volume datablock 2020-03-18 11:23:05 +01:00
geom_patch.h Shading: Add Vertex Color node. 2019-09-12 17:42:13 +02:00
geom_primitive.h Shading: Add Vertex Color node. 2019-09-12 17:42:13 +02:00
geom_subd_triangle.h CLeanup: clang-format 2020-02-11 18:45:08 +11:00
geom_triangle_intersect.h Fix T74939: Random Walk subsurface appearance in OptiX does not match other engines 2020-03-26 13:00:09 +01:00
geom_triangle.h CLeanup: clang-format 2020-02-11 18:45:08 +11:00
geom_volume.h Cycles: support for different 3D transform per volume grid 2020-03-18 11:23:05 +01:00
geom.h Cleanup: tweak Cycles #includes in preparation for clang-format sorting 2020-03-06 14:44:42 +01:00