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
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?
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.