GLTF Exporter Plugin Update to Support Khronos and Custom Extensions

The GLTF exporter plugin in its current state doesn’t support material parameter animations.

We are trying to modify the GLTF exporter to support Khronos extensions especially KHR_animation_pointer.

glTF/extensions/2.0/Khronos/KHR_animation_pointer at main · KhronosGroup/glTF

This extension adds support for material parameter animations (especially BaseColorFactor) to animate individual colour channels using level sequencer and package them in the exports.

Morph Targets to support dynamic mesh animations

glTF-Sample-Assets/Models/MorphStressTest at main · KhronosGroup/glTF-Sample-Assets

And we also want to make the exporter flexible to support custom extensions.

Question:

Is there any support/solution available to achieve this functionality and or the official development roadmap includes supporting these extensions in the future engine updates. Any help, information and or research pointers would be of great help.

We are currently updating the code ourselves, any pointers on which modules are getting affecting and what code parts needs to be studied.

For reference: Khronos glTF Sample Viewer contains the following assets that use the aforementioned extensions/functionalities.

- AnimatedColorCube

- MorphStressTest

Note: We are just updating the GLTF Exporter plugin, we cannot build from source because of usage policy limitations.

Hi Emil,

Thanks for your report.

Our offices will be closed starting 06/30. We will look into your report when we are back on 07/14.

Thanks for your patience.

Regards,

Jean-Luc

Bump to avoid being auto-closed

Hello Emil,

Are you working in the same team than Bilal Ahmed, because I got some calls with them earlier this year. I event took note in our ticketing system to inform JLR once we add morph animation in gltf export.

We are planning to work on the morph target and morph animation exports. At the moment they are scheduled for 5.7 release but not work started so to see how it evolves.

We are not doing anything around the animation pointer extension. We are monitoring extension usage but so far not many requests came for that extension so it is a low priority both for import and export.

However we welcome users to extend our code base and submit their work through pull request on github. Following code and product review we might integrate your changes in the code base so that they benefit the larger community.

I see that especially for adding support to ratified extension, or make the gltf exporter more modular. We will not take code that add support for proprietary or little used extension.

The code base to look at will be the glTF exporter code Engine/Plugins/GLTFExporter/ …

Especially the part on exporting the LevelSequenceExporter.

If you start to make change we with the code we might need to discuss how much you are changing. The animation pointer extension allows to animate any exposed property of a gltf node so that is not limited to base color or even material properties. If we start supporting that extension we will have to make sure we provide a proper coverage. Are you only interested in the color properties animations?

Yes, working in the same team. Posted on his behalf, bringing this information forward to my team.

Emil, I will close this ticket. if you have more question you can reopen it or just create a brand new ticket.