glTF Material/Camera/Lights Animations

Hey there,
as per the title, I am looking to get an idea on when to expect material animation through the KHR pointer extension (thanks to @bghgary and team for the contribution to gltf :pray:). Would love to know if you happen to have a timeline in mind, if not, how can we assist :slight_smile:

It is already supported if this is your question :slight_smile:

Can be already exported in gltf? Sorry I wasn’t clear.

No, we don’t have export support for KHR_animation_pointer. This will take some effort to implement. We don’t have a timeline for implementing this unfortunately.

I might have some bandwidth next month, maybe I can contribute to this? I’ll investigate on my end on where to start (but pointers are very much appreciated)

1 Like

No pun intended? :smiley:

This isn’t super straight-forward as it involves the interactivity extension a bit since they share the same glTF object model. Maybe @RaananW will have some thoughts.

1 Like

That’s great to hear :slight_smile:

Babylon already has KHR_animation_pointer implemented, but not according to the current specs - Babylon.js/packages/dev/loaders/src/glTF/2.0/Extensions/KHR_animation_pointer.ts at master · BabylonJS/Babylon.js (github.com). The main issue, as Gary suggested, is that this should be implemented coupled with the KHR_interactivity, which I will start work on “soon” :tm: . I still haven’t found the time to work on the architecture of the connection between them, but when I have something, I will be happy to share. The animation pointer specs are here - glTF/extensions/2.0/Khronos/KHR_animation_pointer at main · KhronosGroup/glTF (github.com).

1 Like

I’ve updated this. It should be current.

Sorry! I misread your previous comment. Answer still stands - still need to see how we connect both, and then how we can export all of those properties correctly.

1 Like

will play with it soon and see. Will def keep this thread updated with progress