August 2018
Intermediate to advanced
528 pages
10h 58m
English
COLLADA models (the extension is .dae) are another very common format for defining scenes and models (and animations, as we'll see in the following chapter). In a COLLADA model, it is not just the geometry that is defined but also the materials. It's even possible to define light sources. To load COLLADA models, you have to take pretty much the same steps as for the OBJ and MTL models. You start by including the correct loader:
<script type="text/javascript" src="../libs/ColladaLoader.js"></script>
For this example, we'll load the following model:

Loading this model is once again pretty simple:
// load the model var ...
Read now
Unlock full access