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

GLTF export support #95

Open
ghost opened this issue May 19, 2022 · 5 comments
Open

GLTF export support #95

ghost opened this issue May 19, 2022 · 5 comments
Assignees

Comments

@ghost
Copy link

ghost commented May 19, 2022

I really need gltf export support. Mineways doesn't have a single normal format, and there isn't a single normal way to convert to gltf. Generally! So please add support directly.

@JMY1000
Copy link
Contributor

JMY1000 commented May 19, 2022

You should be able to import the OBJ file into Blender and export it as a GLTF file.

@ghost
Copy link
Author

ghost commented May 19, 2022

Yeah, but obj not storing correct roughness info. For example, glass are glossy reflective, while needs roughness=0.

@ghost
Copy link
Author

ghost commented May 21, 2022

I do not want to give links to an external site, this is generally unacceptable anywhere, and bots are banned everywhere for this, but there are specific PBR extensions for OBJ.
http://exocortex.com/blog/extending_wavefront_mtl_to_support_pbr

@erich666
Copy link
Owner

Sorry to just notice this now (Github, why are you not sending me emails?). I've been tempted to add glTf support, but to be honest I'd rather spend my (limited) time supporting USD, which I think is the future. That said, I might bite the bullet and add glTf, but we'll see. Reminder to self:
https://github.com/jessey-git/fx-gltf or https://github.com/syoyo/tinygltf or https://github.com/jkuhlmann/cgltf

@erich666 erich666 self-assigned this Dec 19, 2022
@erich666
Copy link
Owner

Really, my advice is to use USD export, in the long-term. USD has a similar PBR material model in its UsdPreviewSurface, e.g., see this test site: https://asset-explorer.needle.tools/

Blender 4.0.0, for example, will have much better USD support when it comes out.

That said, I'll think about adding glTF export - it'd be educational. But, a lot of work, testing to see if I'm exporting things well.

I'm asking around for the best free USD to glTF exporter out there currently. I'll post it here if I find anything good.

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

No branches or pull requests

2 participants