Bucket order max9 mental ray

Hello



When sending mental ray renders to deadline with latest version of the SDT v2.6 - on max 9 64bits, - the bucket order setting from the render panel (default set to hilbert) is not passed correctly; it is passed as right to left.



Is that a bug in the script?



tks

Olivier

It is possible that it is a bug in the script, but I checked both Max 8 and 9 32 bit at home and both have Hilbert (best) as the first option on the list, so I don’t expect that to be different in 64 bit, but I cannot check from here.



Until we figure what is causing it, you can go to the Options tab and uncheck the option to save additional renderer information for mental ray. In 99% of the cases, that information is not needed (it is there to allow you to tweak the renderer AFTER the submission while in the Monitor>Job Properties>3dsmax tab.)



Alternatively, you could go to the file



…\DeadlineRepository\plugins\3dsmax9\customize.ms



locate and remark the following porition of the code:



–Special case handling code for Task Order enums:

local theVal = DeadlineUtil.GetJobInfoEntry “mentalray_TaskOrder_enums”

if theVal != undefined do (

local theArray = #(“Hilbert (best)”, “Spiral”, “Left to right”, “Right to left”, “Top-down”, “Bottom-up”)

local theIndex = findItem theArray theVal

if theIndex > 0 then (

try (

renderers.current.TaskOrder= theIndex-1

DeadlineUtil.LogMessage (" +Bucket Order set to " + theVal )

)catch

DeadlineUtil.LogMessage (" --Failed to set Bucket Order to " + theVal )

)

)



by placing it inside of /* / remarks:



/


–Special case handling code for Task Order enums:

local theVal = DeadlineUtil.GetJobInfoEntry “mentalray_TaskOrder_enums”

if theVal != undefined do (

local theArray = #(“Hilbert (best)”, “Spiral”, “Left to right”, “Right to left”, “Top-down”, “Bottom-up”)

local theIndex = findItem theArray theVal

if theIndex > 0 then (

try (

renderers.current.TaskOrder= theIndex-1

DeadlineUtil.LogMessage (" +Bucket Order set to " + theVal )

)catch

DeadlineUtil.LogMessage (" --Failed to set Bucket Order to " + theVal )

)

)

*/



This will disable the enforcement of the task order.



If neither fixes the problem, it could be a deeper problem than just the script…





Regards,



Borislav “Bobo” Petrov

Technical Director 3D VFX

Frantic Films Winnipeg