Jump to content

HUKE rendering Nuke on Hqueue


daland_twist

Recommended Posts

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

--------------------------

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...