Closed flanpowered closed 3 years ago
I think the problem belongs to Cubism framework, because the same thing happens when I put this model into the official CubismWebSamples:
I've actually run into this issue while testing various models in the past, apparently some particular models got their layers processed incorrectly. This seems to be a long-standing bug of Cubism's web framework.
So I'm afraid I can't help you on this.
It's okay! Thanks for your answer. I will keep trying to find a solution to this and see if I can adjust the model somehow to make it work.
I'm using a Cubism 3.3 model which seems to work fine on the Cubism Viewer when I play the motions. However, after loading it via cdn and play the motions, the layers seem to be drawn in an incorrect order (arms go behind the body when it's not supposed to be like that)
index.html
index.js
At this point I don't know if the problem is the model itself, so if you need it to make your own tests I can provide it as well.
Model behaviour on Cubism Viewer:
https://user-images.githubusercontent.com/25534800/131248375-036bda59-147c-4fb9-9456-0a45eb1a096f.mp4
Model behaviour on HTML:
https://user-images.githubusercontent.com/25534800/131248577-a52455d1-6288-4c8d-aaaa-bee9d455fae8.mp4