blender/intern/cycles/hydra
Alaska f09fd9bdef Fix #132935: Add sample subset feature to Cycles
Cycles has a sample offset feature allowing users to render X samples
in a single frame on one device, then the remaining Y samples later or
on a different device and combine them back together at the end.

However in most situations the result from using this method was
different, and usually lower quality than rendering all the samples in
one go.

This was because Cycles tunes it's random number sequence for the
number of samples being rendered. And the random number sequence was
being tuned for the wrong number of samples in the case that a user
was using the sample offset.

This commit fixes this issue by adding a "sample subset" feature.
The user specifies the total sample count being rendered across all
devices in the existing `Max Samples` parameter, then specifies per
device which subset of samples will be rendered (E.g. Render samples
0-1024 out of a 0-2048 range).

This commit also contains some additional clean up work
inside Cycles related to the area being changed.

Co-authored-by: Brecht Van Lommel <brecht@blender.org>
Pull Request: https://projects.blender.org/blender/blender/pulls/132961
2025-01-15 07:41:16 +01:00
..
resources
attribute.cpp Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
attribute.h
camera.cpp Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
camera.h Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
CMakeLists.txt Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
config.h Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
curves.cpp Refactor: Cycles: Add const keyword where possible, using clang-tidy 2025-01-03 10:23:20 +01:00
curves.h
display_driver.cpp Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
display_driver.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
field.cpp Cleanup: Compiler warning building without OpenVDB 2025-01-08 12:14:59 +01:00
field.h
file_reader.cpp Refactor: Cycles: Add const keyword where possible, using clang-tidy 2025-01-03 10:23:20 +01:00
file_reader.h
geometry.cpp Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
geometry.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
geometry.inl Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
instancer.cpp Refactor: Cycles: Add const keyword where possible, using clang-tidy 2025-01-03 10:23:20 +01:00
instancer.h
light.cpp Refactor: Cycles: Replace new/delete with unique_ptr also for nodes 2025-01-03 10:23:32 +01:00
light.h
material.cpp Refactor: Cycles: Replace new/delete with unique_ptr also for nodes 2025-01-03 10:23:32 +01:00
material.h
mesh.cpp Refactor: Cycles: Add const keyword where possible, using clang-tidy 2025-01-03 10:23:20 +01:00
mesh.h
node_util.cpp Refactor: Cycles: Add const keyword where possible, using clang-tidy 2025-01-03 10:23:20 +01:00
node_util.h
output_driver.cpp Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
output_driver.h
plugin.cpp Refactor: Cycles: Add const keyword where possible, using clang-tidy 2025-01-03 10:23:20 +01:00
plugin.h Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
plugInfo.json
pointcloud.cpp Refactor: Cycles: Add const keyword where possible, using clang-tidy 2025-01-03 10:23:20 +01:00
pointcloud.h
render_buffer.cpp Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
render_buffer.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
render_delegate.cpp Fix #132935: Add sample subset feature to Cycles 2025-01-15 07:41:16 +01:00
render_delegate.h
render_pass.cpp Refactor: Cycles: Replace new/delete by unique_ptr, in simple cases 2025-01-03 10:23:30 +01:00
render_pass.h
session.cpp Refactor: Cycles: Replace new/delete with unique_ptr also for nodes 2025-01-03 10:23:32 +01:00
session.h Refactor: Cycles: Add const keyword to more function parameters 2025-01-03 10:23:24 +01:00
volume.cpp Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00
volume.h