Thank you so much David. I will try <span class="Apple-style-span" style="border-collapse: collapse; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; ">vtkRenderer::ViewToWorld().</span><div><br></div>
<div>To Dev </div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; ">vtkRenderer::GetZBufferData() gives us the depth map values which ranges from 0 to 1, so it is not the actual depth value at the pixels. To get the actual depth at pixels we need to convert Z-buffer into actual depth values. So, for this we need a conversion formula. I hope this makes it clear.</span><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br clear="all">
</span></font><div><br></div>Regards,
</div><div>Atul</div>