Which current WebGL library supports most 3D model formats (and which ones)?

扶醉桌前 提交于 2019-12-04 02:33:33

问题


Searched a while but dont know which current WebGL solution supports the most 3d formats. Also I need to know which 3d formats they support.

Are there any updated comparisons or tables with these information?

Something like copperlicht? An alternative?

we want to use the native formats directly so converting them manually always to json is not an option


回答1:


Most (if not all?) engines have their own JSON-format and you use offline converters to get your data into the engine format. If you like support for many formats I would suggest using J3D as it uses Unity 3D as "converter". Unity can import all sorts of formats and thus J3D supports these.

https://github.com/drojdjou/J3D




回答2:


Think best is not "choose solution that supports most formats".

Choosing a solution supporting the most used, readable, editable and mature formats (.dae and .x3d) is best

We now use x3dom for .x3d, three.js for .dae and .obj and thingiview for .stl




回答3:


I've started doing some web experiments using 3d technologies and I strongly recommend working with .obj or .fbx files, and using p5.js and/or three.js. Anyways there is more than one way to make it work. https://p5js.org/reference/#/p5/model




回答4:


Seems like Three.js is your choice, it supports: native json, obj, fbx, gltf, collada, babylon, stl, ply, vrml and many others.



来源:https://stackoverflow.com/questions/10528917/which-current-webgl-library-supports-most-3d-model-formats-and-which-ones

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!