<div dir="ltr">Hi <br><br>check out the vtkParallelRenderManager and vtkCompositeRenderManager classes. They do sort last rendering if i remember properly.<br><br>Also there was some issue with running parallel examples in python. This has to with not being able to pass<br>
&argc and &argv from python to the MPI_Init function that has to be called for parallel applications using MPI. <br><br>The settings you have written below do not enable the VTK_USE_MPI which may be needed to run with MPI.<br>
<br><br>Note that the vtkCompositeManager has been done away with.<br><br>Will be able to mail you an example after a few days ( do not have access to the pc where i have the examples currently ).<br><br>--<br>shekhar<br>
<br><div class="gmail_quote">On Sat, Sep 27, 2008 at 2:58 AM, Alexander Pletzer <span dir="ltr"><<a href="mailto:pletzer@txcorp.com">pletzer@txcorp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I have just rebuilt vtk (downloaded from cvs end of Aug 2008) with Parallel activated:<br>
<br>
<br>
BUILD_EXAMPLES ON <br>
BUILD_SHARED_LIBS ON <br>
BUILD_TESTING ON <br>
CMAKE_BACKWARDS_COMPATIBILITY 2.4 <br>
CMAKE_BUILD_TYPE <br>
CMAKE_INSTALL_PREFIX /usr/local <br>
VTK_DATA_ROOT /home/research/pletzer/Download/VTK/../VTKData <br>
VTK_USE_INFOVIS ON <br>
VTK_USE_PARALLEL ON <br>
VTK_USE_RENDERING ON <br>
VTK_USE_VIEWS ON <br>
VTK_WRAP_JAVA OFF <br>
VTK_WRAP_PYTHON ON <br>
VTK_WRAP_TCL OFF <br>
<br>
<br>
I had no problem building (as far as I can tell). However, when I try to run the example<br>
<br>
VTK/Examples/ParallelProcessing/MPI/Python/ParallelCone.py<br>
<br>
I get<br>
<br>
[pletzer@localhost Python]$ python ParallelCone.py<br>
Traceback (most recent call last):<br>
File "ParallelCone.py", line 9, in <module><br>
compManager = vtkCompositeManager()<br>
NameError: name 'vtkCompositeManager' is not defined<br>
<br>
It seems that this class is not available from Python? I'm looking for an example of a parallel pipeline feeding into a composite render. Any example along those lines would be welcome.<br>
<br>
Thanks for your help.<br>
<br>
--Alex<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><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>
</blockquote></div><br><br clear="all"><br>-- <br>--<br>shekhar<br>
</div>