we’re using Krakatoa 1.6.1 and Deadline 3.1 on WinXp. Max 2009.
The renderslaves are Win7/64.
If we enable Render Elements in Max and render directly from Max they get written out correctly. But if we submit our jobs to deadline they don’t come out. Only the beauty pass does.
We tried playing with the 3dsMax Pathing Options in the Deadline Submitter (Update Render Elements Path, Update RE Filenames) but that didn’t help.
Without looking at the code of the old submitter, I have the gut feeling that older versions of Deadline had some lines to explicitly turn off rendering of Render Elements when Krakatoa was the renderer because earlier versions of Krakatoa did not support Render Elements, but elements from previous renderers could have remained hidden. I am not 100% sure your case is that, but since you are running Deadline 3.x, it is quite possible. You can check this by submitting a Max file to Deadline, then opening the Max file from the Repository and looking at the Render Elements tab - are all elements still there? Are they enabled?
I could be remembering incorrectly though…
When I get to the office, I will look through the version control to see what older versions of Deadline did to Krakatoa render elements and will let you know…
Surprisingly, I was right.
Looking at a revision of the SubmitMaxToDeadline_Functions.ms from around November 24, 2009, I found the following code:
--if rendering with krakatoa, ignore render elements
-- if output file is empty, check if rendering with vray and saving a raw image, and ignore render elements if so
if (renderers.current.classid as string == "#(-1204370534, -399920359)") or (renderers.current.classid as string == "#(1941615238, 2012806412)" and renderers.current.output_on and renderers.current.output_rawFileName != undefined and renderers.current.output_rawFileName != "" ) then
format "IgnoreRenderElements=1\n" to:JobInfoFile
else
format "IgnoreRenderElements=0\n" to:JobInfoFile
In short, if the classid of the renderer is found to be the one of Krakatoa - #(-1204370534, -399920359), the line “IgnoreRenderElements=1” is written into the Job file and Deadline will ignore them. As mentioned, this was added to avoid orphaned Render Elements from Scanline or VRay to hide in the Render Elements Manager which Krakatoa did not use until v1.6.0. The Render Elements tab was hidden so it wasn’t even possible to see them, but they were lurking around…
You can fix your Repository copy of the file SubmitMaxToDeadline_Functions.ms by removing the Krakatoa ClassID check, like this:
if (renderers.current.classid as string == "#(1941615238, 2012806412)" and renderers.current.output_on and renderers.current.output_rawFileName != undefined and renderers.current.output_rawFileName != "" ) then