guansss / pixi-live2d-display

A PixiJS plugin to display Live2D models of any kind.
https://guansss.github.io/pixi-live2d-display/
MIT License
893 stars 137 forks source link

Multiple overlapping hands with the default value `false` of `config.cubism4.setOpacityFromMotion` #131

Closed n0099 closed 7 months ago

n0099 commented 7 months ago

reprod:

  1. Open https://guansss.github.io/live2d-viewer-web/
  2. Create model from https://cdn.jsdelivr.net/gh/n0099/TouhouCannonBall-Live2d-Models@main/Reimu/object_live2d_001_101.asset.model3.json which is located at https://github.com/n0099/TouhouCannonBall-Live2d-Models/blob/main/Reimu/object_live2d_001_101.asset.model3.json
  3. image

fix:

config.cubism4.setOpacityFromMotion = true
await model.motion('');

btw another question:

How can I replay the NAMELESS motion that is played just after model creation? image

n0099 commented 7 months ago

https://github.com/guansss/CubismWebFramework/blob/4bbfb54d6787daec3a7911c6550b5d39dcb3a263/src/motion/cubismmotion.ts#L522 https://github.com/guansss/CubismWebFramework/pull/1 https://github.com/guansss/pixi-live2d-display/issues/64 https://github.com/Live2D/CubismWebFramework/pull/11