Hi,
Got potentially 2 initial issues, which in turn, reveals other possible issues!:
- In SMTD, by default, “Compose Over Previous Output” is enabled by default. Would be better for this to be disabled as this is more like the original way users use Region/Tile Rendering and it’s also not so destructive in that it doesn’t potentially overwrite a file! I assume there are also sticky/defaults available for this setting?
Carrying on with the issue above, with “Compose Over Previous Output” enabled and I got this error message:
=======================================================
Error
Draft Tile Assembler Failed see log for more details.
at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)
=======================================================
Type
RenderPluginException
=======================================================
Stack Trace
at Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)
=======================================================
Full Log
0: Loaded plugin: DraftTileAssembler
0: Task timeout is disabled.
0: Loaded job: DraftTileRenderingTest_MultiRegions_SingleFrame - Tile Assembly Job (52289d7671bd0c0f545d64c3)
0: INFO: Executing plugin script C:\Users\owenm\AppData\Local\Thinkbox\Deadline6\slave\WIN7X64\plugins\DraftTileAssembler.py
0: INFO: Found Draft python module at: ‘C:\Users\owenm\AppData\Local\Thinkbox\Deadline6\slave\WIN7X64\Draft\Draft.pyd’
0: INFO: About: Draft Tile Assembler Plugin for Deadline
0: INFO: The current environment will be used for rendering
0: Plugin rendering frame(s): 0
0: INFO: Draft tile assembler job starting…
0: INFO: Stdout Handling Enabled: True
0: INFO: Popup Handling Enabled: False
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: True
0: INFO: Creating New Console: False
0: INFO: Looking for bundled python at: ‘C:\Program Files\Thinkbox\Deadline6\bin\dpython.exe’
0: INFO: Render Executable: “C:\Program Files\Thinkbox\Deadline6\bin\dpython.exe”
0: INFO: Render Argument: “C:\Users\owenm\AppData\Local\Thinkbox\Deadline6\slave\WIN7X64\plugins\Assembler.py” “C:\Users\owenm\AppData\Local\Temp\draft_tile_config0_thread0.txt” True True True
0: INFO: Startup Directory: “C:\Users\owenm\AppData\Local\Thinkbox\Deadline6\slave\WIN7X64\Draft”
0: INFO: Process Priority: BelowNormal
0: INFO: Process Affinity: default
0: INFO: Process is now running
0: STDOUT: Checking for license at @mbp.local
0: STDOUT: Draft 1.0.1.50572
0: STDOUT: Unable to read background source image C:\MultiRegionRenderTests\PNG\test0000.png
0: STDOUT: Draft Tile Assembler Failed see log for more details.
0: An exception occurred: Draft Tile Assembler Failed see log for more details.
at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel) (Deadline.Plugins.RenderPluginException)
So, it’s looking for a background image…but in the config file (one for each Render Element / beauty pass; which I assume is correct?) it has the following values:
ImageFileName=C:\MultiRegionRenderTests\PNG\test0000.png
ErrorOnMissingBackground=False
BackgroundSource=C:\MultiRegionRenderTests\PNG\test0000.png
TileCount=112
TilesCropped=True
DistanceAsPixels=True
ImageWidth=640
ImageHeight=480
Tile0FileName=C:\MultiRegionRenderTests\PNG\test_region_1_0000.png
Tile0X=0
Tile0Y=360
Tile1FileName=C:\MultiRegionRenderTests\PNG\test_region_2_0000.png
Tile1X=160
Tile1Y=360
Tile2FileName=C:\MultiRegionRenderTests\PNG\test_region_3_0000.png
Tile2X=320
Tile2Y=360
Tile3FileName=C:\MultiRegionRenderTests\PNG\test_region_4_0000.png
Tile3X=480
Tile3Y=360
Tile4FileName=C:\MultiRegionRenderTests\PNG\test_region_5_0000.png
However, various issues here:
(a) I rendered at frame 50, so Draft Tile Submission isn’t respecting the frame number being submitted via SMTD.
(b) ErrorOnMissingBackground=False - so, even though I didn’t want to compose over an existing image, with this value set to FALSE, shouldn’t it have worked anyway?
next issue:
- OK, with the SMTD setting “Compose Over Previous Output” now disabled, I re-submit. Still in-correct frame number and Draft errors with the message:
=======================================================
Error
Draft Tile Assembler Failed see log for more details.
at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)
=======================================================
Type
RenderPluginException
=======================================================
Stack Trace
at Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)
=======================================================
Full Log
0: Loaded plugin: DraftTileAssembler
0: Task timeout is disabled.
0: Loaded job: DraftTileRenderingTest_MultiRegions_SingleFrame - Tile Assembly Job (5228ab2571bd0c04a0c2ad2d)
0: INFO: Executing plugin script C:\Users\owenm\AppData\Local\Thinkbox\Deadline6\slave\WIN7X64\plugins\DraftTileAssembler.py
0: INFO: Found Draft python module at: ‘C:\Users\owenm\AppData\Local\Thinkbox\Deadline6\slave\WIN7X64\Draft\Draft.pyd’
0: INFO: About: Draft Tile Assembler Plugin for Deadline
0: INFO: The current environment will be used for rendering
0: Plugin rendering frame(s): 0
0: INFO: Draft tile assembler job starting…
0: INFO: Stdout Handling Enabled: True
0: INFO: Popup Handling Enabled: False
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: True
0: INFO: Creating New Console: False
0: INFO: Looking for bundled python at: ‘C:\Program Files\Thinkbox\Deadline6\bin\dpython.exe’
0: INFO: Render Executable: “C:\Program Files\Thinkbox\Deadline6\bin\dpython.exe”
0: INFO: Render Argument: “C:\Users\owenm\AppData\Local\Thinkbox\Deadline6\slave\WIN7X64\plugins\Assembler.py” “C:\Users\owenm\AppData\Local\Temp\draft_tile_config0_thread0.txt” True True True
0: INFO: Startup Directory: “C:\Users\owenm\AppData\Local\Thinkbox\Deadline6\slave\WIN7X64\Draft”
0: INFO: Process Priority: BelowNormal
0: INFO: Process Affinity: default
0: INFO: Process is now running
0: STDOUT: Checking for license at @mbp.local
0: STDOUT: Draft 1.0.1.50572
0: STDOUT: 16FileName missing from configuration file
0: STDOUT: Draft Tile Assembler Failed see log for more details.
0: An exception occurred: Draft Tile Assembler Failed see log for more details.
at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel) (Deadline.Plugins.RenderPluginException)
Here is one of the RE config files:
ImageFileName=C:\MultiRegionRenderTests\PNG\VRayVelocity_VRayVelocity\test_VRayVelocity0000.png
TileCount=112
TilesCropped=True
DistanceAsPixels=True
ImageWidth=640
ImageHeight=480
Tile0FileName=C:\MultiRegionRenderTests\PNG\test_region_1_0000.png
Tile0X=0
Tile0Y=360
Tile1FileName=C:\MultiRegionRenderTests\PNG\test_region_2_0000.png
Tile1X=160
Tile1Y=360
Tile2FileName=C:\MultiRegionRenderTests\PNG\test_region_3_0000.png
Tile2X=320
Tile2Y=360
Tile3FileName=C:\MultiRegionRenderTests\PNG\test_region_4_0000.png
Tile3X=480
Tile3Y=360
Tile4FileName=C:\MultiRegionRenderTests\PNG\test_region_5_0000.png
Tile4X=0
Tile4Y=240
Tile5FileName=C:\MultiRegionRenderTests\PNG\test_region_6_0000.png
Tile5X=160
Tile5Y=240
Tile6FileName=C:\MultiRegionRenderTests\PNG\test_region_7_0000.png
Tile6X=320
Tile6Y=240
Tile7FileName=C:\MultiRegionRenderTests\PNG\test_region_8_0000.png
Tile7X=480
Tile7Y=240
Tile8FileName=C:\MultiRegionRenderTests\PNG\test_region_9_0000.png
Tile8X=0
Tile8Y=120
Tile9FileName=C:\MultiRegionRenderTests\PNG\test_region_10_0000.png
Tile9X=160
Tile9Y=120
Tile10FileName=C:\MultiRegionRenderTests\PNG\test_region_11_0000.png
Tile10X=320
Tile10Y=120
Tile11FileName=C:\MultiRegionRenderTests\PNG\test_region_12_0000.png
Tile11X=480
Tile11Y=120
Tile12FileName=C:\MultiRegionRenderTests\PNG\test_region_13_0000.png
Tile12X=0
Tile12Y=0
Tile13FileName=C:\MultiRegionRenderTests\PNG\test_region_14_0000.png
Tile13X=160
Tile13Y=0
Tile14FileName=C:\MultiRegionRenderTests\PNG\test_region_15_0000.png
Tile14X=320
Tile14Y=0
Tile15FileName=C:\MultiRegionRenderTests\PNG\test_region_16_0000.png
Tile15X=480
Tile15Y=0
So issues:
(a) The Tiles are 0-index based whilst the regions are 1-index based! Confusing! Can we fix?
(b) Shouldn’t the png filenames match the particular Render Element listed at the top of the config file and NOT reference the main beauty pass?
© wrong frame number
(d) error: “16FileName missing from configuration file” - I assume is due to the 0-index issue above?
That’s it for now. Unfortunately, I think I’m going to need some of this fixing before I can really put MultiRegion-SingleFrame rendering through it’s paces
(I also saw Paul’s note about Draft not currently supporting Multi-Channel EXR files? - The current TileAssembler supports this and is very important!)