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:
Build your own 3D models
- Building your own 3D models used to require a lot of skill.
But this is the kind of thing that AI may be great at.
- SketchUp - make your own 3D models
- AI 3D Model generators
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