# Z Depth channel - pure white result

**URL:** <https://forums.chaos.com/t/z-depth-channel-pure-white-result/54790>\
**Category:** General\
**Tags:** z-depth\
**Created:** [August 3, 2015, 2:04pm UTC](https://forums.chaos.com/t/z-depth-channel-pure-white-result/54790 "2015-08-03T14:04:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kostenurka](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/kostenurka/32/10382_2.png) [@kostenurka](https://forums.chaos.com/u/kostenurka)\
**Post date:** [August 3, 2015, 2:04pm UTC](https://forums.chaos.com/t/z-depth-channel-pure-white-result/54790/1 "2015-08-03T14:04:36Z")

</div>

Hi,

I wonder if I do something wrong but I can’t see the Z depht result of my render (the channel is empty white). I do have many IES lights in a big sport hall and horizontally positioned double sided invisible rectangular light.

Any ideas why this happens?  
Thank you

---

<div class="post-metadata">

**Author:** ![Micha](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/micha/32/59168_2.png) [@Micha](https://forums.chaos.com/u/Micha)\
**Post date:** [August 4, 2015, 5:46am UTC](https://forums.chaos.com/t/z-depth-channel-pure-white-result/54790/2 "2015-08-04T05:46:03Z")

</div>

I deactivate “set from camera” and meassure&set the distance for the balck and white distance before a rendering is started.

A nice button script to measure the distance between camera and objects in the scene is this:

! \_NoEcho \_-Runscript (  
Option Explicit

Call DistToCamera()  
Sub DistToCamera()  
&nbsp;&nbsp;&nbsp;&nbsp;Dim pt,dist,units,prec,msg  
&nbsp;&nbsp;&nbsp;&nbsp;pt = Rhino.GetPoint(“Pick point on object”)  
&nbsp;&nbsp;&nbsp;&nbsp;If Not IsArray(pt) Then Exit Sub  
&nbsp;&nbsp;&nbsp;&nbsp;dist = Rhino.Distance(pt, Rhino.ViewCamera())  
&nbsp;&nbsp;&nbsp;&nbsp;units = Rhino.UnitSystemName(, True)  
&nbsp;&nbsp;&nbsp;&nbsp;prec = Rhino.UnitDistanceDisplayPrecision()  
&nbsp;&nbsp;&nbsp;&nbsp;msg = "Distance from pick point to camera is "  
&nbsp;&nbsp;&nbsp;&nbsp;Call Rhino.Print(msg & Cstr(Round(dist, prec)) & " " & units)  
End Sub  
)

---

<div class="post-metadata">

**Author:** ![kostenurka](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/kostenurka/32/10382_2.png) [@kostenurka](https://forums.chaos.com/u/kostenurka)\
**Post date:** [August 7, 2015, 9:26am UTC](https://forums.chaos.com/t/z-depth-channel-pure-white-result/54790/3 "2015-08-07T09:26:50Z")

</div>

Thanks Micha,

in my case it did not work as I have a plane used as background pretty far from the building (like a backplate). I suspect it is the big distance the reason.  
cheers

---

<div class="post-metadata">

**Author:** ![Micha](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/micha/32/59168_2.png) [@Micha](https://forums.chaos.com/u/Micha)\
**Post date:** [August 10, 2015, 5:39am UTC](https://forums.chaos.com/t/z-depth-channel-pure-white-result/54790/4 "2015-08-10T05:39:44Z")

</div>

I don’t understand why a backplane should be a problem, since you can manual define the range of the z-depth.

---

<div class="post-metadata">

**Author:** ![kostenurka](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/kostenurka/32/10382_2.png) [@kostenurka](https://forums.chaos.com/u/kostenurka)\
**Post date:** [August 10, 2015, 6:05am UTC](https://forums.chaos.com/t/z-depth-channel-pure-white-result/54790/5 "2015-08-10T06:05:12Z")

</div>

Hi micha,

The problem was in the units.. my bad I did not set them properly.  
1.5m is the range by default while I have 50m long hall..  
thanks again and have a nice week ahead
