Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requesting support for gltf, glb #48

Open
KnightCoder opened this issue Apr 23, 2020 · 7 comments
Open

Requesting support for gltf, glb #48

KnightCoder opened this issue Apr 23, 2020 · 7 comments

Comments

@KnightCoder
Copy link

KnightCoder commented Apr 23, 2020

I've noticed that you support obj files only for 3D models. However, gltf and glb are support widely for WebGL. Compared to these, an obj file is heavier as well. Hence, consider supporting gltf and glb file formats as well.

Alternatively, an option to convert obj to light weight gltf/glb files. That way at least the published version will have light weight gltf and glb files.

@jagenjo
Copy link
Owner

jagenjo commented Apr 23, 2020

I know well gltf, I support it in all my engines. The problem is that WebGLStudio asumes that a resource is a single file, and gltf are two files (json and bin) so supporting it will imply a big reestructuring of the code, and I dont have much time now.

Is something I have in my TODO list from long time ago.

@KnightCoder
Copy link
Author

Is that same for GLB as well? AFAIK, it is a single file however it is a binary format.

@jagenjo
Copy link
Owner

jagenjo commented Apr 23, 2020

Is there any javascript library to parse glb?

@KnightCoder
Copy link
Author

I understand. I will also look for one and share it with you.

But, the importance of a light weight file format is significant for supporting WebGL on browsers and mobile phones.

Thank you @jagenjo

@KnightCoder
Copy link
Author

@jagenjo I found this GLTFLoader in ThreeJS. I am not sure how much helpful this will be but still sharing.

@KnightCoder
Copy link
Author

@ThorstenBux
Copy link

@jagenjo support for glb would be huge and I think it would be sufficient to only support glb instead of glb and glTF.
If you could point me into a direction I could start working on an importer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants