Altus Innobright

Forums: Altus Innobright
Forum for OctaneRender Lua scripting examples, discussion and support.

Altus Innobright

Postby Jolbertoquini » Sat May 28, 2016 1:32 pm

Jolbertoquini Sat May 28, 2016 1:32 pm
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,
Octane Render for Maya.
Join MAYA OCTANE USERS Skype discussion here :
User avatar
Licensed Customer
Licensed Customer
Posts: 999
Joined: Sun Aug 31, 2014 7:08 am
Location: London

Re: Altus Innobright

Postby roeland » Mon May 30, 2016 2:18 am

roeland Mon May 30, 2016 2:18 am
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.

User avatar
OctaneRender Team
OctaneRender Team
Posts: 1753
Joined: Wed Mar 09, 2011 10:09 pm

Return to Lua Scripting

Who is online

Users browsing this forum: No registered users and 2 guests

Thu Oct 22, 2020 11:38 pm [ UTC ]