hydraRender -cf and -f implemented and tested. - #495
Conversation
| endfunction() | ||
|
|
||
| # Discover the mayabatch executable (Windows only; macOS/Linux use maya -batch). | ||
| if(IS_WINDOWS) |
There was a problem hiding this comment.
On Windows the proper way to invoke Maya batch is through the mayabatch executable. On macOS and Linux it is maya -batch.
| endif() | ||
|
|
||
| # | ||
| # mayaHydra_add_mayabatch_render_test( <scene_file_labeled> |
There was a problem hiding this comment.
Identical to mayaHydra_add_cmd_line_render_test() but invokes Maya batch directly to generate an image (through a supplied MEL script) rather than invoking the Render executable. Still uses idiff to perform the image comparison.
There was a problem hiding this comment.
The batch renderer can now optionally carry the frames to be rendered. Used to implement render current frame and render frame.
There was a problem hiding this comment.
Implement the -cf and -f flags, and set the render times onto the batch renderer.
There was a problem hiding this comment.
Batch renderer now stores the render times.
There was a problem hiding this comment.
Simple Maya batch MEL script to test render current frame (hydraRender -cf).
There was a problem hiding this comment.
Simple Maya batch MEL script to render an arbitrary frame (hydraRender -f).
| ) | ||
| endforeach() | ||
|
|
||
| set(ARNOLD_MAYABATCH_RENDER_SCENES |
There was a problem hiding this comment.
New list of tests to run with Maya batch as the source of rendered images, rather than the Render executable.
The hydraRender command now supports current frame (-cf) and frame (-f) renders. This is useful when implementing render current frame and render sequence blocking functionality from within Maya, without the use the of the command line Render executable.