今天出现了一个情况,莫名其妙得对某个网格无法进行权重计算
经过细致的检查发现了是由于网格绘制点重复引起的权重无法计算
问题出现的地方在这:
它看起来很正常,似乎看不出来什么问题,但只有你放得很大再次检查的时候你才会发现点出现交叉了:
我希望在往后的版本中能优化一下网格绘制,在计算的过程中自动删除过近的顶点,不然在放到最大的情况下对一个描边较多的网格检查每一个顶点是否重复是一件相当费劲的事情
今天出现了一个情况,莫名其妙得对某个网格无法进行权重计算
经过细致的检查发现了是由于网格绘制点重复引起的权重无法计算
问题出现的地方在这:
它看起来很正常,似乎看不出来什么问题,但只有你放得很大再次检查的时候你才会发现点出现交叉了:
我希望在往后的版本中能优化一下网格绘制,在计算的过程中自动删除过近的顶点,不然在放到最大的情况下对一个描边较多的网格检查每一个顶点是否重复是一件相当费劲的事情
krammor I agree with you that such cases should be fixed automatically, as it is difficult to see the cause at first glance. By the way, is the vertex overlap a result of setting the mesh vertices through the trace? If so, could you also tell us what values you had set for each property of the trace, if you still have the settings from that time?
krammor Thank you for sharing your settings! In fact, I ran the trace with that settings on the Spineboy's gun
attachment and was able to reproduce similar results immediately, so this is something to improve on in the future. I have created an issue for improvement here: EsotericSoftware/spine-editor865
You can subscribe to this issue ticket to receive notifications when there is any progress on this issue.
Can you say what version of Spine you are using?
krammor Thank you for the additional information you provided! I have tried several times to reproduce the problem based on your information, but unfortunately I have not been able to reproduce it. So if you don't mind, could you please email us a screenshot of the problem on your end that you were able to reproduce about 1 out of 5 times?: contact@esotericsoftware.com
The shape of the image is most important to us, so you can send us the image filled in one color if you like. We would appreciate it if you could include the URL of this thread in the body of your email so that we can see the context.
krammor I have confirmed that I can indeed reproduce the problem, but I have known about this Spine project for some time, and from what I remember and from my searches, this Spine project should be sold for a fee. I thought it would be problematic to publish it here for free, so I have removed the link.
Anyway, I have confirmed that I can reproduce the problem with it more easily than with Spineboy. I thought that this problem might be more likely to occur with images with blurred borders, so I will see if I can create an image that can easily reproduce this problem.
I was able to reproduce the problem once I prepared an image with blurred borders and tested tracing with it.
I will update issue ticket content.