<div dir="ltr"><div><div><div><div><div>The TestIceTCompositePass.cxx test is helpful for sure. It demonstrates what I am trying to achieve.<br></div>The vtkDepthPeelingPass is not required for this simple geometry. This can be checked by removing the line "passes->AddItem(peeling);" in TestIceTCompositePass.cxx, which gives the same result.<br><br></div>What does make a difference is whether or not I remove "iceTPass->SetKdTree(this->KdTree);". Seems like I have to apply a d3 filter to get the kdtree. I could not yet apply everything from TestIceTCompositePass.cxx to my previous MultipassRendering.cxx example, but I will successively simplify TestIceTCompositePass.cxx until I understand what exactly needs to be changed.<br><br></div>Unless somebody can point out the necessary modifications.<br><br></div>Thank you!<br></div>Kai<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 27, 2016 at 3:33 PM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Kai,<br>
<br>
I'm not sure if this will help, but take a look at<br>
<br>
<a href="http://www.paraview.org/gitweb?p=ParaView.git;a=blob;f=ParaViewCore/VTKExtensions/Testing/TestIceTCompositePass.cxx;h=9580e8642909eddef3de619dc9286cf9a0fa0a19;hb=HEAD" rel="noreferrer" target="_blank">http://www.paraview.org/gitweb?p=ParaView.git;a=blob;f=ParaViewCore/VTKExtensions/Testing/TestIceTCompositePass.cxx;h=9580e8642909eddef3de619dc9286cf9a0fa0a19;hb=HEAD</a><br>
<br>
for some possible clues. You might need to add a vtkDepthPeelingPass,<br>
for example.<br>
<br>
HTH,<br>
Cory<br>
<div><div class="h5"><br>
On Tue, Apr 26, 2016 at 6:48 AM, Kai Winter <<a href="mailto:kaiwinter212@gmail.com">kaiwinter212@gmail.com</a>> wrote:<br>
> Please, does anybody have a clue, how to correctly render transparent<br>
> objects in parallel?<br>
><br>
> I attach the modified version of<br>
> <a href="http://www.vtk.org/Wiki/VTK/MultiPass_Rendering_With_IceT" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK/MultiPass_Rendering_With_IceT</a> and screenshots of<br>
> the render windows for MPI rank 0,1,2 (from left to right), first with<br>
> SetOpacity(1), second with SetOpacity(0.5). In the second case, you see the<br>
> artifacts in the blue segment, and (worse) that rank 0 shows a black window<br>
> instead of the composite image.<br>
><br>
> Thank you<br>
> Kai<br>
><br>
> On Mon, Apr 25, 2016 at 5:41 PM, Kai Winter <<a href="mailto:kaiwinter212@gmail.com">kaiwinter212@gmail.com</a>> wrote:<br>
>><br>
>> Hello,<br>
>> is it possible to extend the example at<br>
>> <a href="http://www.vtk.org/Wiki/VTK/MultiPass_Rendering_With_IceT" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK/MultiPass_Rendering_With_IceT</a> for parallel<br>
>> rendering including transparent objects?<br>
>><br>
>> I have tried to modify the above example by first setting<br>
>>   actor->GetProperty()->SetOpacity(0.3);<br>
>> after creation of the actor, and, second, adding<br>
>>   vtkSmartPointer<vtkTranslucentPass> translucent =<br>
>> vtkSmartPointer<vtkTranslucentPass>::New();<br>
>>   passes->AddItem(translucent);<br>
>> after the original line "passes->AddItem(opaque);".<br>
>><br>
>> The result is for example, when running with 3 MPI processes:<br>
>> The sphere segments in the partial Renderers of process 1 and 2 are<br>
>> transparent (but show some artefacts).<br>
>> The composite Renderer of process 0 doesn't show any sphere, just the<br>
>> black background!<br>
>> When the opacity is set to 1, the sphere segments are composited in three<br>
>> colors on process 0 as expected.<br>
>><br>
>> What is required to correctly perform parallel rendering including<br>
>> transparency?<br>
>> (I am using ParaView-v5.0.1, compiled from source on Ubuntu 15.04)<br>
>><br>
>> Thank you<br>
>> Kai<br>
>><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Cory Quammen<br>
R&D Engineer<br>
Kitware, Inc.<br>
</font></span></blockquote></div><br></div>