PDA

View Full Version : ProEXR - How do you combine layers to get orig RGBA?


anewhobby
09-23-2008, 12:43 PM
Hi there....

I am playing around with ProEXR for after effects. I am trying to do the same effect i see the guys in the comping room do at work using NUKE. (I can not afford NUKE)

Anyways. I have got ProEXR working and have the exr split into a seperate layer for each channel in the EXR file.

For this simple test I am using

Light Pass
GI Pass
Reflection
Specular

Anyway... now that I have it all in layers in AE comp... how do i combine them to get the original looking render?

I have been trying /effect/channel/blend but thisdose not seam to be working. Using the Layer options like Add/Multiply etc etc also do not seam to be working the way I would expect.

Any help would be apreciated.

http://s489.photobucket.com/albums/rr257/NexusWarhammer/th_Test.jpg (http://i489.photobucket.com/albums/rr257/NexusWarhammer/Test.jpg)http://s489.photobucket.com/albums/rr257/NexusWarhammer/th_Clipboard-1.jpg (http://i489.photobucket.com/albums/rr257/NexusWarhammer/Clipboard-1.jpg)


In NUKE at work I simple use a PLUS node and add LIGHT + GI = RGBA / + Spec / + Reflection = RGBA and the image looks exactly the same asthe render but with teh ability to do any adjustments on the paths between the nodes... .. .


Here is teh After Effect project if you need to see it TryingtogetEXR2work - Download (http://files.filefront.com/EXR+Test+folderrar/;11870477;/fileinfo.html)

anewhobby
09-23-2008, 12:59 PM
I IM'd one of my work mates and he showed me thecomp as it would be in NUKE. Just like I said above... just using ADD to combine the channels = the original render.

I am trying to do this in AE at home.

http://s489.photobucket.com/albums/rr257/NexusWarhammer/th_Clipboard-2.jpg (http://i489.photobucket.com/albums/rr257/NexusWarhammer/Clipboard-2.jpg)

Mylenium
09-23-2008, 04:32 PM
Just like I said above... just using ADD to combine the channels = the original render.

You are confusing matters. Plus in Nuke is not equal to Add in AE. Plus does a normalized blend of all the colors on a per channel basis, which naturally is impossible to achieve this way in AE. In AE, you'd have to adjust the opacities and use individual per-layer blendmodes to achieve the same result.

Specular --> Add, Hard light, Pin Light
Reflections --> Add, Hard light, Pin Light, Overlay
Diffuse/ Raw/Beauty RGB --> Normal, Overlay
GI, Shadows --> Multiply

Try toying around, there is no general recipe due to the output ranges and pixel values varying from program to program. You sure will find tutorials on this for any of them. I clearly can recall ones for Lightwave and Maya, so keep digging.

Mylenium

Blur1
09-23-2008, 07:38 PM
Plus in Nuke is exactly the same as Add in AE, given the same working colour space set up (linear float). So it's really just linearly adding the brightness values as you comp the pixels, with no clamping whatsoever, so 1+2 =3 then you would bring whatever overbrights you want into range using some kind of logarithmic falloff before clamping at the end of the comp tree....but that's not important to solving your problem right now.

In this case you have not used an "Add" blend node, you are just using "Normal" which is equivalent to an Over in Nuke. The other main issue in your project is that the working colour space is not set up to linear float like Nuke. So go into your project settings, switch the working space to sRGB and then check the "linearize working space" option. You will then get the comp to match what you see in Nuke...I checked that.

It's a bit hidden in AE, but you can get it to work in the same way.

HTH,:thumbsup:

Michael

anewhobby
09-23-2008, 11:27 PM
The other main issue in your project is that the working colour space is not set up to linear float like Nuke. So go into your project settings, switch the working space to sRGB and then check the "linearize working space" option.

Ahhh... thanks bro. That was the problem. Once I was in RGBs/Lin workspace the ADD layer blend worked as I would have expected.

Thank you.

Also thanks for the others that took the time to reply.

Mylenium
09-24-2008, 05:04 AM
Plus in Nuke is exactly the same as Add in AE, given the same working colour space set up (linear float).

Indeed? Maybe my memory is failing me. I could have sworn you always needed to explicitly select "Add" somewhere. Anyway, thanks for correcting me. Been too long since I last touched Nuke... (talks to himself): Download PLE for 5.1 to keep up to speed! ;-)

Mylenium

CGTalk Moderation
09-24-2008, 05:04 AM
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.