[vtkusers] Z-buffer to Depth: formula
Atul Kumar
sharmaatul11 at gmail.com
Fri Dec 9 01:41:29 EST 2011
Thank you so much David. I will try vtkRenderer::ViewToWorld().
To Dev
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.
Regards,
Atul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111209/11beecce/attachment.htm>
More information about the vtkusers
mailing list