so here is an advanced LUA script for that.
This is a hack based on the batch rendering script shipping with Octane.
USAGE:
--script
path to this script -a
output path -a
render targets -a
image format -a
start frame -a
end frame -a
max samples(arguments -a are optional)
- If no render targets name arguments are provided in the command line, then all render targets are rendered.
- if no start/end frame argument is provided then the entire timeline is rendered.
- If no output path argument is provided, an "images" folder is created for that next to the orbx/ocs file.
- Number arguments have an expected order : start frame, end frame, max samples. (as the script have no way to guess which number argument is for what)
- Image format for a specific render target must be declared before the render target.
Windows command line example :
- Code: Select all
octane.exe C:\test.orbx --no-gui --script C:\cmdBatchRender.lua -a C:/images/ -a 1 -a 100 -a 1024 -a EXR16 -a renderTarget1
keywords for image format : PNG8, PNG16, EXR16, EXR16TONEMAPPED, EXR, EXRTONEMAPPED
Default settings are easy to change at the top of the script.