# How to reduce Moire pattern

**URL:** https://discourse.vtk.org/t/how-to-reduce-moire-pattern/2716
**Category:** Support
**Created:** [February 28, 2020, 3:35am UTC](https://discourse.vtk.org/t/how-to-reduce-moire-pattern/2716 "2020-02-28T03:35:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![yuhuimoon](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/y/c6cbf5/32.png) [@yuhuimoon](https://discourse.vtk.org/u/yuhuimoon)
#### Post date: [February 28, 2020, 3:35am UTC](https://discourse.vtk.org/t/how-to-reduce-moire-pattern/2716/1 "2020-02-28T03:35:43Z")

</div>

I use vtkTubeFilter to build some tube models in the scene. When the camera is far from the model, I can see the Moire pattern.(picture 1) The model is built correctly. When the camera is near to it, it renders well.(picture 2). Is there any way to reduce or improve it. The scene uses default light. Thanks in advance.

picture 1:

 ![TIM图片20200228112234](https://discourse.vtk.org/uploads/default/original/2X/4/435883a9e8568b5733ca77ca497c1cc99a043ee5.png)

picture 2:

 ![2020-02-28_112543](https://discourse.vtk.org/uploads/default/original/2X/6/634b43cae368e4be184f7b472c2096f1b7554178.png)

---

<div class="post-metadata">

### Author: ![Michael](https://discourse.vtk.org/user_avatar/discourse.vtk.org/michael/32/16_2.png) [@Michael](https://discourse.vtk.org/u/Michael)
#### Post date: [February 28, 2020, 11:08am UTC](https://discourse.vtk.org/t/how-to-reduce-moire-pattern/2716/2 "2020-02-28T11:08:43Z")

</div>

This is something you can reduce with multisampling.  
See vtkRenderWindow::SetMultiSamples
