[Blender] glTF Extensions implementation

Hi folks,

I’m writing a Python addon which will extend the glTF format using extensions and extras. Ideally, I’d like my addon to hook into the existing glTF exporter that comes with Blender 2.8x.

My question is what the right approach for this would be. I took the example init.py from gitHub, and I found a way to add it to my existing project. What I am trying to figure out though is some sort of best practice to add multiple extensions that affect different aspects of the scene.

The extensions I am using, set up some shader properties and thus should be controlled by the different materials and hook into the material definitions of the glTF file.

Some other are used for animations and such and need to be on the object layer.

I would appreciate any pointers on how to set up this project properly.

Maybe try posting something on https://github.com/KhronosGroup/glTF-Blender-IO/issues? I’m not sure how many of the blender folks are here in this glTF forum.