pixijs / spine

Pixi.js plugin that enables Spine support.
Other
561 stars 217 forks source link

Unable to use image sequence with mesh #530

Open gogost6 opened 10 months ago

gogost6 commented 10 months ago

Description: Previously, we believed that the bug was tied to the Spine export process itself. However, it now appears that the animation functions seamlessly on their latest runtime for spine-ts. Unfortunately, I cannot offer a functional demonstration with their runtime at this time, and I apologize for the inconvenience. I attempted to test it by cloning their repository and running it through spine-pixi.

We kindly request your assistance with resolving this issue as our animators are currently facing challenges due to the absence of meshes. This situation is impeding their workflow and causing delays. Any help in resolving this matter would be greatly appreciated.

Example: Here is the not working example using the pixi-spine: https://codesandbox.io/s/pixi-spine-test-c576ft

References: https://esotericsoftware.com/forum/d/25050-an-error-by-a-png-sequence-with-a-mesh-with-vertecies/9

495

https://github.com/pixijs/spine/issues/447#issuecomment-1277220169

alexmaslarski commented 10 months ago

I have encountered the same issue when working with png sequences combined with meshes

ivanpopelyshev commented 10 months ago

We kindly request your assistance with resolving this issue as our animators are currently facing challenges due to the absence of meshes. This situation is impeding their workflow and causing delays. Any help in resolving this matter would be greatly appreciated.

I'm super-busy and can check it only if it'll be actual paid job.

@miltoncandelero is there anyone else who can do that right now, and where's that new pixi spine plugin that people are using?

miltoncandelero commented 10 months ago

This is the official runtime, it's marked as WIP but I've already used It on production without issues (and it is published on npm)

https://github.com/EsotericSoftware/spine-runtimes/tree/4.1/spine-ts/spine-pixi

As for fixing the this bug, I don't have time even if it were a paid job, I am spread very thin, sorry 😞

ivanpopelyshev commented 10 months ago

OK, I can look thgouth latest fixes, and if it was actually esotericsoftware bug we didnt port here, it'll work.

ivanpopelyshev commented 10 months ago

Btw loading of ytour stuff in codesandbox works only if you specify crossorigin "anonymous" , and i dont know how to do it with new "ASSETS LOADER". Can you do it please?

georgistoilko commented 10 months ago

I changed the crossorigin attribute to anonymous in the codesandbox, but I think I don't understand what does this mean: "with new "ASSETS LOADER"?

wetrustinprize commented 5 months ago

Question: which are the differences on Pixi's and Estoteric's implementation of the spine runtime? Why there are two?

ivanpopelyshev commented 5 months ago

Question: which are the differences on Pixi's and Estoteric's implementation of the spine runtime? Why there are two?

Its basically supercharged spine-ts

  1. Less many files because some files aren't needed for pixi
  2. Bucked up logic in pixi loader for loading different ways
  3. Supports different version of spine model, because newbies keep downloading models for older format, and oldies using old verison of program because they cant change pipeline for artists
  4. Supports mesh batching through another plugin

Maybe with spine v4.1 here for 2 years already it loses the point :)

wetrustinprize commented 5 months ago

Thanks for the explanation @ivanpopelyshev! :)

cookW3b commented 1 month ago

@ivanpopelyshev @miltoncandelero I opened PR for this issue. Can you check this, please? PR