# Z-depth channel switching

**URL:** https://forum.highend3d.com/t/z-depth-channel-switching/8826
**Category:** Compositing
**Tags:** after-effects
**Created:** [March 30, 2005, 4:28pm UTC](https://forum.highend3d.com/t/z-depth-channel-switching/8826 "2005-03-30T16:28:16Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![buddahrhubarb](https://forum.highend3d.com/user_avatar/forum.highend3d.com/buddahrhubarb/32/320_2.png) [@buddahrhubarb](https://forum.highend3d.com/u/buddahrhubarb)
#### Post date: [March 30, 2005, 4:28pm UTC](https://forum.highend3d.com/t/z-depth-channel-switching/8826/1 "2005-03-30T16:28:16Z")

</div>

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

---

<div class="post-metadata">

### Author: ![gmask](https://forum.highend3d.com/user_avatar/forum.highend3d.com/gmask/32/192_2.png) [@gmask](https://forum.highend3d.com/u/gmask)
#### Post date: [March 30, 2005, 7:07pm UTC](https://forum.highend3d.com/t/z-depth-channel-switching/8826/2 "2005-03-30T19:07:10Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![buddahrhubarb](https://forum.highend3d.com/user_avatar/forum.highend3d.com/buddahrhubarb/32/320_2.png) [@buddahrhubarb](https://forum.highend3d.com/u/buddahrhubarb)
#### Post date: [March 31, 2005, 9:57am UTC](https://forum.highend3d.com/t/z-depth-channel-switching/8826/3 "2005-03-31T09:57:57Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![gmask](https://forum.highend3d.com/user_avatar/forum.highend3d.com/gmask/32/192_2.png) [@gmask](https://forum.highend3d.com/u/gmask)
#### Post date: [March 31, 2005, 9:59am UTC](https://forum.highend3d.com/t/z-depth-channel-switching/8826/4 "2005-03-31T09:59:51Z")

</div>

AFAIK AE can only use z values that are embedded

---

<div class="post-metadata">

### Author: ![buddahrhubarb](https://forum.highend3d.com/user_avatar/forum.highend3d.com/buddahrhubarb/32/320_2.png) [@buddahrhubarb](https://forum.highend3d.com/u/buddahrhubarb)
#### Post date: [March 31, 2005, 1:57pm UTC](https://forum.highend3d.com/t/z-depth-channel-switching/8826/5 "2005-03-31T13:57:39Z")

</div>

Argh.

that's monumentally stupid. ![](http://www2.highendnet.com/forums/icons/smile.gif)

---

<div class="post-metadata">

### Author: ![jtk77](https://forum.highend3d.com/user_avatar/forum.highend3d.com/jtk77/32/54731_2.png) [@jtk77](https://forum.highend3d.com/u/jtk77)
#### Post date: [April 3, 2005, 12:39am UTC](https://forum.highend3d.com/t/z-depth-channel-switching/8826/6 "2005-04-03T00:39:21Z")

</div>

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.
