[vtkusers] Rendering, cannot get rid of hidden edges
Piotrek Konarski
piotrek.konarski1 at gmail.com
Mon Nov 26 14:22:25 EST 2018
ResetCameraClippingRange() works perfectly. Thanks a lot!
On Mon, Nov 26, 2018 at 7:23 PM David Gobbi <david.gobbi at gmail.com> wrote:
> Hi Piotr,
>
> 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.
>
> David
>
> On Mon, Nov 26, 2018 at 11:04 AM Piotrek Konarski <
> piotrek.konarski1 at gmail.com> wrote:
>
>> Thanks for your answer but it didn't work.
>>
>> On Mon, Nov 26, 2018 at 6:05 PM Allie Vacanti <
>> allison.vacanti at kitware.com> wrote:
>>
>>> Try calling UseHiddenLineRemovalOn() on your vtkRenderer to always get
>>> the "after" result.
>>>
>>> On Thu, Nov 15, 2018 at 3:53 PM Piotrek Konarski <
>>> piotrek.konarski1 at gmail.com> wrote:
>>>
>>>> Hello
>>>>
>>>> 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.
>>>>
>>>> I use VTK 8.1.1 on Fedora linux.
>>>>
>>>> Any ideas?
>>>> Regards,
>>>> Piotr
>>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20181126/dd8e8781/attachment.html>
More information about the vtkusers
mailing list