PDA

View Full Version : Backburner Job Dependencies


Klonsemann
01-02-2009, 11:42 AM
Im developing a MaxScript which helps us to render multiply CamStills with precalced LightCaches via Backburner.

1. Rendering all LCPrecalc Jobs on all available servers.
2. Rendering the following FinalJobs with VrayRD enabled

I like to use the JobDependencies to render the LCprecalc Job first.
But MaxScript Jobhandle does not support the dependencie feature :( .

I played around with the cmdJob.exe feature of Backburner which support dependencies, but i dont get it to describe a 2nd MaxRenderJob.
The cmdJob.exe is for calling any other executable via Backburner.

Any suggestions on that ?

ZeBoxx2
01-02-2009, 12:44 PM
try this thread, it should have information on how to set a job with dependencies when submitting (via the command line render) and how to set an existing job to have dependencies (via python):
http://forums.cgsociety.org/showthread.php?f=98&t=692735&highlight=dependencies

Klonsemann
01-02-2009, 03:11 PM
Thanks for Reply,

I build a nice MaxScript only slove using persistent global variable in the Precalc Job and a Callback mechanism.

function getting a jobs name string

fn resumeBackburnerJob job = (
print "execute startBackburnerJob"
manager = netrender.getmanager()
manager.connect #automatic "255.255.255.0"
if manager.connected then (
hasControl = manager.GetControl()
if not hasControl then manager.QueryControl #wait
jobs = manager.getjobs filter:#name key:job
if jobs.count > 0 then (
manager.QueryControl #wait
jobs[1].Resume()
print ("Resume Backburner Job " + job)
)
)
)

CGTalk Moderation
01-02-2009, 03:11 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.