-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
I’ve noticed that many users have a need to load models and animations separately—for example, loading the mesh from one GLB file and the animation from another. However, since the glTF specification does not rely entirely on names and instead uses array indices, this can lead to situations where some bones have no names or where names are duplicated.
Therefore, if the bone names exist and are unique, it becomes possible to separate the animation sequence from the model. When loading the animation sequence, the bones can be bound to the model based on their names.
So, is it possible to export the animation as a separate file after loading the glTF into an asset? This would allow for delayed loading later and would be very helpful for projects that require dynamic animation streaming or animation separation.
I’ve looked into this, and it’s not very complicated, but it might require some modifications to Filament’s source code. If this approach is acceptable, I could consider helping implement this functionality. It’s also something I currently need.