<div dir="ltr">Well mappers are always used for rendering. The connections typically go <div><br></div><div>dataset 1 -> 1 mapper 1 -> 1 actor N -> 1 renderer N -> 1 renderwindow</div><div><br></div><div>But if you have two mappers then typically you have two datasets and would need two writers resulting in two files </div><div><br></div><div>Not sure if that answers it for you but hopefully it helps.</div><div><br></div><div>Ken</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 7, 2016 at 9:51 AM, Ruben van Staden <span dir="ltr"><<a href="mailto:rubenvanstaden@gmail.com" target="_blank">rubenvanstaden@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">Hey Ken<div><br></div><div>Thanks for the reply.</div><div>Is it possible to use mappers and still write to a VTK file using:</div><div><br></div><div>vtkSmartPointer<<wbr>vtkXMLUnstructuredGridWriter> writer = vtkSmartPointer<<wbr>vtkXMLUnstructuredGridWriter>:<wbr>:New();<br></div><div><br></div><div>Regards</div><div>Ruben</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 7, 2016 at 2:41 PM, Ken Martin <span dir="ltr"><<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.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">If they are in two different mappers and you are using the new OpenGL2 backend, then you can solve it in VTK by calling<div><br></div><div>SetResolveCoincidentTopologyTo<wbr>PolygonOffset();<br></div><div><div>SetRelativeCoincidentTopologyP<wbr>olygonOffsetParameters(-2,-2);</div><div><br></div></div><div>on one of the mappers.  If they are in the same mapper then, you cannot solve it in VTK as the two polygons occupy exactly the same space, but due to driver specific rendering implementations there may be some differences frame to frame in what pixels end up on top.</div><div><br></div><div>Hope that helps</div><div>Ken</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Fri, Oct 7, 2016 at 7:38 AM, Ruben van Staden <span dir="ltr"><<a href="mailto:rubenvanstaden@gmail.com" target="_blank">rubenvanstaden@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Dear Readers<div><br></div><div>I have two overlapping <span style="font-size:12.800000190734863px">polyhedrons that each have a different color.</span></div><div><span style="font-size:12.800000190734863px">When I plot them using Paraview, the part of the structure that overlaps</span></div><div><span style="font-size:12.800000190734863px">starts flickering as I rotate the structure. Almost like the program is confused </span></div><div><span style="font-size:12.800000190734863px">to what coloring to add to that part, since they overlap. </span></div><div><span style="font-size:12.800000190734863px"><br></span></div><div><span style="font-size:12.800000190734863px">Is there a way to solve this, somehow using VKT, or will I have to </span></div><div><span style="font-size:12.800000190734863px">do polyhedron boolean operations?</span></div><div><span style="font-size:12.800000190734863px"><br></span></div><div><span style="font-size:12.800000190734863px">Regards</span></div><span><font color="#888888"><div><span style="font-size:12.800000190734863px">Ruben</span></div></font></span></div>
<br></div></div>______________________________<wbr>_________________<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 <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div data-smartmail="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br><a href="tel:518%20371%203971" value="+15183713971" target="_blank">518 371 3971</a><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee.  Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message. 
Thank you.</span></div></div></div>
</font></span></font></span></div>
</blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee.  Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message. 
Thank you.</span></div></div></div>
</div>