5 ms·
So the problem with blending matrices is that you are not guaranteed to get a rigid transform (you might introduce scaling, for example). You are also not guara
by chinedufn 10y ago
So the problem with blending matrices is that you are not guaranteed to get a rigid transform (you might introduce scaling, for example). You are also not guaranteed to get the shortest path between your start and end matrices.
So you'll often end up with weird stretching and other artifacts when you blend your matrices.
Dual quaternions are guaranteed to produce rigid transforms when blended. You're also guaranteed to get the shortest path when blending.
If you checkout an older commit in the repo such as - fe7cba263cc4f0ecc3ed96fb9288ed17469dd539 and `npm run demo` you'll see an example of the problem with matrix linear blending.
You can also read more about this in "Skinning with Dual Quaternions" - https://www.cs.utah.edu/~ladislav/kavan07skinning/kavan07skinning.pdf https://www.cs.utah.edu/~ladislav/kavan07skinning/kavan07ski...
- Jasper_ 10y agoThank you for explaining, and for the reference!
- chinedufn 10y agoSure thing!
- notyourwork 10y agoProbably one of the best responses to that type of question. Explanation, reasoning for your decision along with a commit referenced to investigate further. Good stuff and great demo, thanks for sharing!
- chinedufn 10y agoYou're too kind! Thanks!
- bendbro 10y agoDo those blended matrix artifacts appear similar to artifacts produced when blending quaternions but not scaling the result to the unit circle?
- chinedufn 10y agoYup yup, both non-normalized dual and regular quaternions will give you artifacts similar to blended matrices.