Tests: Add intial tests for the OSL camera

This commit adds 4 tests covering the majority of the new features
added with the OSL camera feature.

Pull Request: https://projects.blender.org/blender/blender/pulls/139426
This commit is contained in:
Alaska
2025-07-07 19:08:44 +02:00
committed by Brecht Van Lommel
parent 7f1529dee0
commit b3cc9ed21b
38 changed files with 113 additions and 1 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.

BIN
tests/files/render/camera/osl_camera_advanced.blend (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
tests/files/render/camera/osl_camera_cubemap.blend (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
tests/files/render/camera/osl_camera_offset_in_volume.blend (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.

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.

View File

@@ -70,6 +70,8 @@ BLOCKLIST_OPTIX_OSL_LIMITED = [
'image_.*_osl.blend',
# OptiX OSL doesn't support the trace function
'osl_trace_shader.blend',
# Noise functions do not return color with OptiX OSL
'osl_camera_advanced.blend',
]
# Blocklist for SVM tests that fail when forced to run with OptiX OSL

View File

@@ -60,7 +60,9 @@ BLOCKLIST_METAL = [
# Blocked due to difference in mipmap interpolation (to be fixed).
"environment_mirror_ball.blend",
# Blocked due to difference in mipmap interpolation / anisotropic filtering (to be fixed).
"image.blend"
"image.blend",
# Blocked due to subtle differences in DOF
"osl_camera_advanced.blend",
]
BLOCKLIST_VULKAN = [