# How to export Z-depth channel??

**URL:** <https://forums.chaos.com/t/how-to-export-z-depth-channel/7379>\
**Category:** General\
**Created:** [April 11, 2005, 3:55pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379 "2005-04-11T15:55:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![RSF](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@RSF](https://forums.chaos.com/u/RSF)\
**Post date:** [April 11, 2005, 3:55pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/1 "2005-04-11T15:55:23Z")

</div>

Hello.  
I trying to export z depth information but can’t find the way.  
In the Vray Render window I get this image:

But if I save it I get a black image.

Using only the max render window I can see the z channel but don’t even know how to save it… it always saves the final image.

How is this Z depth thing supposed to work!??

Can someone give some directions!?

Thanks

---

<div class="post-metadata">

**Author:** ![czoog](https://avatars.discourse-cdn.com/v4/letter/c/85f322/32.png) [@czoog](https://forums.chaos.com/u/czoog)\
**Post date:** [April 11, 2005, 4:02pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/2 "2005-04-11T16:02:31Z")

</div>

What build are you using?

that is the way zdepth used to work in the older builds. the newer builds (1.46.15) prduce the greyscale image looking z depth you are used to.

---

<div class="post-metadata">

**Author:** ![CCS](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/ccs/32/1765_2.png) [@CCS](https://forums.chaos.com/u/CCS)\
**Post date:** [April 11, 2005, 4:55pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/3 "2005-04-11T16:55:28Z")

</div>

Could someone post the method for rendering zdepth with vray? I’ve tried it to no avail. Ended up using scanline.

---

<div class="post-metadata">

**Author:** ![czoog](https://avatars.discourse-cdn.com/v4/letter/c/85f322/32.png) [@czoog](https://forums.chaos.com/u/czoog)\
**Post date:** [April 11, 2005, 6:03pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/4 "2005-04-11T18:03:45Z")

</div>

> [@CCS](#):
>
> Could someone post the method for rendering zdepth with vray? I’ve tried it to no avail. Ended up using scanline.

Sure,

1. Enable the z-buffer channel under the gbuffer/color mapping rollout.  
2. Set up the animation to render out to RPF, be sure to select z-buffer under optional channels in the RPF setup dialogue  
3. Render

Easy as that. Though the antialising can be an issue, I have yet to solve that completely.

-Z

---

<div class="post-metadata">

**Author:** ![percydaman](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/percydaman/32/42214_2.png) [@percydaman](https://forums.chaos.com/u/percydaman)\
**Post date:** [April 11, 2005, 6:25pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/5 "2005-04-11T18:25:29Z")

</div>

> [@czoog](#):
>
> > [@CCS](#):
> >
> > Could someone post the method for rendering zdepth with vray? I’ve tried it to no avail. Ended up using scanline.
> 
> Sure,
> 
> 1. Enable the z-buffer channel under the gbuffer/color mapping rollout.  
> 2. Set up the animation to render out to RPF, be sure to select z-buffer under optional channels in the RPF setup dialogue  
> 3. Render
> 
> Easy as that. Though the antialising can be an issue, I have yet to solve that completely.
> 
> -Z

right, and if your someone without the ability to open rpf’s then what do you do? :roll:

---

<div class="post-metadata">

**Author:** ![czoog](https://avatars.discourse-cdn.com/v4/letter/c/85f322/32.png) [@czoog](https://forums.chaos.com/u/czoog)\
**Post date:** [April 11, 2005, 6:40pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/6 "2005-04-11T18:40:35Z")

</div>

> [@percydaman](#):
>
> right, and if your someone without the ability to open rpf’s then what do you do? :roll:

it doesn’t work to split the gbuffer channels? I’ve never tried it… I always use RPF.

Anyway, don’t most compositors read RPF/RLA? You could also try OpenEXR, it looks like that has the ability to store gbuffer channels.

---

<div class="post-metadata">

**Author:** ![percydaman](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/percydaman/32/42214_2.png) [@percydaman](https://forums.chaos.com/u/percydaman)\
**Post date:** [April 11, 2005, 6:59pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/7 "2005-04-11T18:59:22Z")

</div>

> [@czoog](#):
>
> > [@percydaman](#):
> >
> > right, and if your someone without the ability to open rpf’s then what do you do? :roll:
> 
> it doesn’t work to split the gbuffer channels? I’ve never tried it… I always use RPF.
> 
> Anyway, don’t most compositors read RPF/RLA? You could also try OpenEXR, it looks like that has the ability to store gbuffer channels.

does photoshop? I guess my point is that not everyone uses vray for animation/compositing but still need gbuffer info.

---

<div class="post-metadata">

**Author:** ![Trapezium](https://avatars.discourse-cdn.com/v4/letter/t/c57346/32.png) [@Trapezium](https://forums.chaos.com/u/Trapezium)\
**Post date:** [April 11, 2005, 7:14pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/8 "2005-04-11T19:14:29Z")

</div>

You can open an RPF in Max. Once open maybe you can save out the Z while viewing it?

--Jon

---

<div class="post-metadata">

**Author:** ![Morbid\_Angel](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/morbid_angel/32/21272_2.png) [@Morbid\_Angel](https://forums.chaos.com/u/Morbid_Angel)\
**Post date:** [April 11, 2005, 7:24pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/9 "2005-04-11T19:24:30Z")

</div>

this method causes combustion to crash…

---

<div class="post-metadata">

**Author:** ![czoog](https://avatars.discourse-cdn.com/v4/letter/c/85f322/32.png) [@czoog](https://forums.chaos.com/u/czoog)\
**Post date:** [April 11, 2005, 8:36pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/10 "2005-04-11T20:36:05Z")

</div>

> [@percydaman](#):
>
> does photoshop? I guess my point is that not everyone uses vray for animation/compositing but still need gbuffer info.

and I agree with your point, percy 😉

No, as far as I know photoshop can’t. I wish it could. Out of curiosity what format dos scanline put the zbuffer in that you can open it photoshop?

It would be great if we render out a to a multi-layer PSD with g-buffers, ala PSD manager.

-Z

---

<div class="post-metadata">

**Author:** ![RErender](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/rerender/32/42964_2.png) [@RErender](https://forums.chaos.com/u/RErender)\
**Post date:** [April 11, 2005, 8:39pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/11 "2005-04-11T20:39:06Z")

</div>

> [@Morbid Angel](#):
>
> this method causes combustion to crash…

works here

---

<div class="post-metadata">

**Author:** ![Morbid\_Angel](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/morbid_angel/32/21272_2.png) [@Morbid\_Angel](https://forums.chaos.com/u/Morbid_Angel)\
**Post date:** [April 11, 2005, 8:41pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/12 "2005-04-11T20:41:28Z")

</div>

what version of comb are you on?

---

<div class="post-metadata">

**Author:** ![RErender](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/rerender/32/42964_2.png) [@RErender](https://forums.chaos.com/u/RErender)\
**Post date:** [April 11, 2005, 8:51pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/13 "2005-04-11T20:51:47Z")

</div>

3.02.033

---

<div class="post-metadata">

**Author:** ![Morbid\_Angel](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/morbid_angel/32/21272_2.png) [@Morbid\_Angel](https://forums.chaos.com/u/Morbid_Angel)\
**Post date:** [April 11, 2005, 10:27pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/14 "2005-04-11T22:27:20Z")

</div>

thanks…back when vray was 1.45 we used mental zdepth…also worked.

---

<div class="post-metadata">

**Author:** ![RSF](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@RSF](https://forums.chaos.com/u/RSF)\
**Post date:** [April 12, 2005, 12:00pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/15 "2005-04-12T12:00:01Z")

</div>

I’m using version 1.46.15. Why I’m I not getting the grayscale image?  
If I use the max frame window (rendering with vray) the channel looks ok but even then I can’t save this channel…it saves only the final image.  
I only use photoshop so I can’t really use RPF files.  
Using the scanline is not an option in my particular case because I am using vrayproxies for the trees.  
I can always do same “print screens” to get the image out but… :?  
What’s the matter with this stuff!??  
With all the heavy programing and mathematics in vray how does one gets stucked in a simple “export the channel” situation like this!??  
I can’t use either scanline or RPF…Is there any other way arround this??  
Thanks again

---

<div class="post-metadata">

**Author:** ![panthon](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/panthon/32/40984_2.png) [@panthon](https://forums.chaos.com/u/panthon)\
**Post date:** [April 12, 2005, 12:30pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/16 "2005-04-12T12:30:49Z")

</div>

Hello! 🙂

If you can´t use Combustion or After Effects in order to get the z buffer channel out from the rpf, you can still get it through rendering, effects, add file output, select channel depth (greyscale). Then set an output name, let´s say zbuffer.tga and render. You should get a separate tga file which can be used to add depth of field effects in post! 8)

Cheers! 😉

---

<div class="post-metadata">

**Author:** ![dbuchhofer](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@dbuchhofer](https://forums.chaos.com/u/dbuchhofer)\
**Post date:** [April 12, 2005, 2:05pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/17 "2005-04-12T14:05:18Z")

</div>

Nice one pant.. I’d totally forgotten about that one!

---

<div class="post-metadata">

**Author:** ![RSF](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@RSF](https://forums.chaos.com/u/RSF)\
**Post date:** [April 12, 2005, 2:18pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/18 "2005-04-12T14:18:17Z")

</div>

Ok…That works!!  
Thanks panthon 🙂  
Would be nice if this things were working better in vray thought…I can’t use vray render window for this to work.  
Maybe I have some problem with the installation since I also get the strange yellow z depth channel in the vray VBF.  
Thanks again

---

<div class="post-metadata">

**Author:** ![RErender](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/rerender/32/42964_2.png) [@RErender](https://forums.chaos.com/u/RErender)\
**Post date:** [April 12, 2005, 2:44pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/19 "2005-04-12T14:44:53Z")

</div>

Just for the recored it is supposed to be a “strange yellow z depth” 🙂

---

<div class="post-metadata">

**Author:** ![percydaman](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/percydaman/32/42214_2.png) [@percydaman](https://forums.chaos.com/u/percydaman)\
**Post date:** [April 12, 2005, 3:55pm UTC](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379/20 "2005-04-12T15:55:48Z")

</div>

> [@RErender](#):
>
> Just for the recored it is supposed to be a “strange yellow z depth” 🙂

why do you say that? how useful is it to look at that “strange yellow z depth” image? I understand the information is there, IF you have the proper software to make use of it, but Ive never seen it look like that in other renderers, and just cant understand why it needs to be shown like that. its USELESS…

[Next page](https://forums.chaos.com/t/how-to-export-z-depth-channel/7379.md?page=2)
