gltf-rs / gltf

A crate for loading glTF 2.0
Apache License 2.0
527 stars 122 forks source link

Support morphed TEXCOORD_n and COLOR_n attributes #432

Open schell opened 1 month ago

schell commented 1 month ago

The spec mentions that there can be n TEXCOORD and/or COLOR morph target buffers. gltf should support this. I can contribute this at some point, but I wanted to create this ticket to track that feature in case someone beats me to it :)

chubei-urus commented 3 weeks ago

Hi @schell are you working on this? My organization also needs this. If you haven't started yet I'll go ahead and implement it.

schell commented 2 weeks ago

I have not started yet @chubei-urus. Feel free to take it :)

chubei-urus commented 2 weeks ago

I put together a quick hack in https://github.com/urusgraphics/gltf/commit/57c41a243bfd90dbf454102b0c7c341c1294013b, but I don't think it's ever going to be merged because it breaks compatibility.

schell commented 2 weeks ago

Ah, ok, I'll put this back on my todo list, then :)