DiligentGraphics / DiligentTools

Utilities built on top of core module
Apache License 2.0
116 stars 71 forks source link

GLTF loader improvements #190

Open TheMostDiligent opened 1 year ago

TheMostDiligent commented 1 year ago
Alan-FGR commented 12 months ago

I've a quick question: I see you have "Multiple animations at the same time" unticked there which is blocked by the current impl of ComputeTransforms, but isn't it currently possible to manually "blend" two animations without that feature? If you have two animations for the same bones, isn't it trivial to interpolate between them for transitions and whatnot?

TheMostDiligent commented 11 months ago

@Alan-FGR You might be right. You can have multiple transform instances for different animations. As far as I remember, the idea was to have different animations in the same struct to avoid duplicating the data. For example, in this test scene, different meshes are animated with different animations. It is possible to do this now, but this would require creating multiple transform instances.