# How to make a poly data more dense?

**URL:** https://discourse.vtk.org/t/how-to-make-a-poly-data-more-dense/10459
**Category:** Support
**Created:** [January 15, 2023, 2:25pm UTC](https://discourse.vtk.org/t/how-to-make-a-poly-data-more-dense/10459 "2023-01-15T14:25:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![zhang-qiang-github](https://discourse.vtk.org/user_avatar/discourse.vtk.org/zhang-qiang-github/32/2519_2.png) [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)
#### Post date: [January 15, 2023, 2:25pm UTC](https://discourse.vtk.org/t/how-to-make-a-poly-data-more-dense/10459/1 "2023-01-15T14:25:25Z")

</div>

For example, I have a poly data:

 ![image](https://discourse.vtk.org/uploads/default/original/2X/2/24e0d7f95709361d6aea786c470464dd1be77906.png)

How can I make it more dense? The `dense` means more point in the circle. I expect the following poly data:

![image](https://discourse.vtk.org/uploads/default/original/2X/d/d97127cffde1a8187d91f0998204465d1d284b9c.png)

Is there any filter to make poly data more dense? Any suggestion is appreciated~~~

---

<div class="post-metadata">

### Author: ![will.schroeder](https://discourse.vtk.org/user_avatar/discourse.vtk.org/will.schroeder/32/233_2.png) [@will.schroeder](https://discourse.vtk.org/u/will.schroeder)
#### Post date: [January 15, 2023, 2:31pm UTC](https://discourse.vtk.org/t/how-to-make-a-poly-data-more-dense/10459/2 "2023-01-15T14:31:37Z")

</div>

Check out the subdivision filters, e.g., vtkAdaptiveSubdivisionFilter. There are several variants.

---

<div class="post-metadata">

### Author: ![zhang-qiang-github](https://discourse.vtk.org/user_avatar/discourse.vtk.org/zhang-qiang-github/32/2519_2.png) [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)
#### Post date: [January 15, 2023, 2:56pm UTC](https://discourse.vtk.org/t/how-to-make-a-poly-data-more-dense/10459/3 "2023-01-15T14:56:09Z")

</div>

Thanks, and I will try it.

---

<div class="post-metadata">

### Author: ![marcomusy](https://discourse.vtk.org/user_avatar/discourse.vtk.org/marcomusy/32/95_2.png) [@marcomusy](https://discourse.vtk.org/u/marcomusy)
#### Post date: [January 15, 2023, 4:31pm UTC](https://discourse.vtk.org/t/how-to-make-a-poly-data-more-dense/10459/4 "2023-01-15T16:31:55Z")

</div>

I have used it a lot for my stuff and `vtkDelaunay2D` works very well for this kind of problems. Eg

```python
from vedo import *
line = Circle().point_size(10)
msh = line.tomesh().smooth()
show(line, msh, N=2, axes=1)

```

 ![Screenshot 2023-01-15 at 16.29.41](https://discourse.vtk.org/uploads/default/original/2X/6/6272084b23a33e568e75084aa5dcf7af284e2698.png)

outline doesn’t need to be convex.  
Hope this helps
