<div dir="ltr">Did you<div><br></div><div><div>  //@{</div><div>  /**</div><div>   * Set/Get a global flag that controls whether coincident topology (e.g., a</div><div>   * line on top of a polygon) is shifted to avoid z-buffer resolution (and</div><div>   * hence rendering problems). If not off, there are two methods to choose</div><div>   * from. PolygonOffset uses graphics systems calls to shift polygons, lines</div><div>   * and points from each other. ShiftZBuffer is a legacy method that used to</div><div>   * remap the z-buffer to distinguish vertices, lines, and polygons, but</div><div>   * does not always produce acceptable results. You should only use the</div><div>   * PolygonOffset method (or none) at this point.</div><div>   */</div><div>  static void SetResolveCoincidentTopology(int val);</div><div>  static int  GetResolveCoincidentTopology();</div><div>  static void SetResolveCoincidentTopologyToDefault();</div><div>  static void SetResolveCoincidentTopologyToOff()</div><div>    { SetResolveCoincidentTopology(VTK_RESOLVE_OFF) ;}</div><div>  static void SetResolveCoincidentTopologyToPolygonOffset()</div><div>    { SetResolveCoincidentTopology(VTK_RESOLVE_POLYGON_OFFSET); }</div><div>  static void SetResolveCoincidentTopologyToShiftZBuffer()</div><div>    { SetResolveCoincidentTopology(VTK_RESOLVE_SHIFT_ZBUFFER); }</div><div>  //@}</div><div><br></div><div><br></div><div>specifically</div><div><div><br></div><div>  mapper->SetResolveCoincidentTopologyToPolygonOffset();  ?</div></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 16, 2018 at 9:43 PM, pnt1614 <span dir="ltr"><<a href="mailto:minpu.code@gmail.com" target="_blank">minpu.code@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Let's me describe my situation, first I pick many points and then render all<br>
cell edges around those points in different color. Everything is okay but<br>
when I rotate the camera, there are some edges disappeared. I am not sure<br>
what the problem is but it looks like a z-fighting problem. I have attached<br>
two images to show this problem.<br>
<<a href="http://vtk.1045678.n5.nabble.com/file/t342361/Image1.jpg" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/file/t342361/Image1.jpg</a>> <br>
<<a href="http://vtk.1045678.n5.nabble.com/file/t342361/Image2.jpg" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/file/t342361/Image2.jpg</a>> <br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/VTK-Users-f1224199.html</a><br>
______________________________<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/<wbr>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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</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="https://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>101 East Weaver Street<br>Carrboro, North Carolina<br>
27510 USA<br><br><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></div></div></div>
</div>