daland_twist Posted August 18, 2009 Share Posted August 18, 2009 Hi Everyone, I am using Hqueue to render from Nuke. I am working on a more elegant solution that can be fired off from within Nuke this week, but thought I would share what I have so far. It's super simple right now, I am still working on making each frame a child of the job to keep the Render Que tidy. Anyways, it's a start. Once I have the nuke submission gui done I'll post it up. Thank you SESI for giving us HQUEUE it has made bringing Houdini back into our studio a whole lot easier. There are a lot of uses for HQUEUE beyond just rendering frames and sims. -david ---------------- import xmlrpclib #HUKE # Connect to the HQueue server. hq_server = xmlrpclib.ServerProxy("http://greenmeanie:5000") J = 1 while J <= 55: # Render Nuke thru HQUEUE". job_spec = { "name": "HUKE RENDER SUBMISSION %s" % (J), "shell": "bash", "command": "/usr/local/Nuke5.1v5/Nuke5.1 -tix /xraid/people/daland/xxx.nk %s" % (J) } # Submit the job to the server. # newjob() returns a list of job ids (in case multiple jobs are passed in at once). job_ids = hq_server.newjob(job_spec) J = J + 1 -------------------------- Quote Link to comment Share on other sites More sharing options...
varomix Posted August 18, 2009 Share Posted August 18, 2009 wow, that seems very simple David, a lot of other stuff could be done with that thanks for sharing Quote Link to comment Share on other sites More sharing options...
Jason Posted August 19, 2009 Share Posted August 19, 2009 Good to see mods to HQueue start showing up! Well done! Quote Link to comment Share on other sites More sharing options...
stevenong Posted August 19, 2009 Share Posted August 19, 2009 Great stuff David! Let the HQueue mods begin! Cheers! steven Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.