GPUOpen-LibrariesAndSDKs / RadeonProRenderBlenderAddon

This hardware-agnostic rendering plug-in for Blender uses accurate ray-tracing technology to produce images and animations of your scenes, and provides real-time interactive rendering and continuous adjustment of effects.
https://gpuopen.com/radeon-prorender-suite/
Apache License 2.0
486 stars 57 forks source link

RPR Test Script #686

Open spenceau opened 3 months ago

spenceau commented 3 months ago

PURPOSE

Test Script to automate testing for RPR Blender Plug-in

EFFECT OF CHANGE

cmd_render.py is a wrapper file that unzips the plugin and calls relevant files add_script.py adds the subdir that extracted rprblender build to bpy.context.preferences.filepaths.script_directories final_render.py to generate Final Render in background remove_script.py to remove build subdir from bpy.context.preferences.filepaths.script_directories and copy over crash logs from LOCALAPPDATA in case of a failed render compare_render.py to compare Final Render with Ground Truth using Pixel Wise MSE and SSIM //viewport_render.py to generate Viewport Render (using final as specified) via opening Blender in foreground

run_render.cmd for Windows run_render.sh for Ubuntu/Linux

this is stored within cmd_tools/test_script

TECHNICAL STEPS

see README

NOTES FOR REVIEWERS

cmd_tools/test_script/README.md specifies that this requires Python 3.11 viewport_render.py is deprecated as viewport render will probably not be used in the testing pipeline?

odil24 commented 2 months ago

@spenceau What PR does?