RaSan147 / pixi-live2d-display

A PixiJS plugin to display Live2D models of any kind (With lip-sync from audio)
https://guansss.github.io/pixi-live2d-display/
MIT License
77 stars 16 forks source link

Weird mobile performance problem. #14

Open thiotimoo opened 3 weeks ago

thiotimoo commented 3 weeks ago

I tried to use this library and it works really great on my laptop, but there is a weird problem when i try to open the website on my phone. It causes some major lags.

This only happened because this library uses Pixi v7, when i try to use the default pixi-live2d-display with Pixi v6, it works smoothly on mobile.

Please let me know if there is a solution to this, your fork is great!

RaSan147 commented 3 weeks ago

Thankss...

You can use the old version for now. (It uses a bit different way to handle lipsync)

I'll try testing it. Can you please tell me about your mobile model and share your live2d model (or its file size and vertex count and load)

On Mon, Oct 28, 2024, 6:37 PM Vincent Timothy @.***> wrote:

I tried to use this library and it works really great on my laptop, but there is a weird problem when i try to open the website on my phone. It causes some major lags.

This only happened because this library uses Pixi v7, when i try to use the default pixi-live2d-display with Pixi v6, it works smoothly on mobile.

Please let me know if there is a solution to this, your fork is great!

— Reply to this email directly, view it on GitHub https://github.com/RaSan147/pixi-live2d-display/issues/14, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDNL24RI6OERKWNOA3BZDLZ5YV2BAVCNFSM6AAAAABQXKHVWSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTQMZQG44DKOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

thiotimoo commented 3 weeks ago

I use this template model: https://cdn.jsdelivr.net/gh/Eikanya/Live2d-model/Live2D/Senko_Normals/senko.model3.json from guansss' website. Btw, i use Xiaomi 13T, which has decent performance in games so i think it's not a hardware problem.

thiotimoo commented 3 weeks ago

Thankss... You can use the old version for now. (It uses a bit different way to handle lipsync) I'll try testing it. Can you please tell me about your mobile model and share your live2d model (or its file size and vertex count and load) On Mon, Oct 28, 2024, 6:37 PM Vincent Timothy @.> wrote: I tried to use this library and it works really great on my laptop, but there is a weird problem when i try to open the website on my phone. It causes some major lags. This only happened because this library uses Pixi v7, when i try to use the default pixi-live2d-display with Pixi v6, it works smoothly on mobile. Please let me know if there is a solution to this, your fork is great! — Reply to this email directly, view it on GitHub <#14>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDNL24RI6OERKWNOA3BZDLZ5YV2BAVCNFSM6AAAAABQXKHVWSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTQMZQG44DKOI . You are receiving this because you are subscribed to this thread.Message ID: @.>

i really love your .speak function, that's why im using the latest ver

RaSan147 commented 3 weeks ago

Yes I just checked on it. What it seems to me is that at 1st its laggy, after a while it becomes normal speed.

Sadly the pixi js has already moved to v8 (while we are still on v7, guansss sensei is taking his time on this one now. Hope he's doing well)

I'll look into the code and find if there's any similar issue on pixi and live2d. And any workaround.

Thabks