FORUMS: list search recent posts

Depth pass issue

COW Forums : Autodesk Maya

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Ben van Hamelen
Depth pass issue
on Feb 20, 2011 at 11:54:45 pm

Hi there,

Back with another question. See, I'm trying to achieve this shallow depth of field effect. Since Maya (2010) isn't too good at doing that, I want to control it manually in, say, After Effects. So here's what I did:

1. Render out my diffuse pass.
2. Put all DOF-relevant stuff on a separate render layer.
3. RMB > Layer attributes > Presets > Luminance Depth

When I render it out (as .iff), it looks like this:

Since it's nearly all white, I can either have everything in focus or.. nothing. I want to adjust the range, but it won't let me, because the relevant setrange attributes are connected (to the samplerinfo and multiply devide nodes).

I'm not too good with these nodes, so I'm kind of stuck here. Google couldn't help me either. Can anyone help me out?


Ben van H.

Return to posts index

Ben van Hamelen
Re: Depth pass issue
on Feb 21, 2011 at 1:40:40 pm

Okay, nevermind, I found a workaround. In case Google leads people to this post, I might as well describe my solution. Here's what I did:

1. Create a mental ray camera depth pass, right on the masterlayer.
2. Batch render it. It might still give an image with way too much white, but in my case, there _was_ more of a gradient visible.
3. Open the depth pass in Photoshop/AE, turn the contrast WAY up, but avoid excessive amounts of noise. I noticed that you can get away with quite some contrast.
4. Composite in AE. Use the Lens Blur filter. Fiddle with the settings and you're good to go.

That doesn't fix the luminance depth issue, but I got the result I was looking for:


Ben van H.

PS: I've heard and noticed myself that Maya 2011 is a little bugged when it comes to creating depth passes. I've used Maya 2010 for this instead.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved