Page 1 of 1

Maxwell and Depth

Posted: Tue May 01, 2012 12:30 am
by r3dcube
Hi,

I've got a situation where I have 3D over live action and wanted to generate a depth pass. In the colour pass I don't want the wall but in the depth I would like to see it for compositing purposes. I've tried matting the the wall in the texture and even hiding the object from camera but both completely remove the wall. Is there a way to hide the wall in the colour channel but make it visible in depth? Just adds a lot of time having to render out the two separately. I would have thought matting would fix this as the geo is still in the scene.

FYI - This was posted in the Maya section but have been told to post here as it deals with the engine

Cheers,
Bryan

Re: Maxwell and Depth

Posted: Mon May 14, 2012 1:09 am
by r3dcube
I'll assume this is just the way it is. Would be a great feature if you could control zDepth at the shader when they are matte.

Re: Maxwell and Depth

Posted: Mon May 14, 2012 3:47 am
by rusteberg
Hi Bryan,

Try it through material instead. Make the wall a "ghosted" bsdf:

reflectance 0: black 0
reflectance 90: black 0
transmittance: white 255
attenuation: 999 meters
nd: 1.0
roughness: 0

see if this works....

Re: Maxwell and Depth

Posted: Mon Jun 11, 2012 11:25 pm
by r3dcube
Sorry for the late response, YES that worked great. Will have to use that technique next time. Thanks again for the help!

Re: Maxwell and Depth

Posted: Tue Jun 12, 2012 5:07 am
by rusteberg
excellent! glad to hear you got it sorted out :)