Z-depth channel switching

I have 2 renders from 3d:
1- A "beauty" pass of the actual scene
2- a greyscale image (32 bit) of the depth values for the scene

I want to import both renders into AE, and use #2 as the depth channel for #1. I can do this easily in shake, but I don't know how to/if i can do this in after effects.

Any advice?

-N

Well if you are using it for depth cue then use it as an alpha value for a copy of the layer and then put a blur on it.

Yeah, but this isn't the same as what the Depth of Felid effect does. The problem is at the boundary of the focal area. See using that method, this is what i'd have:

the image would look correct in the "sharp" areas, and correct in the totally blurry areas, but the boundary would be a dissolve between totally blurred and totally sharp.

The depth blur effect would look the same in the sharp and 100% blurry areas, but the boundary would grow gradually LESS blurry -- not because it was dissolving to a sharp image, but the amount the image was getting blurred would actually be less.

Please let me know if i'm being unclear.

Any further advice would be great!

AFAIK AE can only use z values that are embedded

Argh.

that's monumentally stupid.

I agree, its probably the worse thing about the program for me. I don't need it often, but when I do I don't want to deal with it.