On this page |
Overview
This is a very simple Python script that starts up /ref/utils/hbatch and issues the commands to start a render.
Usage
To render a single frame
hrender options -c cop|-d rop file.hip imagefile
To render a frame range
hrender -e options -c cop|-d rop file.hip
You can specify either a compositing node/network with -c
(for example -c /img/imgnet
or -c /img/imgnet/cop1
) or a render node with -d
(for example -d /out/mantra1
).
Options
Tip
If you only specify one of -w
or -h
, the output will maintain the aspect ratio of the size specified on the node.
-w pixels
Output width.
-h pixels
Output height.
-b float
Image processing fraction (0.01
to 1.0
) when rendering a compositing network.
-t take_name
Take to use for rendering.
-o output
Output name. Use $F
in a filename to include the frame number.
-v
(Verbose) Print more information.
-I
Interleaved. See the render Hscript command.
Single frame
-F frame
Frame number to render in single frame mode.
Frame range
-f start end
Start and end frame to render (inclusive).
-i inc
Frame increment (for example, 2
renders every other frame).