Hey folks, would there be a way to identify and extract, procedurally, animated rigid pieces from soft point deforming pieces?
Say, you have a character alembic cache and several meshes on that character are rigid (i.e. their points don't change positions relative to each other). For example: the weapon of a warrior, or the plate armour, the shield... etc.
I want to find those meshes procedurally and extract their transformations (and of course replace their point deformations with object-level transformations, duh...)
Would you have a clue how to approach that? There wouldn't be a node for it already, would it?
I'm thinking what heuristic to employ to differentiate between pieces which points do change positions relative to each other vs such that don't.
Maybe just maybe...
extract transformation matrices for every piece for some arbitrary prim, be it rigid or not
multiply by the inverse to set each piece to the origin and...
compute velocity in the result?
all inversely tranformed points of rigid pieces have 0 velocity, some points (other than the points on the arbitrary prim from #1) of soft deforming pieces have v>0. tag them.