To tackle this scenario, I recommend utilizing morph target animation. In Blender, these are referred to as Shape Keys. Once created, you can export the file as glTF
and then import it using THREE.GLTFLoader
. The level of twist can be adjusted by manipulating Mesh.morphTargetInfluences. Additionally, it is possible to animate a smooth transition from one state of the mesh to another.
It's worth noting that if you export a mesh from Blender to formats like glTF
, loop cuts will not be retained as a separate entity. While it is feasible to modify the geometry in three.js
as needed, utilizing morph targets appears to be a simpler method. This approach is particularly beneficial for individuals who are new to three.js
or computer graphics in general.
three.js R113