KhronosGroup / glTF-Sample-Viewer

Physically-Based Rendering in glTF 2.0 using WebGL
Apache License 2.0
1.28k stars 237 forks source link

Pupil Animation Not Working in Project Polly #590

Open cx20 opened 1 week ago

cx20 commented 1 week ago

I tried to display the following model in the glTF Sample Viewer. When I did so, I noticed that the pupils of the eyes were not animated. Is this a problem with how I'm using it?

https://github.com/KhronosGroup/glTF-Blender-Exporter/blob/master/polly/project_polly.glb

https://github.khronos.org/glTF-Sample-Viewer-Release/

image

https://cx20.github.io/gltf-test/examples/babylonjs/index.html?url=https://raw.githubusercontent.com/KhronosGroup/glTF-Blender-Exporter/master/polly/project_polly.glb

image

cx20 commented 1 week ago

Below is the expected result.

https://youtu.be/l7TB1O51X_M?t=12

image

UX3D-haertl commented 1 week ago

This seems like a bug. But the asset does have validation errors: weights for mesh 7 are not normalized. But mesh 7 is the body and not the eyes so this might be unrelated. I will investigate it further