<div dir="ltr"><div><div>Please, does anybody have a clue, how to correctly render transparent objects in parallel?<br><br></div>I attach the modified version of <a href="http://www.vtk.org/Wiki/VTK/MultiPass_Rendering_With_IceT" target="_blank">http://www.vtk.org/Wiki/VTK/MultiPass_Rendering_With_IceT</a> and screenshots of the render windows for MPI rank 0,1,2 (from left to right), first with SetOpacity(1), second with SetOpacity(0.5). In the second case, you see the artifacts in the blue segment, and (worse) that rank 0 shows a black window instead of the composite image.<br><br></div><div>Thank you<br></div><div>Kai<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 25, 2016 at 5:41 PM, Kai Winter <span dir="ltr"><<a href="mailto:kaiwinter212@gmail.com" target="_blank">kaiwinter212@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,<br>is it possible to extend the example at <a href="http://www.vtk.org/Wiki/VTK/MultiPass_Rendering_With_IceT" target="_blank">http://www.vtk.org/Wiki/VTK/MultiPass_Rendering_With_IceT</a> for parallel 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 = 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 transparent (but show some artefacts).<br>The composite Renderer of process 0 doesn't show any sphere, just the black background!<br></div><div>When the opacity is set to 1, the sphere segments are composited in three colors on process 0 as expected.<br></div><div><br>What is required to correctly perform parallel rendering including transparency?<br></div>(I am using ParaView-v5.0.1, compiled from source on Ubuntu 15.04)<br><br><div>Thank you<span class="HOEnZb"><font color="#888888"><br>Kai<br><br></font></span></div></div>
</blockquote></div><br></div>