Graphics Reference
In-Depth Information
There's more…
In this recipe, we showed you how to load objects defined in the .obj and .mtl
format. Besides this format, Three.js also supports a wide range of other formats.
For a good overview of the file formats supported by Three.js, refer to this directory
on Three.js' GitHub repository: https://github.com/mrdoob/three.js/tree/master/ex-
amples/js/loaders .
See also
• For this recipe, we assume we have a complete model in the correct format.
If you want to create a model from scratch, a good open source 3D modeling
tool is Blender. The the Creating and Exporting a model from a Blender re-
cipe, explains how to create a new model in Blender and export it so that
Three.js can load it.
Search WWH ::




Custom Search