RadeonProRenderBlenderAddon icon indicating copy to clipboard operation
RadeonProRenderBlenderAddon copied to clipboard

RPR Test Script

Open spenceau opened this issue 1 year ago • 1 comments

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?

spenceau avatar Jun 21 '24 22:06 spenceau

@spenceau What PR does?

odil24 avatar Aug 02 '24 04:08 odil24