<div dir="ltr"><div>I still suggest you look at the code in vtkWorldPointPicker::Pick to do the conversion.<br><br></div>Did you try it?<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 15, 2013 at 1:09 PM, alykhantejani <span dir="ltr"><<a href="mailto:alykhan.tejani06@imperial.ac.uk" target="_blank">alykhan.tejani06@imperial.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Did you manage to do this as I am trying the same now, but with no luck.<br>
Perhaps you could give some advice<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/z-buffer-to-distances-from-camera-tp5721050p5721972.html" target="_blank">http://vtk.1045678.n5.nabble.com/z-buffer-to-distances-from-camera-tp5721050p5721972.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>