3D models in JavaScript graphics
For all these demos, "View Source" to see the entire thing!
|
Get three.js loaders
In Three.js, the loaders for 3D models come separately.
Here are the latest loaders:
Test of 3D OBJ model
(Painting each part with the same texture.)
3D OBJ model examples
Painting OBJ models
Painting each part separately.
Use MTL file to go along with the OBJ file.
- OBJ plus MTL tutorial from script-tutorials.com
- Castle demo
- Files needed:
- This is a nice example (since it only requires 6 files)
but it is the old way of loading OBJ and MTL (using OBJMTLLoader.js).
- For the new way of loading OBJ and MTL,
see the following.
MTLLoader
OBJ human
TGALoader