Preferred 3d model format of THREE.JS
3dFile Formatthree.js3d Problem Overview
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.
3d Solutions
Solution 1 - 3d
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
Solution 2 - 3d
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.
Solution 3 - 3d
I think that three.js does not have prefered 3d model. Personaly I prefer wavefront object (obj).
Solution 4 - 3d
export the model from clara.io or others providers then import into https://threejs.org/editor/ so you can tried some format of models