• Editor
  • Mesh creation & Weights

Related Discussions
...

Hello,

I am starting to explore meshes and weights and trying to do something very simple but can't seem to figure it out. Sometimes, when I 'Edit Mesh' on an attachment then bind it to two bones, the weights automatically get assigned to only 1 of the 2 bones. Whereas, other times, the weights actually get assigned correctly to both bones. How do I reassign the weights between the 2 bones correctly automatically? Any thoughts on why it would get assigned correctly sometimes and incorrectly in other times?

Also, I can't seem to get the weight views like the ones in the tutorial below. I have 3 checkboxes - pies, overlay, and selected - but they are all grayed out and only pies is checked. However, even with pies checked, there are no visual pies on the vertices on my model. Any explanation? How do I get make the checkboxes not grayed out so I can see other weight views?

Weights - Spine User Guide

Thanks,
Keith


Here's a screenshot of what i'm trying to do. Basically, trying to make the weight auto-assign between the two skeletons so that I can bend the attachment at the "joint" created by the two skeletons. Right now, it's auto-assigning all the weight to only 1 of the 2 skeletons instead of spreading it between the 2 (which is particularly important where I'm trying to make the attachment bend).

http://imgur.com/gUHlNDD

Can you post a .spine file which has the mesh in your screenshot? My first guess is that maybe your bones overlap slightly, but it still seems like odd behavior.

The Weights view has some options for the Weights tool. Select the Weights tool on the toolbar in the viewport and you'll see pies, overlay colors, etc. We'll see what we can do to make this more clear.

Appreciate the quick response!

Hmm unfortunately, I do not have the.spine file anymore because I already fixed it manually... I will make sure my bones don't overlap in the future but, in my screenshot above, the starting point of each bone doesn't seem to be overlapping. The extensions to the starting point of each bone may overlap, but I read from another tutorial that the extensions are purely visual and have no impact...

On the second point, I get how to open the Weights tool; it's just that everything is grayed out (screenshot below). How do I make them NOT grayed out? From the screenshot, you can see that, even though Pies is checked, I do not see any pies on my vertices.

http://imgur.com/l4jL0eR

New question... when I export new art from Illustrator, my meshes on Spine do not get updated with the new art. Any reason why? Is it because my new art is slightly shorter than the original? I have to constantly redo my mesh which seems a little repetitive when I'm trying to iterate a model.

Thanks!
Keith

wagabag a écrit

New question... when I export new art from Illustrator, my meshes on Spine do not get updated with the new art. Any reason why? Is it because my new art is slightly shorter than the original? I have to constantly redo my mesh which seems a little repetitive when I'm trying to iterate a model.

Thanks!
Keith

image: It will update automatically if 1. it's saved in the same folder (the one from spine) and 2. it has the exact same name and file extension 🙂 (I'm not sure about image size? But my guess is that it will)

As for the weights... bind - click bones in a row when you bind them; normally you can either deselect or press the auto button and they will calc; or you can select the bones you want (ctrl+click) and then the auto button should be enabled too (only selecting one won't really work), then you can select the weights tool and the pies should show up 🙂 (you need to select this tool in order to see the pies and adjust them, I am assuming you're missing this step 🙂 )

Thanks for helping, Nyenna.

Yup, the same file name and extension being saved in the same folder normally works for me but, for some reason, it doesn't seem to be working when I work with meshes. I wonder if it's because I tried copying meshes into another skin by copying a mesh from one skeleton, pasting it into another, and renaming the attachment (as described here - http://fr.esotericsoftware.com/forum/How-to-Copy-Mesh-to-Another-Skin-5799). It seemed like it was initially picking up the correct image but then it stopped working.

When I select two bones bound to the same mesh, the auto button does not show up (first screenshot below) - am I missing something? In the second screenshot below, you can see that the pies are checked, but I cannot see them.

http://imgur.com/a/Hz6DW (two bones selected, no auto button)
http://imgur.com/l4jL0eR (pies not showing up)

wagabag a écrit

Thanks for helping, Nyenna.

When I select two bones bound to the same mesh, the auto button does not show up (first screenshot below) - am I missing something? In the second screenshot below, you can see that the pies are checked, but I cannot see them.

http://imgur.com/a/Hz6DW (two bones selected, no auto button)
http://imgur.com/l4jL0eR (pies not showing up)

Ofcourse they won't show up. For one, with the bones selected they're not bound to the skin yet. Select image, click bind in bottom left of the weights window, click bones. Will show now. For weights. There is a weight tool (under pose tool, next to translate rotate etc) you select the mesh first and then that tool with bones bound to it. Should work that way

wagabag a écrit

Hmm unfortunately, I do not have the.spine file anymore because I already fixed it manually... I will make sure my bones don't overlap in the future but, in my screenshot above, the starting point of each bone doesn't seem to be overlapping. The extensions to the starting point of each bone may overlap, but I read from another tutorial that the extensions are purely visual and have no impact...

OK, the project file would help if you see it again. Bone length is not usually important, but it is used for IK and calculating auto weights.

wagabag a écrit

On the second point, I get how to open the Weights tool; it's just that everything is grayed out (screenshot below). How do I make them NOT grayed out? From the screenshot, you can see that, even though Pies is checked, I do not see any pies on my vertices.

http://imgur.com/l4jL0eR

You are opening the Weights view. Some of the settings in the Weights view are only active when you've selected the Weights tool on the main toolbar in the viewport. I've updated the documentation to make this a little more clear.

Spine should automatically reload images if the files change. Spine reads image files from disk but otherwise images are separate from your attachments in Spine. You shouldn't have to redo your mesh even if for some reason Spine doesn't refresh the images. You can refresh manually by clicking the Images tree node then Refresh:

Image supprimée en raison de l'absence de support de HTTPS. | Afficher quand même


If all else fails, restarting Spine will be sure to reload the images (though again, Spine should be doing it automatically).

7 mois plus tard

Awesome that helps, Nate. Thank you!


Hello, I'm still running into the same issue where all the weights get assigned to one bone rather than all three bound bones (see screenshot below). I've tried hitting the Auto button to try to redistribute the weight automatically between the three bones, and I've also made sure that no bones are overlapping. Do you know what can be causing all the weights to assign to one bone rather than being distributed between all bound bones? See screenshot below and attached file.

Also, I am trying to animate a meshed fire instead of creating a frame-by-frame fire animation. Are there any examples of this or would just drawing every fire frame be more efficient?

Thanks! Keith

We recently made a change so Auto only applies to bones that are selected in the Weights view. While this can be useful at times, it can also be confusing if you don't know about it. We have plans to improve it soon. Sorry for the trouble!

Ah! Thanks again, Nate!