# How to make a square point round?

**URL:** https://discourse.vtk.org/t/how-to-make-a-square-point-round/4980
**Category:** Support
**Created:** [January 11, 2021, 1:56pm UTC](https://discourse.vtk.org/t/how-to-make-a-square-point-round/4980 "2021-01-11T13:56:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sindzicat](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sindzicat/32/2837_2.png) [@sindzicat](https://discourse.vtk.org/u/sindzicat)
#### Post date: [January 11, 2021, 1:56pm UTC](https://discourse.vtk.org/t/how-to-make-a-square-point-round/4980/1 "2021-01-11T13:56:51Z")

</div>

Hello!  
I’m new in VTK.  
A square point is constructed in [this](https://kitware.github.io/vtk-examples/site/Python/GeometricObjects/Point/) example ([C++ version](https://kitware.github.io/vtk-examples/site/Cxx/GeometricObjects/Point)).

I tried to find how to create a round point but found nothing that could help me. I found [this article](https://blog.kitware.com/rendering-tubes-and-spheres-in-vtk/) in Kitware blog how to make a sphere. This works for me, but I’d like to create a round point still. Also I found [this issue](https://gitlab.kitware.com/vtk/vtk/-/issues/17000), but I can’t understand [this answer](https://gitlab.kitware.com/vtk/vtk/-/issues/17000#note_339689) to get a round point.

How to create a round point? I code on Python, but I hope I will be able to understand C++ code.

Best regards,  
Andrey.

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [January 13, 2021, 1:41am UTC](https://discourse.vtk.org/t/how-to-make-a-square-point-round/4980/2 "2021-01-13T01:41:24Z")

</div>

You can use circle glyphs with vtkGlyph3D or vtkGLyph3DMapper. Probably it is also possible to write a custom shader that renders each vertex as a circle, but for this you need to figure out how shader replacements work in VTK and write the shader code (some useful shader code snippets are [here](https://people.freedesktop.org/~idr/OpenGL_tutorials/03-fragment-intro.html#id2827467)).
