I just realized that the frame counts start at zero (0). I changed my command to this…
~/graphics/OctaneRender_Studio_2020_2_linux/octane --no-gui --script ./cmdBatchRender.lua -a /archive/test -a EXRTONEMAPPED -a 0 -a 0 -a 1000 -a “Render target”
Now I’m getting this error…
[string “cmdBatchRender.lua”]:470: No render targets in this project. (line: 470)
This tells me that the script can not find the render target. I’m pretty sure that how to pull the render targets has changed over the years. The script might be using an old method that no longer works. Here is what the code is doing…
-- fetch all the render target nodes
local renderTargetNodes = gSettings.sceneGraph:findNodes(octane.NT_RENDERTARGET, true)
-- if no render targets are found -> error out
if #renderTargetNodes == 0 then
error("No render targets in this project.")
end
I will look into how the current method works and see if I can fix the script.