Creating and exporting a model from Blender
Blender, which you can download from http://www.blender.org/download/, is a great tool to create 3D models and has excellent support for Three.js. With the right plugin, Blender can export models directly into Three.js' own JSON format, which can then easily be added to your scene.
Before we can use the JSON exporter in Blender, we first need to install the plugin in Blender. To install the plugin, take the following steps:
- The first thing you need to do is get the latest version of the plugin. We've added this to the source code of this book. You can find this plugin in the
assets/pluginfolder. In that directory, you'll find a single directory with the
io_mesh_threejsname. To install the ...