Of the aproaches described in the paper, VTK has the best support for Data Parallelism. (See the very new vtkThreadedStreamingPipeline class if you want to experiment with
the others.)<br>
<br>To use Data Paralellism, one sets up identical pipelines in separate processes (ie MPI). Each pipeline is given the same parameters through RMI
invocation from the root process to all of the satellites. Each pipeline is told to process a different portion of the data through "streaming". See vtkPolyDataMapper::SetPiece() and SetNumberOfPieces() for the easiest way to do that.<br>
<br>Each process's rendering then has to be coordinated - all renderwindows must get the same size, mouse interaction etc. That is what the vtkParallelRenderManager class is for. Finally, the images produced by each window, which show a different portion of the data, is depth composited. See vtkCompositeRenderManager::SetCompositor(vtkCompositer *c.<br>
<br>See VTK/Rendering/Testing/Cxx/ParallelIso.cxx for an example.<br><br>Note also that within VTK's imaging filters only, there is support for thread level data parallelism within a process.<br><br>David E DeMarle<br>
Kitware, Inc.<br>R&D Engineer<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-371-3971 x109<br>
<br><br><div class="gmail_quote">On Fri, Mar 19, 2010 at 6:44 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Fri, Mar 19, 2010 at 2:14 PM, Paul Gotzel<br>
<<a href="mailto:paul.gotzel@us.cd-adapco.com">paul.gotzel@us.cd-adapco.com</a>> wrote:<br>
> Hello,<br>
><br>
> I'm interested in finding out how to use the VTK's parallel rendering<br>
> capabilities. I've found this paper: <a href="http://vtk.org/VTK/img/pvtk.pdf" target="_blank">http://vtk.org/VTK/img/pvtk.pdf</a>. Is<br>
> there any more detail out there? Maybe some examples?<br>
><br>
> Thanks,<br>
> Paul<br>
<br>
</div>If anyone has an example, here is a good place to add it :)<br>
<a href="http://www.vtk.org/Wiki/index.php?title=VTK/Examples/ThreadedExample&action=edit&redlink=1" target="_blank">http://www.vtk.org/Wiki/index.php?title=VTK/Examples/ThreadedExample&action=edit&redlink=1</a><br>
<br>
Thanks,<br>
<font color="#888888"><br>
David<br>
</font><div><div></div><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>