blender/tests
Weizhen Huang 082b68fcb9 Cycles: improve equiangular sampling in volume
By restricting the sample range along the ray to the valid segment.

Supports

**Mesh Light**
- [x] restrict the ray segment to the side with MIS

**Area Light**
- [x] when the spread is zero, find the intersection of the ray and the bounding box/cylinder of the rectangle/ellipse area light beam
- [x] when the spread is non-zero, find the intersection of the ray and the minimal enclosing cone of the area light beam
*note the result is also unbiased when we just consider the cone from the sampled point in volume segment. Far away from the light source it's less noisy than the current solution, but near the light source it's much noisier. We have to restrict the sample region on the area light to the part that lits the ray then, I haven't tried yet to see if it would be less noisy.*

**Point Light**
- [x] the complete ray segment should be valid.

**Spot Light**
- [x] intersect the ray with the spot light cone
- [x] support non-zero radius

Pull Request: https://projects.blender.org/blender/blender/pulls/119438
2024-03-25 13:02:02 +01:00
..
blender_as_python_module License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
data@00af9c6571 Cycles: improve equiangular sampling in volume 2024-03-25 13:02:02 +01:00
gtests Fix: Update tests data path to new directory 2024-02-22 14:25:54 +01:00
performance Cleanup: use static sets for contains checks, remove f-string use 2024-02-28 11:02:49 +11:00
python Cleanup: remove unused variables 2024-03-21 10:11:54 +11:00
utils Tests: update default library path for batch blendfile loader 2024-02-23 14:57:05 +11:00
CMakeLists.txt Cleanup: line length in CMake files 2024-03-07 13:26:55 +11:00