jagenjo / webglstudio.js

A full open source 3D graphics editor in the browser, with scene editor, coding pad, graph editor, virtual file system, and many features more.
MIT License
5.21k stars 605 forks source link

Proposal: Export to gltf format? #37

Closed chrisjallen closed 4 years ago

chrisjallen commented 5 years ago

Exporting to obj is good, but doesnt include all the great rich features that your application is capable of, embedding shaders, keyframe animations etc. To me this seems quite a big deal breaker from inclusion of other users. At the moment I have my own engine, proposal to adjust the json you export into a common format like gltf, seemingly very similar would allow others not using the LiteScene.js. Such a great tool, youve done incredible work and the best implementation of a 3d editor on web out there, but cant use it given its output.

coderofsalvation commented 4 years ago

@chrisjallen thanks for reaching out.

I'm afraid gltf doesn't support lots of features like webglstudio's output (graph networks, scripts). Maybe you could just write a simple json to gltf converter? Most development is focused in other areas afaik, so it would be the fastest approach.

chrisjallen commented 4 years ago

ah ok thanks, understood, I just might look into that conversion.