Rendering LightPass IDs

Forums: Rendering LightPass IDs
Autodesk Maya (V2 Plugin developed by JimStar, V3 plugin developed by k.a.schubert)

Rendering LightPass IDs

Postby k.a.schubert » Mon Mar 07, 2016 3:03 am

k.a.schubert Mon Mar 07, 2016 3:03 am
Analog to Render Layer IDs, you use Light Pass IDs:

OctaneRender Settings
Step 1: Check "Light Pass ID" in the "info passes" tab, to actually render the Light Pass IDs.
Step 2: Then select them as a preview pass to display.

LightPassIDSettings.png


Attribute Editor
Step 3: Select a light pass ID in for example the emission node of your diffuse material.

LightPassID.png


Result:
LightPassIDResult.png
k.a.schubert
OctaneRender Team
OctaneRender Team
 
Posts: 137
Joined: Mon Feb 22, 2016 2:52 am

Re: Rendering LightPass IDs

Postby prodviz » Fri Mar 11, 2016 11:46 am

prodviz Fri Mar 11, 2016 11:46 am
Cool, cheers for the info.

Just a quick question, do the ID's go:

1 Red
2 Green
3 Blue

4 Red
5 Green
6 Blue

7 Red
8 Green
9 Blue
etc.
prodviz
Licensed Customer
Licensed Customer
 
Posts: 543
Joined: Sun Jul 14, 2013 6:00 pm

Re: Rendering LightPass IDs

Postby calus » Fri Mar 11, 2016 12:12 pm

calus Fri Mar 11, 2016 12:12 pm
nope...
Attachments
lightpassID.jpg
this is 8 point lights using the 8 possible light pass ID
Pascal ANDRE
--------------------
Maya 2016 SP6, Windows 7, 128 GB RAM
4x GTX 1070, driver 372.70
--------------------


--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/SEqj3F3Jfepe
--------------------
calus
Licensed Customer
Licensed Customer
 
Posts: 951
Joined: Sat May 22, 2010 9:31 am
Location: Paris

Re: Rendering LightPass IDs

Postby prodviz » Fri Mar 11, 2016 1:44 pm

prodviz Fri Mar 11, 2016 1:44 pm
Cheers.
Is there a way to make this R, G, B, R, G, B etc.
Makes things way easier for selecting and masking (when in RGB, of course :D).

Cheers
prodviz
Licensed Customer
Licensed Customer
 
Posts: 543
Joined: Sun Jul 14, 2013 6:00 pm

Re: Rendering LightPass IDs

Postby calus » Fri Mar 11, 2016 2:52 pm

calus Fri Mar 11, 2016 2:52 pm
well, just use light pass ID 1, light pass ID 2 and light pass ID 4, if you only want Red Green and Blue mask.
But there must a misunderstanding here, "light pass ID" pass has a very few usage, it only creates color mask for the 8 groups of emitters respectively responsible of the 8 light passes...
(actually there is 10 light passes with ambient and sun pass , but only 8 with ID)
Pascal ANDRE
--------------------
Maya 2016 SP6, Windows 7, 128 GB RAM
4x GTX 1070, driver 372.70
--------------------


--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/SEqj3F3Jfepe
--------------------
calus
Licensed Customer
Licensed Customer
 
Posts: 951
Joined: Sat May 22, 2010 9:31 am
Location: Paris

Re: Rendering LightPass IDs

Postby prodviz » Fri Mar 11, 2016 5:23 pm

prodviz Fri Mar 11, 2016 5:23 pm
I am after multiple mattes (so sorry, this might not be the right thread), so let's say I have 20 objects which I want to mask, I would need 20 separate mattes.
prodviz
Licensed Customer
Licensed Customer
 
Posts: 543
Joined: Sun Jul 14, 2013 6:00 pm

Re: Rendering LightPass IDs

Postby calus » Fri Mar 11, 2016 9:19 pm

calus Fri Mar 11, 2016 9:19 pm
The obvious choice would be the "Object ID" pass but it's broken at the moment ( I think K.A.Schubert is trying to take care of this ).

If you want to color correct objects but also depending on the shader, better to directly use the "shader ID" pass .

For unlimited number of mattes, use "render Layer ID" pass.
Though the primary purpose of the "render layer ID" pass is to easily control the contribution of the render layer dedicated passes ( Shadow and layer reflexion pass) .
But you can use "Render Layer ID" pass as a custom matte pass, assigning different render layer ID at whatever object you want.
And if you want only RED GREEN and BLUE mask, only use Render LAYER ID 1 , 2 et 4.

It's a bit tricky to get a "render layer ID" pass, details here :
viewtopic.php?f=28&t=53027

Also for this workflow better to render this pass alone with the Info Kernel, render much quicker.
Pascal ANDRE
--------------------
Maya 2016 SP6, Windows 7, 128 GB RAM
4x GTX 1070, driver 372.70
--------------------


--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/SEqj3F3Jfepe
--------------------
calus
Licensed Customer
Licensed Customer
 
Posts: 951
Joined: Sat May 22, 2010 9:31 am
Location: Paris

Return to Autodesk Maya


Who is online

Users browsing this forum: No registered users and 3 guests

Tue Oct 17, 2017 10:02 pm [ UTC ]