webglstudio.js icon indicating copy to clipboard operation
webglstudio.js copied to clipboard

Import/Export OBJ or FBX formats?

Open donnemartin opened this issue 10 years ago • 6 comments

Awesome project!

Is there a way to import/export models in a standard format such as OBJ or FBX?

donnemartin avatar Aug 08 '15 15:08 donnemartin

OBJ is supported, just drag the files inside the 3D canvas. There is no support for FBX due to the complexity of the binary format, however you can export in DAE which is a format similar to FBX but ASCII and you can import it dragging it in the canvas. Not all the features of DAE are supported though.

jagenjo avatar Aug 08 '15 19:08 jagenjo

Great thanks.

Is there a way to export from webglstudio to a standard format? When I select Project -> Download, it seems the export is a JSON format, is this format specific to webglstudio?

donnemartin avatar Aug 09 '15 11:08 donnemartin

that JSON format only contains information about the scene, but not assets like meshes or textures, so it is not useful to import to other softwares. But if people is interested in exported I could consider doing an OBJ exporter, although it doesnt make any sense because the meshes cannot be edited inside so they will be the same.

jagenjo avatar Aug 09 '15 14:08 jagenjo

the meshes cannot be edited inside so they will be the same

Ah, I see, thanks for clarifying. I'll close this issue.

donnemartin avatar Aug 10 '15 21:08 donnemartin

BabylonJS is my engine of choice rather than three.js. As BabylonJS can import .obj files I would be interested in WebGLStudio exporting .obj files.

BabylonJSGuide avatar Jul 07 '16 12:07 BabylonJSGuide

WebGLStudio can export OBJs with the whole scene (check Actions->Export to OBJ), but this feature is not very interesting considering that all the meshes in WebGLStudio come from external meshes so I cant see a situation where this could be useful.

jagenjo avatar Jul 11 '16 09:07 jagenjo