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,
JO
Octane Render for Maya.
https://vimeo.com/jocg/videos
https://www.linkedin.com/in/jocgtd
http://www.hmxmedia.com/
--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/LXEQaqqfN15w
User avatar
Jolbertoquini
Licensed Customer
Licensed Customer
 
Posts: 961
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
octane.changemanager.update()


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.

--
Roeland
User avatar
roeland
OctaneRender Team
OctaneRender Team
 
Posts: 1741
Joined: Wed Mar 09, 2011 10:09 pm

Return to Lua Scripting


Who is online

Users browsing this forum: jigenMal and 1 guest

Mon Nov 18, 2019 10:46 am [ UTC ]