[vtkusers] z- buffer to distances from camera
alykhantejani
alykhan.tejani06 at imperial.ac.uk
Mon Jul 15 15:39:43 EDT 2013
Hi,
I had a look and used the code to transform to world coordinates, but this still gave me something like 0.995.
Also, do the world coordinates correspond to the coordinates in the camera plane?
On 15 Jul 2013, at 20:35, "Bill Lorensen [via VTK]" <ml-node+s1045678n5721975h45 at n5.nabble.com<mailto:ml-node+s1045678n5721975h45 at n5.nabble.com>> wrote:
I still suggest you look at the code in vtkWorldPointPicker::Pick to do the conversion.
Did you try it?
On Mon, Jul 15, 2013 at 1:09 PM, alykhantejani <[hidden email]</user/SendEmail.jtp?type=node&node=5721975&i=0>> wrote:
Hi,
Did you manage to do this as I am trying the same now, but with no luck.
Perhaps you could give some advice
--
View this message in context: http://vtk.1045678.n5.nabble.com/z-buffer-to-distances-from-camera-tp5721050p5721972.html
Sent from the VTK - Users mailing list archive at Nabble.com<http://Nabble.com>.
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
--
Unpaid intern in BillsBasement at noware dot com
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
________________________________
If you reply to this email, your message will be added to the discussion below:
http://vtk.1045678.n5.nabble.com/z-buffer-to-distances-from-camera-tp5721050p5721975.html
To unsubscribe from z- buffer to distances from camera, click here<http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5721050&code=YWx5a2hhbi50ZWphbmkwNkBpbXBlcmlhbC5hYy51a3w1NzIxMDUwfC03NjU2NjgzNDA=>.
NAML<http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context: http://vtk.1045678.n5.nabble.com/z-buffer-to-distances-from-camera-tp5721050p5721976.html
Sent from the VTK - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130715/3fce925a/attachment.htm>
More information about the vtkusers
mailing list