Lua script rendering verbosity in stdout or stderr
Posted: Tue Dec 03, 2019 5:48 pm
I am new to lua scripting/octane api. I have been trying to find the proper way to get more render statistics/verbosity to print to stdout or stderr via script. I took the code below from the batch rendering script and was hoping I could modify it with flags to get more output. I saw the statisticsCallback in PROPS_RENDER_START, but I am just too new to lua and the api to get the syntax correct. Any help is appreciated.
Code: Select all
if not skipFrame then
octane.render.start
{
renderTargetNode = renderTarget.node,
callback = function()
if gSettings.cancelled then
octane.render.callbackStop()
end
end
}
end