sipahiro

Hello, I use texturepacker pro to create atlas(starling's format) for spine's skeleton.
But when I turn on "allow rotation" in texturepacker, the mesh attachment doesn't display correctly. I used "StarlingAtlasAttachmentLoader" class. Does anyone know how to solve this issue? Thanks!

p.s. the region attachments are fine..



sipahiro
  • 記事: 8

Mario

Could you send me the TexturePacker Pro atlas to see what's up?
アバター
Mario

Mario
  • 記事: 2236

sipahiro

xml file: https://ufile.io/t1vgl
png file: https://ufile.io/as7j9

Texturepacker simply rotates some sub textures by 90 degrees and these sub textures are marked as rotated.
sipahiro
  • 記事: 8

Mario

アバター
Mario

Mario
  • 記事: 2236

Mario

This has now been fixed in the 3.6-beta branch on GitHub. See the changes to StarlingAtlasAttachmentLoader. Thanks for reporting!
アバター
Mario

Mario
  • 記事: 2236

llorenzo

Unfortunatly, this issue seems to be still around.
Switching "allow rotation" on in Texture Packer will distroy the rendering in Spine.
Any Idea?
llorenzo
  • 記事: 6

Mario

Sorry for that. Could you provide me with assets to reproduce the problem? My test assets work as intended.
アバター
Mario

Mario
  • 記事: 2236

llorenzo

Hi badlogic, thanks for coming to this issue.
Attached is a project that demonstrates the behaviour: https://www.dropbox.com/s/jef18hpkcnytdmf/Test-Spine-TP-Rotation.zip?dl=0
The assets of the Spine anmimaton have been packed by TexturePacker with "allow rotation" selcted. The Spine/Starling render is faulty. Screenshot in the zip.
Everything is loaded through the Starling AssetManager.
My current project is full of animations + graphics and I loose a lot of file and GPU space without the ability to rotate assets.
A solution would be great, thanks.
llorenzo
  • 記事: 6

Mario

It's going to take quite a while before I can get to this issue. You might want to consider using our texture packer, which can be applied to folders of images, not just the images in a skeleton.
アバター
Mario

Mario
  • 記事: 2236


Return to Runtimes