ksons / gltf-blender-importer

Blender glTF 2.0 Importer
MIT License
214 stars 36 forks source link

glTF import for glTF export #15

Closed electroheadfx closed 5 years ago

electroheadfx commented 6 years ago

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 commented 6 years ago

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

electroheadfx commented 6 years ago

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

aguaviva commented 6 years ago

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 commented 5 years ago

So some history on this issue. In the past year

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.