What is the preferred 3d model format of THREE.JS which is widely used by 3d modelling softwares (can export to that format). I ask this, because I have my 3d models in an own unique format, and would like to use them in THREE.JS. While I could write an own loader, but I think it's better to convert them to a standard format.
Asked
Active
Viewed 4.1k times
4 Answers
56
We have our own JSON Geometry format.
You can use these:
- Editor (drag your object into the window, select it and select
File/Export Geometry
) - Blender exporter
- Python script from OBJ to JSON

mrdoob
- 19,334
- 4
- 63
- 62
-
1Some of those links are out of data. Could you fix this? – adu Jan 12 '13 at 02:32
-
1Does the JSONLoader give substantial performance improvements over creating the scene using javascript only? – Dan Macumber Jan 03 '14 at 15:42
-
@DanMacumber no... if anything, that version of the format is probably slower... next version of the format (4) should change this... – mrdoob May 15 '14 at 23:34
-
It is still actual? For the future development is the JSON format best option? thx – Martin Jun 16 '15 at 08:21
-
Is there a way to go from .step or other CAD formats to this JSON format? – Ward D.S. Jun 17 '16 at 12:01
-
1Per [three.js | Loading 3D models](https://threejs.org/docs/#manual/introduction/Loading-3D-models), we recommend glTF when possible. Several other formats like FBX, OBJ, COLLADA, and SEA3D are also well supported. – Don McCurdy Aug 04 '18 at 21:12
8
The online 3D editor http://Clara.io can also export to the various ThreeJS JSON formats. http://Clara.io supports importing more than 20 different formats, including FBX, Collada, 3DS, STL and DXF, so it can be used as a general conversion tool.

bhouston
- 955
- 9
- 14
-
Just tried importing an object from TurboSquid to Clara.io. It doesn't work, the object imported looks nothing like the object in Three.js. I just paid $10 for nothing. – f1lt3r Jun 27 '18 at 14:08
1
I think that three.js does not have prefered 3d model. Personaly I prefer wavefront object (obj).

soil
- 181
- 1
- 1
- 8
1
export the model from clara.io or others providers then import into https://threejs.org/editor/ so you can tried some format of models

Ion Stefanache
- 147
- 1
- 4