Cycles: Add and update volume test files

This commit is contained in:
Weizhen Huang
2025-05-09 18:36:30 +02:00
committed by Weizhen Huang
parent ed48905b41
commit 5646d9a5ca
73 changed files with 166 additions and 120 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
tests/files/render/texture/cycles_renders/gradient.png (Stored with Git LFS) Executable file → Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
tests/files/render/volume/cycles_renders/volume_instance.png (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
tests/files/render/volume/overlapping_octrees.blend (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tests/files/render/volume/volume_instance.blend (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tests/files/render/volume/volume_light_path.blend (Stored with Git LFS) Normal file

Binary file not shown.

BIN
tests/files/render/volume/volume_two_shaders.blend (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -271,6 +271,16 @@ def main():
if ((args.osl == 'all') and (test_dir_name == 'principled_bsdf')):
report.set_fail_threshold(0.06)
# Volume scattering probability guiding renders differently on different platforms
if (test_dir_name in {'shadow_catcher', 'light'}):
report.set_fail_threshold(0.038)
if (test_dir_name in {'light', 'camera'}):
report.set_fail_threshold(0.02)
report.set_fail_percent(4)
if (test_dir_name in {'volume', 'openvdb'}):
report.set_fail_threshold(0.048)
report.set_fail_percent(3)
ok = report.run(args.testdir, args.blender, get_arguments, batch=args.batch)
sys.exit(not ok)