0
0
forked from blender/blender
blender/intern/cycles
Alaska ee2e231adc Fix #111277: NaN in Vector Displacement leading to render errors
Fixes NaN in Vector Displacement node caused by the normalization of
0, 0, 0 vectors.

This fixes both visual rendering issues and an "illegal address" error
on the GPU. The "illegal address" error came from the Light Tree
Sampling code not handling the NaN normals well, leading to weird code
paths being taken, eventually leading to a kernel_assert and a
user facing illegal address error.

In Blender 3.5+, this fixes two errors (visual artifacts and errors on
the GPU when using the light tree). In Blender 3.3 it only fixes one
(visual artifacts) because 3.3 doesn't have the light tree. The commit
message should be adjusted to represent that

Pull Request: blender/blender#111294
2023-09-13 13:41:02 +02:00
..
app Cycles: add USD as a file format for Cycles standalone rendering 2022-04-29 19:19:19 +02:00
blender Fix T101020: Cycles Add Performance Preset is broken 2022-11-24 10:19:26 +01:00
bvh Cleanup: spelling in comments 2022-08-17 15:43:17 +10:00
cmake Fix WITH_CYCLES_ONEAPI_BINARIES issues with make release 2022-08-24 15:38:27 +02:00
device Cycles: solve compilation errors with OptiX 7.7 2023-05-15 15:28:33 +02:00
doc Fix missing license file from last commit 2022-02-11 18:08:32 +01:00
graph Cleanup: replace CHECK_TYPE macro with static_assert 2022-08-19 20:36:02 +02:00
hydra Fix T102990: OpenVDB files load very slow from network drives 2023-01-12 15:40:19 +01:00
integrator Fix #106405: Cycles multi GPU crash with vertex color baking 2023-05-15 12:32:39 +02:00
kernel Fix #111277: NaN in Vector Displacement leading to render errors 2023-09-13 13:41:02 +02:00
scene Fix #106776: Volume cube won't render in Cycles 2023-05-15 14:25:03 +02:00
session Fix T101651: Cycles crashes when failing to initialize render device 2022-10-26 10:13:11 +02:00
subd License headers: use SPDX for remaining files in Cycles 2022-02-15 17:52:38 +11:00
test Cleanup: remove __KERNEL_CPU__ 2022-07-25 17:43:35 +02:00
util Fix T103960: build issue with GCC 13 in Cycles thread code 2023-09-13 12:49:28 +02:00
CMakeLists.txt Fix build error with WITH_CYCLES_KERNEL_NATIVE_ONLY on macOS Arm 2022-07-25 11:23:25 +02:00