就像https://threejs.org/examples/?q=morph#webgl_morphtargets_human一样,但我想实现一个基于 glTF 的演示。
我曾尝试过 glTF 模型,例如https://github.com/HowardWolosky/glTF-Sample-Models/tree/morphAnimation/2.0/AnimatedMorphCube和https://github.com/HowardWolosky/glTF-Sample-Models/tree/morphAnimation /2.0/AnimatedMorphSphere,但他们使用动画,我想手动控制变形权重,例如:
网格.morphTargetInfluences[0] = 0.5;
网格.morphTargetInfluences[1] = 0;
网格.morphTargetInfluences[2] = 1;
谢谢