Loading a 3D Model with ThreeJS - 3

Another example of loading a 3D model in WebGL using ThreeJS library. A low polygon model of a Fire Truck is used here. The 3D mesh is in OBJ format and texture as TGA files.

To make this work, the scripts listed below are required: :

  1. OBJLoader - for loading .obj mesh
  2. MTLLoader - for loading .mtl material definitions
  3. TGALoader - for loading .tga textures

Sample model taken from : free3d.com

Share