donmccurdy / three-gltf-viewer

Drag-and-drop preview for glTF 2.0 models in WebGL using three.js.
https://gltf-viewer.donmccurdy.com/
MIT License
2.06k stars 530 forks source link

InterpolatorComparison superimposes cubes on top of each other #344

Closed andreasplesch closed 1 year ago

andreasplesch commented 1 year ago

InterpolationComparison.zip

from https://github.com/mrdoob/three.js/pull/12907

looks incorrect:

image

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

image

No validation errors but still may be a problem with the glTF.

andreasplesch commented 1 year ago

Also works in https://gltf.report/:

image

(could not see a way to play the animation).

donmccurdy commented 1 year ago

Possibly related:

Mugen87 commented 1 year ago

Reverting https://github.com/mrdoob/three.js/pull/26126 actually fixes the issue.

Mugen87 commented 1 year ago

Should be fixed via https://github.com/mrdoob/three.js/pull/26476.

donmccurdy commented 1 year ago

Thanks @Mugen87! Will pull in the fix with the next three.js release.