• International中文
  • 当我重新导入角色数据来替换所有附件的时候,我需要怎么做才能沿用之前附件的网格信息

在项目中,我已经编辑了角色的部分附件网格信息,然而我发现我不小心改变了角色的默认姿势,我想通过重新导入角色数据来恢复默认的姿势,所以我需要替换已有的附件,但是我想保留已有附件的网格信息和权重信息,请问这种情况该如何处理

Related Discussions
...

What you are asking is in conflict: you either restore the pose or retain the mesh information, you cannot have both for the same element.

If the problem is that only some elements need to be restored and some others not so that their meshes can be preserved, please make sure to delete the images (temporarily just for the PSD import) from your PSD file so that they don't overwrite the images that you want to keep in your existing Spine file.

    Erika 我认为我的需求并没有冲突,是实际发生的,您所意味的冲突,是指Spine目前不支持吗?

    我目前编辑了角色的部分贴图的网格信息(例如"头发"),以进行权重绑定,同样的还有其他附件的贴图也进行了网格处理,我想重新导入json文件是因为我发现角色的默认姿势被我不小心修改了,但是我又希望我导入之后的附件,例如"头发"这些附件能沿用之前的网格信息,这样我就能避免再一次的进行繁琐的网格编辑和权重绑定。这两个我认为都是合理的需求,并且实际使用过程中应该是比较容易出现的。

    我可以在导入之前把已经处理了网格信息的附件先从目标插槽挪走,好让新导入的贴图不会覆盖当前已经编辑了网格信息的贴图,但是我如何才能把已有的"头发"附件的网格信息复制给新导入进来的"头发"附件呢?

      • Editado

      ECG_Kinsey

      是指Spine目前不支持吗?

      Yes, if your skeleton is now in a state where the default pose has been accidentally changed, resulting in deformation of the image, then it is most likely not possible to keep both the pose and mesh settings while fixing it. Such mistakes are indeed easy to make, as you mention, but since the setup pose is always interpreted as the pose it is supposed to be, it is not possible to save which state is correct at any given time in setup mode. Therefore, it is recommended that you edit the weights and test the rig in animate mode to avoid accidentally changing the setup pose.

      It is not possible to copy the positions of mesh vertices, bound bones, weights of each vertex, etc. in a batch, except by duplicating the mesh attachment. However, it is possible to copy and paste each one individually.
      For information on copying and pasting vertex positions, please see the following section of the Spine User Guide: https://zh.esotericsoftware.com/spine-tools#%E9%A1%B6%E7%82%B9%E4%BD%8D%E7%BD%AE
      https://esotericsoftware.com/spine-tools#Vertex-positions
      However, while it is easy to match the vertex count for very simple meshes, as shown in the user guide, for complex meshes this can be very difficult and it may be easier to re-create new vertices. It will be easier to recreate the vertices if you enable Wireframe and re-create the vertices so that you can see the position of the vertices of the original mesh.

      Since 4.2, it is possible to copy a bound bone by selecting the name of the bone in the bone list of the weight view and pressing Ctrl+C. Then select another mesh and press Ctrl+V to paste.

      To copy the weights that each vertex has, it is convenient to use Weld. The following video demonstration will be helpful to learn about this feature:

      Currently, this is a slightly more complicated modification process. We have the idea of adding a simple way to copy the settings from one mesh to another and hope to implement this in the future: EsotericSoftware/spine-editor551

        Misaki 感谢您的耐心解答,也期待Spine的新功能