<meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  
  
    <div class="moz-cite-prefix">On 15/07/13 16:06, David Doria-2-3 [via
      VTK] wrote:<br>
    </div>
    <blockquote style='border-left:2px solid #CCCCCC;padding:0 1em'
cite="mid:CABDpjTmzTq=DMtE7AbiJxmmB+2ntiQ+cMsfJUWhTK4zytghPbw@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      On Mon, Jul 15, 2013 at 10:14 AM, alykhantejani
      <br>
      &lt;<a moz-do-not-send="true"
        href="/user/SendEmail.jtp?type=node&amp;node=5721968&amp;i=0"
        target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;
      wrote:
      <br>
      &gt; I have a mesh model (.ply file) and I have rendered it with
      VTK and changed
      <br>
      &gt; the camera viewpoint.
      <br>
      &gt;
      <br>
      &gt; From the new camera viewpoint how can I render an RGB and a
      depth image? I
      <br>
      &gt; think this might be raytracing, but not sure
      <br>
      <br>
      <br>
      Is this what you're looking for?
      <br>
      <br>
      <a moz-do-not-send="true"
        href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/ZBuffer"
        target="_top" rel="nofollow" link="external">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/ZBuffer</a><br>
      <br>
      David
      <br>
      _______________________________________________
      <br>
      Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com" target="_top" rel="nofollow" link="external">www.kitware.com</a>
      <br>
      <br>
      Visit other Kitware open-source projects at <a
        moz-do-not-send="true"
        href="http://www.kitware.com/opensource/opensource.html"
        target="_top" rel="nofollow" link="external">http://www.kitware.com/opensource/opensource.html</a><br>
      <br>
      Please keep messages on-topic and check the VTK FAQ at: <a
        moz-do-not-send="true" href="http://www.vtk.org/Wiki/VTK_FAQ"
        target="_top" rel="nofollow" link="external">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
      <br>
      Follow this link to subscribe/unsubscribe:
      <br>
      <a moz-do-not-send="true"
        href="http://www.vtk.org/mailman/listinfo/vtkusers"
        target="_top" rel="nofollow" link="external">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
      <br>
      <br>
      <hr color="#cccccc" noshade="noshade" size="1">
      <div style="color:#444; font: 12px
        tahoma,geneva,helvetica,arial,sans-serif;">
        <div style="font-weight:bold">If you reply to this email, your
          message will be added to the discussion below:</div>
        <a moz-do-not-send="true"
href="http://vtk.1045678.n5.nabble.com/Render-RGB-D-image-in-VTK-tp5721967p5721968.html" target="_top" rel="nofollow" link="external">http://vtk.1045678.n5.nabble.com/Render-RGB-D-image-in-VTK-tp5721967p5721968.html</a>
      </div>
      <div style="color:#666; font: 11px
tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
        To unsubscribe from Render RGB-D image in VTK, <a
          moz-do-not-send="true"
href="" target="_top" rel="nofollow" link="external">click
          here</a>.<br>
        <a moz-do-not-send="true"
href="http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a> </div>
    </blockquote>
    Hi,<br>
    <br>
    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<br>
  



        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Render-RGB-D-image-in-VTK-tp5721967p5721969.html">Re: Render RGB-D image in VTK</a><br/>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>