Deadline 5.2 - Max 2013 - VRay - Sanity Check

Hello guys,

I’m making some tests with Deadline 5.2 + 3ds Max 2013 + VRay and it’s working pretty good! But there is one problem going on! If I send the job with the VRay Frame Buffer enabled it doesn’t save the render elements. When I turn if off it renders ok. This is not a big problem, but I always use the VFB to make render tests and it won’t be hard to submit a job and forget to disabled it. I believe this can’t be fixed easily, so I thought about making a personal sanity check to check if the VFB is enabled or to check if the Render Elements are enabled (because when you turn VFB on it turns off the Render Elements). Anyone can help me with that?

Cheers!

Here’s an example of this that should work:
viewtopic.php?f=11&t=7842&p=32851&hilit=sanity+vray#p32853

If you have any problems with it, let us know!

Cheers,

  • Ryan

VRay Frame Buffer great for scene setup, but Deadline RE path changes more preferably while rendering. And if you switch on ‘Enable Built-In Frame Buffer’ in V-Ray options, it’s automatically switches off ‘Enable’ in Render Elements tab. That’s why you need switch on VFB on each scene setup and switch off it on each Deadline submission. Of course, you can switch on VFB and switch on ‘Separate render channels’, but it’s not so comfortably like Deadline RE. There is no relationship with region rendering, as reffered above. I’ve added some code to Sanity Check in Deadline 6:

In SubmitMaxToDeadline_SanityCheck_General.ms after ‘CheckForTileRenderAndVrayVfb’ function

fn CheckForRenderElementsAndVrayVfb =
(
	reMgr = maxOps.GetCurRenderElementMgr()
			
	if (reMgr.numrenderelements() > 0) and (renderers.current.output_on) and (not renderers.current.output_splitgbuffer) then
		false
	else
		true
),

In SMTD_RepairFunctions array:

fn FixRenderElementsAndVrayVfb =
(
	renderers.current.output_on = false
),

and in global SMTD_SanityChecksToPerform array:

#(SMTD_SanityCheckFunctions.CheckForRenderElementsAndVrayVfb, #fix, "Vray VFB is currently on. Possibly, Render Elements will not be saved.", SMTD_RepairFunctions.FixRenderElementsAndVrayVfb, true),
		

And now I use Deadline 7, but there still no this Sanity Check. And I should transfer this function from Deadline 6 manually. Why you wouldn’t add this simple check as a standart function?

Hi,
This sanity check has been added to upcoming Deadline v7.1. Sorry, for the long wait, but this feature just unfortunately dropped to the bottom of a very big pile. On the flipside, this sanity check is actually one of about 12 x new sanity checks that have been added in Deadline v7.1, based on feedback from many 3dsMax based studios. Indeed for the time being, feel free to copy ‘n’ paste the code to get this function working for you ASAP.
Sorry for any inconvenience caused.