[vtkusers] Render RGB-D image in VTK

alykhantejani alykhan.tejani06 at imperial.ac.uk
Mon Jul 15 11:07:41 EDT 2013


On 15/07/13 16:06, David Doria-2-3 [via VTK] wrote:
> On Mon, Jul 15, 2013 at 10:14 AM, alykhantejani
> <[hidden email] </user/SendEmail.jtp?type=node&node=5721968&i=0>> wrote:
> > I have a mesh model (.ply file) and I have rendered it with VTK and 
> changed
> > the camera viewpoint.
> >
> > From the new camera viewpoint how can I render an RGB and a depth 
> image? I
> > think this might be raytracing, but not sure
>
>
> Is this what you're looking for?
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/ZBuffer
>
> David
> _______________________________________________
> Powered by 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/Render-RGB-D-image-in-VTK-tp5721967p5721968.html 
>
> To unsubscribe from Render RGB-D image in VTK, click here 
> <http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5721967&code=YWx5a2hhbi50ZWphbmkwNkBpbXBlcmlhbC5hYy51a3w1NzIxOTY3fC03NjU2NjgzNDA=>.
> 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> 
>
Hi,

Thanks. yes this look like what I'm looking for, however the code shown 
gives me a black image, how can I render the depth image as shown




--
View this message in context: http://vtk.1045678.n5.nabble.com/Render-RGB-D-image-in-VTK-tp5721967p5721969.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/473abff1/attachment.htm>


More information about the vtkusers mailing list