Ryan,
I ran a simple test again today, alternating between MayaCmd and MayaBatch, and still continue to get image artifacts with MayaBatch. I will upload the job files, maya and image files I used to create the issue. I also enabled the mel script output, so I will include a log from a frame that has a render issue (frame 1257) - Iâll circle the issue on the Jpeg I included⌠One thing that I did notice is that by making the path to the texture file relative to the project, and making sure the project was set correctly in the deadline submitter seemed to reduce the amount of errors, but MayaCmd had no problems when the texture was hard coded and the maya project in the deadline submitter was not necessarily correct.
There is an image labeled: Frame1260_OutOfProject.png - you will notice that this is much more extreme then the Frame1257 error. The only difference between the renders was that the sourceimage was local to the project, and the more extreme errors came from a machine limit of 50, as opposed to a machine limit of 10 for the Frame1257 error.
Also, I did confirm that I do find some changes between beta 3 and beta 4 MayaBatch.py when I check them into perforce and compareâŚ
For example, new in beta 4:
def CleanupDeadlinePlugin( deadlinePlugin ):
deadlinePlugin.Cleanup()
def Cleanup(self):
del self.InitializeProcessCallback
del self.StartJobCallback
del self.RenderTasksCallback
del self.EndJobCallback
if self.Process:
self.Process.Cleanup()
del self.Process
def Cleanup(self):
for stdoutHandler in self.StdoutHandlers:
del stdoutHandler.HandleCallback
del self.InitializeProcessCallback
del self.RenderExecutableCallback
del self.RenderArgumentCallback
But that seems to be related to the feature request we had to cleanup old data files⌠I hope this helps you debug it - as MayaBatch does run much faster and efficiently - but MayaCmd is our current workaround for consistent renders.
I included it in the zip, but here is a chunk of the mel script it is running. Is this something that I can share with Solid Angle?
=======================================================
Log
0: Task timeout is disabled.
0: Plugin rendering frame(s): 1257
0: INFO: Waiting until maya is ready to go
0: STDOUT: mel: READY FOR INPUT
0: INFO: Rendering with arnold
0: INFO: Rendering to network drive
0: INFO: Creating melscript to execute
0: INFO: Script contents:
0: INFO:
////////////////////////////////////////////////////////////////////////////
// Starting Mel program
proc renderIt(string $name) {
string $opt=""; string $rl=""; string $rp=""; float $resize=-1.; loadPlugin -quiet mtoa;;
removeRenderLayerAdjustmentAndUnlock defaultRenderGlobals.animation; setAttr defaultRenderGlobals.animation 1; removeRenderLayerAdjustmentAndUnlock defaultRenderGlobals.startFrame; setAttr defaultRenderGlobals.startFrame 1257;
removeRenderLayerAdjustmentAndUnlock defaultRenderGlobals.animation; setAttr defaultRenderGlobals.animation 1; removeRenderLayerAdjustmentAndUnlock defaultRenderGlobals.endFrame; setAttr defaultRenderGlobals.endFrame 1257;
removeRenderLayerAdjustmentAndUnlock defaultRenderGlobals.byFrameStep; catch(setAttr defaultRenderGlobals.byFrameStep 1
);
removeRenderLayerAdjustmentAndUnlock defaultRenderGlobals.imageFilePrefix; catch(setAttr -type "string" defaultRenderGlobals.imageFilePrefix "<RenderLayer>/v007/<Camera>/won_tstRenderFarm01_fx_turnTable_baseMayaBatch_<RenderLayer>_v007_<Camera>"
);
workspace -fr âimagesâ âM:/trsa/won/assets/env/testAssGrp/tstRenderFarm01/elements/renders/fx/turnTable/baseâ;workspace -fr âdepthâ âM:/trsa/won/assets/env/testAssGrp/tstRenderFarm01/elements/renders/fx/turnTable/baseâ;workspace -fileRule âimagesâ âM:/trsa/won/assets/env/testAssGrp/tstRenderFarm01/elements/renders/fx/turnTable/baseâ;
removeRenderLayerAdjustmentAndUnlock defaultResolution.width; catch(setAttr defaultResolution.width 2048
);
removeRenderLayerAdjustmentAndUnlock defaultResolution.height; catch(setAttr defaultResolution.height 764
);
removeRenderLayerAdjustmentAndUnlock defaultArnoldRenderOptions.log_console_verbosity; catch(setAttr defaultArnoldRenderOptions.log_console_verbosity 4
);
$rl=âbeautyâ;
removeRenderLayerAdjustmentAndUnlock defaultArnoldRenderOptions.renderType; catch(setAttr defaultArnoldRenderOptions.renderType 0
);
setMayaSoftwareLayers($rl, $rp); setImageSizePercent($resize); mayaBatchRenderProcedure(0, ââ, ââ, ââ, ââ);
}
//
// Main part
//
string $sceneName = âM:\trsa\won\assets\env\testAssGrp\tstRenderFarm01\tasks\fx\turnTable\rel\v007\maya\scenes\won_tstRenderFarm01_fx_turnTable_base_v007.maâ;
string $checkScene = file -q -sn
;
if ($checkScene=="") {
error (âCannot load scene. Please check the scene name.\nâ);
} else if (catch(renderIt($sceneName)
)) {
error (âRender failed.\nâ);
} else {
print (âRender completed.\nâ);
}
// Ending Mel program
Let me know if there is anything else I can provide!