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.
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?
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 frombpy.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 foregroundrun_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?