<div dir="ltr"><div dir="ltr"><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"DejaVu Sans Mono";font-size:9pt">ResetCameraClippingRange() works perfectly. Thanks a lot!<br></pre></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 26, 2018 at 7:23 PM David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Piotr,<div><br></div><div>If the lines disappear when you interact with the window, then the problem might be related to the depth buffer precision.  It's possible that the initial clipping range is too large, and interaction causes it to be reset to something more reasonable.  You can try calling ResetCamera() or ResetCameraClippingRange() on the renderer to see what happens.</div><div><br></div><div>  David<br><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 26, 2018 at 11:04 AM Piotrek Konarski <<a href="mailto:piotrek.konarski1@gmail.com" target="_blank">piotrek.konarski1@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for your answer but it didn't work.</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 26, 2018 at 6:05 PM Allie Vacanti <<a href="mailto:allison.vacanti@kitware.com" target="_blank">allison.vacanti@kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Try calling UseHiddenLineRemovalOn() on your vtkRenderer to always get the "after" result.</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 15, 2018 at 3:53 PM Piotrek Konarski <<a href="mailto:piotrek.konarski1@gmail.com" target="_blank">piotrek.konarski1@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello<div><br></div><div>I try to write a python script to plot unstructured grid data. Everything goes fine except for rendering. VTK renders mesh edges that should be normally invisible. Those edges disappear when I click on the interactor window which rotates the plotted object. No matter if I use an interactor, render a widow or save a screenshot to a file without rendering a window the result is always the same, the edges are visible. I attach files to illustrate the problem.</div><div><br></div><div>I use VTK 8.1.1 on Fedora linux.</div><div><br></div><div>Any ideas?</div><div>Regards,</div><div>Piotr</div></div></blockquote></div></blockquote></div>
</blockquote></div></div></div>
</blockquote></div>