<div dir="ltr"><div class="gmail_extra">Hi David,</div><div class="gmail_extra"> </div><div class="gmail_extra">Thanks for the prompt reply.</div><div class="gmail_extra"> </div><div class="gmail_extra">I wonder if there has any technical paper with respect to the rendering with GPU support? </div>
<div class="gmail_extra"> </div><div class="gmail_extra">Moreover, as mentioned there do have some projects used Huy&#39;s extension, can you let me know the name of the projects?</div><div class="gmail_extra"> </div><div class="gmail_extra">
Thanks </div><div class="gmail_extra"> </div><div class="gmail_extra">Qiang<br><br></div><div class="gmail_quote">On 31 January 2013 18:53, David E DeMarle <span dir="ltr">&lt;<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>&gt;</span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div class="im">On Thu, Jan 31, 2013 at 1:15 PM, Qiang Wang &lt;<a href="mailto:wangq1979@gmail.com">wangq1979@gmail.com</a>&gt; wrote:<br>

&gt; Hi there,<br>
&gt;<br>
&gt; I am using VTK 5.10 to do some contour rendering and 2D image processing<br>
&gt; with capacity of handling images about 10000 images per minute, but the<br>
&gt; performance is below our expectation. Therefore, I need some improvement in<br>
&gt; terms of performance, and here are my questions:<br>
&gt;<br>
&gt; 1. I was wondering how much VTK leverages the GPU capabilities and supports<br>
&gt; CUDA? Does VTK support GPU capabilities and CUDA in general terms instead of<br>
&gt; only for some specific data types or algorithms such as FFT?<br>
<br>
</div>VTK has very little GPU support outside of rendering. This is likely<br>
to change in upcoming versions. See for example, VTK&#39;s interface to<br>
LANL&#39;s piston GPGPU library in the current master branch (and ParaView<br>
3.98.0). Even there the support is for specific data structures and<br>
algorithms since porting or adapting all of VTK onto GPUs is a very<br>
big task.<br>
<div class="im"><br>
&gt;<br>
&gt; 2. Since the 2D images we concerned are actually raw data which are not<br>
&gt; supported by VTK, they have to be loaded and processed by our own class. In<br>
&gt; this case, can I still utilise the VTK-provided GPC/CUDA facilities?<br>
&gt;<br>
<br>
</div>To do anything with VTK, you first have to push your data into a<br>
vtkDataObject. For raw 2D data importing is simple, make a 2D<br>
vtkImageData and assign the pointer to your buffer to that container.<br>
Then all of the imaging filters will be able to work with it.<br>
<div class="im"><br>
&gt;<br>
&gt; 3. I recently read the paper of  &quot;streaming-enabled parallel data flow<br>
&gt; framework in the visualization toolkit&quot;, and the author said the current<br>
&gt; release of VTK includes a complete implementation of PDS. But when I<br>
&gt; explored the document, I did not find the class or function provided by PDS.<br>
&gt; Do I need install any extension to support PDS?<br>
&gt;<br>
<br>
</div>Huy&#39;s work for that paper lives in the vtkThreadedStreamingPipeline<br>
class. Those features are a little used part of VTK, but I know of one<br>
project at least that did use them successfully, so there is hope that<br>
it is in a usable state.<br>
<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Qiang<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
</blockquote></div><div class="gmail_extra"><br></div></div>