Convert OBJ to GLB with Javascript #1821
-
Hi guys, Please could you tell me if I can use the model-viewer whit OBJ file if this possible, now I just used the model-viewer whit GLB and it works perfectly, but please an I need working whit the obj object. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
You need glb, gltf and usdz (ios ar) file formats to use model-viewer. Obj is not supported. If you have obj format of your file you can convert it via blender or there are lots of platform to do that. |
Beta Was this translation helpful? Give feedback.
-
Thanks, other option could convert the obj but I need convert it whit java code I cant us an external platform for that, thanks for your reply |
Beta Was this translation helpful? Give feedback.
-
Three.js does this; it can load OBJ and export GLB. |
Beta Was this translation helpful? Give feedback.
Three.js does this; it can load OBJ and export GLB.