# Loss of smoothness of a MeshViz/Makie plot when assigning colors to vertices

**URL:** <https://discourse.julialang.org/t/loss-of-smoothness-of-a-meshviz-makie-plot-when-assigning-colors-to-vertices/91964>\
**Category:** General Usage\
**Tags:** plotting\
**Created:** [December 21, 2022, 3:59pm UTC](https://discourse.julialang.org/t/loss-of-smoothness-of-a-meshviz-makie-plot-when-assigning-colors-to-vertices/91964 "2022-12-21T15:59:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_stla](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/_stla/32/35613_2.png) [@\_stla](https://discourse.julialang.org/u/_stla)\
**Post date:** [December 21, 2022, 3:59pm UTC](https://discourse.julialang.org/t/loss-of-smoothness-of-a-meshviz-makie-plot-when-assigning-colors-to-vertices/91964/1 "2022-12-21T15:59:53Z")

</div>

Hello,  
I have a 3D mesh made with the **Meshes** package. When I plot it with **MeshViz** using the default attributes, it is smooth. But when I assign some colors to the vertices of the mesh, it is not smooth anymore:

 ![hopftorus01](https://global.discourse-cdn.com/julialang/original/3X/e/8/e804fc7b8b04e6675cc7959d3a73694ca738d3ec.png)

How to have the smoothness? This plot looks like a 3D plot obtained when we don’t provide the normals.

---

<div class="post-metadata">

**Author:** ![\_stla](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/_stla/32/35613_2.png) [@\_stla](https://discourse.julialang.org/u/_stla)\
**Post date:** [December 21, 2022, 4:32pm UTC](https://discourse.julialang.org/t/loss-of-smoothness-of-a-meshviz-makie-plot-when-assigning-colors-to-vertices/91964/2 "2022-12-21T16:32:31Z")

</div>

Ah it is nice when I triangulate the mesh!

 ![Capture du 2022-12-21 17-31-47](https://global.discourse-cdn.com/julialang/original/3X/e/9/e92d9ddd320606720cde4a377fd4331061d73e21.png)
