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 import for glTF export #15

Closed
electroheadfx opened this issue Mar 15, 2018 · 4 comments
Closed

glTF import for glTF export #15

electroheadfx opened this issue Mar 15, 2018 · 4 comments

Comments

@electroheadfx
Copy link

It would like awesome to follow the nodes from glTF-Blender-Exporter here:
https://github.com/KhronosGroup/glTF-Blender-Exporter

The workflow: you export a model from substance painter in glTF, you import with your ksons/gltf-blender-importer, you animate the scene in blenber, and export with glTF-Blender-Exporter for ThreeJS, Unity or BabylonJS. Not need to replace the nodes.

@ksons
Copy link
Owner

ksons commented Mar 22, 2018

Good idea @electroheadfx. What does prevent you from doing so?

@electroheadfx
Copy link
Author

it avoid to remove your node for setup with the glTF-Blender-Exporter's node from kronos-group. The workflow is for webGL

@aguaviva
Copy link

I think he means he'd like your importer to use the glTF-Blender-Exporter material node
. for example I just imported a huge GLTF but now to export it I would need to replace every single material node (lots of them) with the node glTF-Blender-Exporter needs.

@scurest scurest mentioned this issue Jul 15, 2018
@scurest
Copy link
Collaborator

scurest commented Feb 10, 2019

So some history on this issue. In the past year

  • we switched to using glTF-Blender-Exporter's node groups
  • glTF-Blender-Exporter merged with julienduroure's importer to become glTF-Blender-IO, which has the explicit goal of round-tripping successfully
  • glTF-Blender-IO abandoned the node-group approach to materials in favor of using Principled BSDF nodes
  • we now also use Principled BSDF nodes

In simple cases (eg. Damaged Helmet) we are, as of this moment in v0.5.0, compatible with glTF-Blender-IO. In more complex cases (certainly involving texture transforms or wrapping modes, possibly alpha), we're not. Nothing we currently do could be compatible for wrapping modes since they aren't supported by glTF-Blender-IO atm for example. But our compatibility is quite good, much better than when this issue was opened and if you need compatibility you're probably just going to use the importer in glTF-Blender-IO anyway.

@scurest scurest closed this as completed Feb 10, 2019
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

4 participants