Loading External Models
LOADING EXTERNAL MODELS In the previous chapter, we created a simple toy train model using the built-in three.js geometries. While doing so, it became apparent that creating anything with much more detail than a simple toy will quickly become very complicated, and creating a realistic model such as a human body is essentially impossible. To do that, we’ll need to reach for an external modeling program such as 3D Studio Max , Maya , Blender (which is free! ), Cinema 4D , or hundreds of others. We’ll devote all of Section 13: Working with Other Applications to studying this so that we can make the process as smooth and painless as possible. In this chapter, we’ll take a couple of the pre-prepared models from the three.js repo on Github and load them with one of the loaders, also found in the repo. If you take a look at the live examples for the loaders , you’ll see that there are a lot of different loaders available, for a lot of different 3D asset formats.