Skipping frames

   3060   1   3
User Avatar
Member
174 posts
Joined: March 2014
Offline
Hi,
Was trying some test render here but, the skip rendered frame is shamelessly missing, how do you solve that appart from installing a local render farm software ?
User Avatar
Staff
4162 posts
Joined: Sept. 2007
Offline
Good question, the way I'd do it is with a little hython script. This little snippet shows how to render a rop with a python script, you could just adapt it to submit jobs that excluded the rendered frames.


“”“
A simple script to kick off a certain ROP remotely, optionally
with a given framerange.
Usage: hython path/to/script/houBatch.py /path/to/hipfile /hou/path/to/rop
TODO: Add options for multiple ROPs, hperf.
”“”
import hou, sys

# Load the hip file
hou.hipFile.load(sys.argv)

# If framerange option, set it
#if sys.argv:
# hou.parmTuple( “%s/f” %(sys.argv) ).set((sys.argv,sys.argv,1.0))

# Start the render
hou.node(sys.argv).render()

# When finished, exit
sys.exit(0)

Having it as part of the ROP itself would make a good RFE! https://www.sidefx.com/index.php?option=com_content&task=view&id=768&Itemid=239 [sidefx.com]

Hope that helps!
I'm o.d.d.
  • Quick Links