Page 1 of 1

Altus Innobright

PostPosted: Sat May 28, 2016 1:32 pm
by Jolbertoquini
Hi Guys,

Just a quick question, I was wondering if anyone have a Lua script to render the passes need for Innobright denoiser,

I'm doing manually is working pretty well but is take a lot time to set then each time, so I was think a way to be automatic as batch render. (only the passes of course :) not the soft I have it already)

Very best,

Re: Altus Innobright

PostPosted: Mon May 30, 2016 2:18 am
by roeland
You can do something in the lines of:
Code: Select all
local rt = octane.render.getRenderTargetNode()
local passes = rt:getInputNode(octane.P_RENDER_PASSES)

-- enable any passes you need, for example direct lighting on diffuse materials
passes:setPinValue(octane.P_RENDER_PASS_DIFFUSE_DIRECT, true)

-- update render

Use the “Items” tab on the Lua API browser and find the NT_RENDER_PASSES entry to get a list of possible pin IDs to set.