• Editor
  • Bad mesh subdivision.

Hi. I am constantly struggling with this weird mesh triangulation. Sometimes it creates proper mesh with triangles built on three nearest points but more often I get this total random thing. I attached an example: on the left the mesh I`d like to have (photoshopped), on the right the one spine gives me. Is there something I should know/do to get a proper mesh each time?

Related Discussions
...

Hello! you can enforce triangles by clicking and dragging from one vertex to another to create an orange line, which is called Edge.
You can find detailed info about how meshes and edges work here: Meshes - Spine User Guide: Edges

Also, the edges you photoshopped have the correct logic for a mesh 😃 the closest you can get to the artwork, the better results you'll get. It is also recommended to rig something as straight as possible, and bend it later in Spine, as curves give less optimal results when bent the opposite way they were drawn.

Erikari is right, but the right mesh in your image doesn't look like the triangles Spine should be generating. For example, I quickly clicked out a similar mesh and the triangulation doesn't look like what you are getting:

Image removed due to the lack of support for HTTPS. | Show Anyway

In Edit Mesh mode, try unchecking Deformed so it is easier to see what is going on. It could be that your mesh is deformed and the triangles are good in the texture coordinates, but not in the deformed mesh.

Yes Erica, making orange edges was the only way to fix it I came up with, however it requiers some extra clicking. I work on material delivered by client and making it straight is not the case.
Nate, I unchecked Deformed and the mesh looks exactly the same. I tried to make "fresh" one this morning and got traingle mess again.
I`ll keep on makig hard edges for now.
Thank you guys.

It shouldn't make such poor triangulation. We'd love to fix it if there is a problem, maybe you can send your project and show a screenshot of how we should click to make a mesh with poor triangles?

Aha, thanks! Long story short, something wasn't considering the proportions of the image when adjusting triangles. This has been fixed in 3.8.52-beta. Cheers! :happy: :beer:

Glad to hear that 🙂 Thanks.