blender/intern/cycles/util
Sergey Sharybin 24fbd71a56 Fix #130829: Incorrect render result with light trees
The original report stumbled upon this issue with a more tricky
configuration when light linking is combined with light tress.
However, the actual contributing factor was a mesh with emission
shader which is not assigned to any triangles. This triggered a
bug in the BoundBox::transformed() which converted non-valid bounds
to bounds by performing per-corner growing.

Additionally fix incorrect handling of shared nodes which only
worked for leaf nodes. This was due to the fact how the measure
was accumulated: it is possible that add() is called with an empty
measure.

Pull Request: https://projects.blender.org/blender/blender/pulls/134699
2025-02-18 13:11:46 +01:00
..
algorithm.h Refactor: Cycles: Make math and type headers work by themselves 2025-01-03 10:22:47 +01:00
aligned_malloc.cpp Refactor: Cycles: Simplify util_guarded_mem_alloc/free calls 2025-01-29 14:11:47 +01:00
aligned_malloc.h Refactor: Cycles: Simplify util_guarded_mem_alloc/free calls 2025-01-29 14:11:47 +01:00
args.h Refactor: Cycles: Stop using entire OIIO namespace 2025-01-03 10:22:52 +01:00
array.h Refactor: Cycles: Simplify util_guarded_mem_alloc/free calls 2025-01-29 14:11:47 +01:00
atomic.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
boundbox.h Fix #130829: Incorrect render result with light trees 2025-02-18 13:11:46 +01:00
CMakeLists.txt Cleanup: Cycles: Remove unnecessary SSE4.2 CPU kernel 2025-01-13 10:07:37 +01:00
color.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
debug.cpp Cleanup: Cycles: Remove unnecessary SSE4.2 CPU kernel 2025-01-13 10:07:37 +01:00
debug.h Refactor: Cycles: Add const keyword where possible, using clang-tidy 2025-01-03 10:23:20 +01:00
defines.h Refactor: Cycles: Use #pragma once 2025-01-03 10:22:45 +01:00
deque.h Refactor: Cycles: Use #pragma once 2025-01-03 10:22:45 +01:00
disjoint_set.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
guarded_allocator.cpp Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
guarded_allocator.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
guiding.h Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
half.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
hash.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
ies.cpp Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
ies.h Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
image.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
image_impl.h Refactor: Cycles: Add const keyword where possible, using clang-tidy 2025-01-03 10:23:20 +01:00
list.h Refactor: Cycles: Use #pragma once 2025-01-03 10:22:45 +01:00
log.cpp Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
log.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
map.h Refactor: Cycles: Use #pragma once 2025-01-03 10:22:45 +01:00
math.h Refactor: Cycles: Make math and type headers work by themselves 2025-01-03 10:22:47 +01:00
math_base.h Cleanup: spelling in comments (make check_spelling*) 2025-01-04 16:26:39 +11:00
math_cdf.cpp Refactor: Cycles: Add const keyword where possible, using clang-tidy 2025-01-03 10:23:20 +01:00
math_cdf.h Refactor: Cycles: Add const keyword where possible, using clang-tidy 2025-01-03 10:23:20 +01:00
math_fast.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
math_float2.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
math_float3.h Refactor: Cycles: Rename rcp to reciprocal 2025-02-04 18:59:24 +01:00
math_float4.h Refactor: Cycles: Rename rcp to reciprocal 2025-02-04 18:59:24 +01:00
math_float8.h Refactor: Cycles: Rename rcp to reciprocal 2025-02-04 18:59:24 +01:00
math_int2.h Refactor: Cycles: Make math and type headers work by themselves 2025-01-03 10:22:47 +01:00
math_int3.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
math_int4.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
math_int8.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
math_intersect.h Refactor: Cycles: Rename rcp to reciprocal 2025-02-04 18:59:24 +01:00
md5.cpp Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
md5.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
murmurhash.cpp Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
murmurhash.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
openimagedenoise.h Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
openvdb.h Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
optimization.h Cleanup: Cycles: Remove unnecessary SSE4.2 CPU kernel 2025-01-13 10:07:37 +01:00
param.h Refactor: Cycles: Stop using entire OIIO namespace 2025-01-03 10:22:52 +01:00
path.cpp Refactor: Cycles: Add const keyword where possible, using clang-tidy 2025-01-03 10:23:20 +01:00
path.h Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
profiling.cpp Fix: Build error with latest MSVC 2022 2025-02-12 17:18:55 +01:00
profiling.h Refactor: Cycles: Replace new/delete by unique_ptr, in simple cases 2025-01-03 10:23:30 +01:00
progress.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
projection.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
projection_inverse.h Refactor: Cycles: Add const keyword where possible, using clang-tidy 2025-01-03 10:23:20 +01:00
queue.h Refactor: Cycles: Use #pragma once 2025-01-03 10:22:45 +01:00
rect.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
semaphore.h Refactor: Cycles: Add const keyword where possible, using clang-tidy 2025-01-03 10:23:20 +01:00
set.h Refactor: Cycles: Use #pragma once 2025-01-03 10:22:45 +01:00
simd.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
stack_allocator.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
static_assert.h Refactor: Cycles: Use #pragma once 2025-01-03 10:22:45 +01:00
stats.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
string.cpp OpenImageIO: Compatibility with version 3.0 2025-01-06 17:21:11 +01:00
string.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
system.cpp Refactor: Cycles: Stop using entire OIIO namespace 2025-01-03 10:22:52 +01:00
system.h Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
task.cpp Refactor: Cycles: Replace new/delete by unique_ptr, in simple cases 2025-01-03 10:23:30 +01:00
task.h Refactor: Cycles: Replace new/delete by unique_ptr, in simple cases 2025-01-03 10:23:30 +01:00
tbb.h Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
texture.h Refactor: Cycles: Avoid unsafe memcpy and memcmp 2025-01-03 10:23:15 +01:00
thread.cpp Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
thread.h Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
time.cpp Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
time.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
transform.cpp Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
transform.h Cleanup: Cycles: Remove unnecessary SSE4.2 CPU kernel 2025-01-13 10:07:37 +01:00
transform_avx2.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
types.h Refactor: Cycles: Make math and type headers work by themselves 2025-01-03 10:22:47 +01:00
types_base.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
types_float2.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
types_float3.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
types_float4.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
types_float8.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
types_int2.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
types_int3.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
types_int4.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
types_int8.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
types_spectrum.h Refactor: Cycles: Make math and type headers work by themselves 2025-01-03 10:22:47 +01:00
types_uchar2.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
types_uchar3.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
types_uchar4.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
types_uint2.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
types_uint3.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
types_uint4.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
types_ushort4.h Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
unique_ptr.h Refactor: Cycles: Use #pragma once 2025-01-03 10:22:45 +01:00
unique_ptr_vector.h Refactor: Cycles: Replace new/delete with unique_ptr also for nodes 2025-01-03 10:23:32 +01:00
vector.h Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
version.h Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
windows.cpp Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
windows.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
xml.h Fix: Cycles lite build failure without Pugixml 2024-12-31 00:50:44 +01:00