roeland wrote:There are no arguments to choose which frame to render. There are no arguments to set up a lot of other recent features like render layers and passes either.
The way to set these up is via a simple script which is run before starting the render.
This script for example just changes the current frame (by updating the time). You can pass the current frame as a parameter on the command line. (accessible via the `arg` table):
- Code: Select all
local frame = tonumber(arg[1])
octane.project.getSceneGraph():updateTime(frame / 24)
Note that it assumes 24 frames per second. You can change that number if your frame rate is different.
You then tell Octane to run this script (
--script
) and add the argument for the script (
-a
) So to render frame #1:
- Code: Select all
octane.exe ... --script setframe.lua -a 1
For more complicated things you can just run a script and do all the rendering from within this script. Octane comes with a built-in batch render script.
--
Roeland
Hi Roeland,
I have the same issue here we have problems with deadline and we though right let's do a quick script with a least of orbx to be render out as sequence like Maya/Nuke?arnold and etc
I just find out I need write a Lua script for each scene in particular to leave running overnight because Commandline doesn't have a command for Frame range I mean is a nightmare and is cool the batch remdering script but how I use in multiple scenes without be all on the same orbx also they have different frame ranges.
I'm not a crazy script writer or LUA script expert, we just need a simple command like other first subframe and subframe for the end.
I would appreciate that. maybe is already there but I have no idea how to use??
well right now we have to run on batch render mode and being check overnight when is finish to open one other scene and do it again, I know is quite dumb but without knowledge of Lua is not easier.
Hope we get a simple way with Octane we use Deadline but with a Terrible support for Octane jobs.
Cheers,
JO