[vtkusers] Render Artifacts

Slaughter, Andrew E andrew.slaughter at inl.gov
Mon May 21 12:40:07 EDT 2018


Adding the following after setting the camera fixed my problem.

renderer.ResetCameraClippingRange()

On Fri, May 18, 2018 at 10:21 PM, Slaughter, Andrew E <
andrew.slaughter at inl.gov> wrote:

> I am seeing some rendering artifacts and can't figure out the cause, I
> would appreciate any help trying to get rid of them.
>
> If you run the script attached it will produce "before.png", which shows
> the artifacts well. If you move the mouse at all in the interactive window
> the artifacts go away and things look great ("after.png").
>
> I am using MacOS 10.12.6, VTK7.1, and python 2.7. I can't share the exact
> input file and I am unable to reproduce it on a smaller file.
>
> Thanks,
>
> Andrew
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180521/6f2c27d1/attachment.html>


More information about the vtkusers mailing list