• Editor
  • how to adjust mesh to fit in an image

  • Đã chỉnh sửa
Related Discussions
...

Hi,

I have an artwork where in I've already created mesh on it. However, I noticed that the mesh is not properly aligned to the image. Please see attached photo.

Is it possible to move the mesh a little bit to match the image's position?

Thanks,
Gilbert

You can click on each point and drag them. Click 'edit' mode for the mesh.

thanks Xelnath. Yes I get what you mean.
However, I was referring to the whole mesh point if I can move them all at the same time. As you can see, it is already shaped to the image, the problem is that the mesh was a bit misplaced. If only i can rotate the whole mesh then there will be no problem. But I'm not sure if it's doable.

5 ngày sau
grifter101 đã viết

I noticed that the mesh is not properly aligned to the image. Please see attached photo.

I'm curious about how this happened.

6 ngày sau

Thanks Nate! I'll try your suggested solution. Appreciate your help.

@Pharan - I'm not sure how it happened also, maybe when I save a new file since the original one don't have a problem like this.

Actually, looks like someone rotated the original image. It also looks like the original rotation was more space-efficient.

10 ngày sau
Pharan đã viết

Actually, looks like someone rotated the original image. It also looks like the original rotation was more space-efficient.

Yeah, this is what it looks like on mine too. Is there a war to rotate the image under the mesh? Otherwise it will take me ages to move all the dots lol.

Last I checked it was not possible to use the rotate or scale functions to change the positions of vertices in Mesh Edit mode. There's currently no way to access the rotate or scale tools when in Edit Mesh mode, unfortunately. You can only adjust the position of vertices using xy translation with the mouse/arrow keys.

I had pretty much exactly same problem a while ago. Nate added an entry to the issue tracker, but it hasn't been addressed yet.
Rotate and scale vertices in edit mode · Issue #60 · EsotericSoftware/spine-editor · GitHub

The only thing I could suggest would be to change the rotation of the glove in the underlying image. Open the image in photoshop, rotate the glove the required amount, but keep the image's width/height dimensions the same (very important). Save the new rotated image in your project/images folder. Then within Spine, you can change the image file that the mesh uses.