Graphics Reference
In-Depth Information
As you've seen from the recipe, getting an animation to play in Three.js from Blender
isn't that difficult. One thing to take into account here, though, is that this can result in
huge files when you've got models with a high vertex count. This happens because
the Blender export plugin creates a new morph target for each frame of the anima-
tion.
There's more…
In this recipe, we've used the Three.js export function of Blender to save the model
in a format THREE.JSONLoader can load. There are a large number of other 3D
formats available, which can be used to store 3D scenes and animations that are
supported by Three.js. An overview of the file formats that are available in Three.js
can be found on the Three.js GitHub site at https://github.com/mrdoob/three.js/tree/
master/examples/js/loaders .
See also
In this chapter, we've got some other recipes that deal with animations:
Animation using morph targets
Animation with skeletons
Using skeleton animations created in Blender
Search WWH ::




Custom Search