Maya Renderman Pass Compositing

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  05 May 2012
Maya Renderman Pass Compositing

Hello all

I have problems in composition to assemble my passes, I'm not too familiar with Renderman passes.

I have all my passes needed and if I put them together in After Efect
I get that and I do not know why?




website where I have found reference pass and the composition in After Effects


I followed this tutorial from 3DVF.com

I get it which I think is better



it `s the password of Keylight, the question I ask myself that is if I do this for each of the lights (Fill rim ect)
I do not know how to assemble it all in After Effects.

Example: if I have 4 different composition in AE these compo I multiply them together or add I don`t no what to do?

I read this too, good explanation of passes

but I do not understand this part I think it `s an assembly that was different from the picture above After effect

Quote: result = SpecularDirect - SpecularDirectShadow + SpecularIndirect +
SpecularEnvironment + Ambient +
DiffuseDirect + Translucence - DiffuseDirectShadow +
DiffuseIndirect + DiffuseEnvironment + Backscattering +
Subsurface + Rim + Refraction + Incandescence



I hope which I have explained my problem well

Thank you in advance Lionel
__________________
http://megacortex.blogspot.com/
Forgive me for imperfect English language in my Posts!
 
  05 May 2012
Fixed

Hello

well I begin to understand more, I pass under Nuke visually for me, it is better

it`s a opration problem (add,Sceen,over ect) and layer order

thank you

__________________
http://megacortex.blogspot.com/
Forgive me for imperfect English language in my Posts!

Last edited by MegaCortex : 05 May 2012 at 12:30 AM.
 
  05 May 2012
You should only need plus and minus nodes for compositing these passes together (no screens or mults). In After Effects you would use the Add blend mode and if it doesn't have a Subtract blend mode then using the Difference blend mode should suffice. This calculation here...

 result = SpecularDirect - SpecularDirectShadow + SpecularIndirect +    SpecularEnvironment + Ambient +    DiffuseDirect + Translucence - DiffuseDirectShadow +    DiffuseIndirect + DiffuseEnvironment + Backscattering +    Subsurface + Rim + Refraction + Incandescence 
Looks like this inside Nuke...



The Plus11 node at the bottom right should match up with your beauty pass.

I hope that makes sense. Copy/paste the following into Nuke and replace each of the input nodes with read nodes if you want to try out the above node tree and see if it works.

