• International中文
  • 纹理图集修改尺寸的的问题 修改后图片拼接处有明显的痕迹

我拿到一份spine文件 文件里面的png尺寸为2048x1024 但是altas文件记录的图片尺寸为4096x2048
然后我把图片放大为4096x2048的分辨率但是图片变得模糊了 图片拼接处会有明显的边界感
请问有什么办法解决这种问题吗

原版

2048x1024.zip
2MB

修改后

4096x2048.zip
8MB
Related Discussions
...

您好,冒昧了,想请教点spine的基础升级问题。提示出现这个图,怎么办?
!

关了杀毒 和系统的安全防护再重新更新一下看看

    Alexander is right that if you have an antivirus (or a virus) it can interfere with Spine. However, your screenshot is of a very old Spine launcher. Download a new Spine installer from your Spine license page and reinstall.

    Many atlas PNG images are somewhat special. When packing the atlas, if "bleed" was checked then the colors of transparent pixels have been set based on the closest non-transparent pixels. Or if "premultiplied alpha" was checked then the color channels have been multiplied with the alpha channel. If you save the PNG with some other software, it likely does not do these things and that can cause artifacts like you have shown. GIMP has been reported to be able to preserve the color values of transparent pixels.

    See also this thread:
    https://esotericsoftware.com/forum/d/25622-artifacts-in-textures-that-were-edited-in-photoshop

    And this video:

    If you can't see YouTube, the video is also on bilibili:
    https://www.bilibili.com/video/BV1BD4y1Y7By/

      Nate Thank you for your answer. I'll try it later.😘

      Alexander 都操作过了,不行。官方回复了邮件,说让重装。我试试。

        @Alexander @chenyuzhou I think I found a solution.

        As Nate recommended, I used GIMP to do the scaling of the atlas texture page. The key was to set the Quality: Interpolation to None:

        The default is Cubic, but that did not work because it added extra processing to the transparent pixels when scaled.

        Then select File - Export As... and enable Save color values from transparent pixels in the export options. (This is as shown in the video introduced by Nate):

        Then changing the image path of the skeleton to refer to the unpacked images should result in the look of the first image shown.
        I hope this helps you.

          Misaki You are my hero, thank you so much.😘

          chenyuzhou 你有激活码吗?把激活码输入在网页,然后重新下载一遍安装包