hou.RopNode.render method
Renders an output driver and optionally any of its inputs. Inputs are recursively processed, unless ignore_inputs is set to True, so that all descendents are rendered in the proper order before the output node is rendered.
render(self, frame_range=(), res=(), output_file=None, output_format=None, to_flipbook=False, quality=2, ignore_inputs=False, method=RopByRop, ignore_bypass_flags=False, ignore_lock_flags=False)
The frame_range parameter takes 2 or 3 values, and overrides the frame range and frame increment to render. The first two values specify the start and end frames, and the third value (if given) specifies the frame increment. If no frame increment is given and the ROP node doesn’t specify a frame increment, then a value of 1 will be used. If no frame range is given, and the ROP node doesn’t specify a frame range, then the current frame will be rendered.
The res parameter specifies two scaling factors that will be used to scale the resolution of the image, along the x- and y-axis respectively. The scaling factors will be applied to the node and all dependencies that are also rendered.
The output_file overrides the location to which the image is written.
The output_format overrides the format of the image.
If to_flipbook is set to True, the node will be rendered to a flipbook.
The render quality can be specified using the quality parameter.
The ignore_inputs flag specifies that only the node, and none of its dependencies, should be rendered.
Nodes can be rendered either ROP by ROP or frame by frame. By default, ROP by ROP is specified, and each ROP will render its entire sequence before proceeding to the next ROP. If frame by frame is selected and a sequence is rendered, then all ROPs will render the first frame, then the second, etc. The valid values are hou.renderMethod.RopByRop and hou.renderMethod.FrameByFrame. This parameter is only relevant when rendering ROPs in a dependency network.
The ignore_bypass_flags parameter can be used to ignore any bypass flags that have been set on the ROPs. They will render even if the flag is set.
The ignore_lock_flags parameter can be used to ignore any lock flags that have been set on the ROPs. They will render even if the flag is set.
Replaces: render
