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.

Getting ready

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:

  1. 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/plugin folder. In that directory, you'll find a single directory with the io_mesh_threejs name. To install the ...

Get Three.js Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.