set cut_paste_input [stack 0]
version 6.2 v1
BackdropNode {
 inputs 0
 name BackdropNode1
 tile_color 0x8e8e3800
 label Specular
 note_font_size 42
 selected true
 xpos -484
 ypos -481
 bdwidth 236
 bdheight 258
}
BackdropNode {
 inputs 0
 name BackdropNode2
 tile_color 0x6aff55ff
 label Diffuse
 note_font_size 42
 selected true
 xpos -499
 ypos -208
 bdwidth 249
 bdheight 331
}
BackdropNode {
 inputs 0
 name BackdropNode3
 tile_color 0x7171c600
 label "The Rest"
 note_font_size 42
 selected true
 xpos -470
 ypos 137
 bdwidth 219
 bdheight 242
}
Input {
 inputs 0
 name Incandescence
 selected true
 xpos -460
 ypos 321
 number 13
}
Input {
 inputs 0
 name Refraction
 selected true
 xpos -460
 ypos 295
 number 12
}
Input {
 inputs 0
 name Rim
 selected true
 xpos -460
 ypos 269
 number 11
}
Input {
 inputs 0
 name Subsurface
 selected true
 xpos -460
 ypos 243
 number 10
}
Input {
 inputs 0
 name Backscattering
 selected true
 xpos -350
 ypos 208
 number 9
}
Merge2 {
 inputs 2
 operation plus
 name Plus5
 selected true
 xpos -350
 ypos 243
}
Merge2 {
 inputs 2
 operation plus
 name Plus6
 selected true
 xpos -350
 ypos 269
}
Merge2 {
 inputs 2
 operation plus
 name Plus7
 selected true
 xpos -350
 ypos 295
}
Merge2 {
 inputs 2
 operation plus
 name Plus8
 selected true
 xpos -350
 ypos 321
}
Input {
 inputs 0
 name DiffuseEnvironment
 selected true
 xpos -475
 ypos 76
 number 4
}
Input {
 inputs 0
 name DiffuseIndirect
 selected true
 xpos -481
 ypos 37
 number 5
}
Input {
 inputs 0
 name diffuseDirectShadow
 selected true
 xpos -475
 ypos -3
 number 6
}
Input {
 inputs 0
 name Translucence
 selected true
 xpos -480
 ypos -53
 number 8
}
Input {
 inputs 0
 name DiffuseDirect
 selected true
 xpos -478
 ypos -92
 number 7
}
Input {
 inputs 0
 name Ambient
 selected true
 xpos -352
 ypos -128
 number 14
}
Merge2 {
 inputs 2
 operation plus
 name Plus9
 selected true
 xpos -352
 ypos -92
}
Merge2 {
 inputs 2
 operation plus
 name Plus4
 selected true
 xpos -352
 ypos -53
}
Merge2 {
 inputs 2
 operation minus
 name minus1
 tile_color 0xff5555ff
 selected true
 xpos -352
 ypos -3
}
Merge2 {
 inputs 2
 operation plus
 name Plus2
 selected true
 xpos -352
 ypos 37
}
Merge2 {
 inputs 2
 operation plus
 name Plus3
 selected true
 xpos -352
 ypos 76
}
Input {
 inputs 0
 name SpecularEnvironment
 selected true
 xpos -474
 ypos -268
 number 3
}
Input {
 inputs 0
 name SpecularIndirect
 selected true
 xpos -473
 ypos -306
 number 2
}
Input {
 inputs 0
 name SpecularDirectShadow
 selected true
 xpos -466
 ypos -347
 number 1
}
Input {
 inputs 0
 name SpecularDirect
 selected true
 xpos -347
 ypos -396
}
Merge2 {
 inputs 2
 operation minus
 name minus
 tile_color 0xff5555ff
 selected true
 xpos -347
 ypos -347
}
Merge2 {
 inputs 2
 operation plus
 name Plus
 selected true
 xpos -347
 ypos -306
}
Merge2 {
 inputs 2
 operation plus
 name Plus1
 selected true
 xpos -347
 ypos -268
}
Dot {
 name Dot1
 selected true
 xpos -174
 ypos -264
}
Merge2 {
 inputs 2
 operation plus
 name Plus10
 selected true
 xpos -208
 ypos 76
}
Merge2 {
 inputs 2
 operation plus
 name Plus11
 selected true
 xpos -208
 ypos 321
}
 
  05 May 2012
Thumbs up thank you


thank you very much earlyworm

I try it tonight, with this diagram it `s very clear

so if I understand well all node (plus,minus) are a merge node and I change the operation
to plus or minus

thank you
__________________
http://megacortex.blogspot.com/
Forgive me for imperfect English language in my Posts!
 
  05 May 2012
Yep, you can use the merge node and just change the operation to plus or minus.
 
  05 May 2012
Hi earlyworm

I tried your way but don`t work for me I use exr file but with your example i found a mannered and it`s seems ok

the script it`s number one i try it soon

thank you











__________________
http://megacortex.blogspot.com/
Forgive me for imperfect English language in my Posts!

Last edited by MegaCortex : 05 May 2012 at 09:45 PM.
 
  05 May 2012
I expect your not connecting the node graph I gave you up correctly. But if you've found a method your happy with then go for it.
 
  05 May 2012
Originally Posted by earlyworm: I expect your not connecting the node graph I gave you up correctly. But if you've found a method your happy with then go for it.



no it`s one i made your I try it with separate file no exr


but that's what I get with minus ??? a black image

other test

I do not know why (I`m using tif 32 bits image?)

may be i have to change minus to difference it`s possible the pass of renderman are calculated differently?
__________________
http://megacortex.blogspot.com/
Forgive me for imperfect English language in my Posts!

Last edited by MegaCortex : 06 June 2012 at 01:12 AM.
 
  06 June 2012
Your right. Judging from the thumbnails they both look the same, but their does seem to be some difference between the two passes because your getting something with the difference node.

I don't have Renderman for Maya here in front of me to test this myself, so I don't know what else to suggest. Sorry couldn't be of more help.
 
  06 June 2012
any way you help me to understand

again thank you

Lionel
__________________
http://megacortex.blogspot.com/
Forgive me for imperfect English language in my Posts!
 
  06 June 2012
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 07:41 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.