Show HN: Skeletal Animation in Your Browser via Dual Quaternion Linear Blending
chinedufn.github.io
chinedufn.github.io
1. Allow the use of the mouse for camera control.
2. Use up/down arrows for rotation similar to what you do with left/right and have separate keys control zoom.
Ah yes great suggestions. Hastily threw the controls in a couple months ago and they're sure due for an update
( PR's welcome :) )
[1] https://www.disneyresearch.com/publication/skinning-with-opt...
So admittedly I only heard of DLB a few weeks ago, and OCR skinning 10 seconds ago :)
But this looks pretty damn cool. Thank you so much for the link, I'm definitely going to read this paper and consider it for a standalone skeletal animation library that I've started working on
So I was using linear blend skinning and had those horrid artifacts.
Google.com told me that dual quaternion skinning was the solution, so more or less blindly went with that.
santaclaus mentioned OCR in another comment, so I'll be reading up on that
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/kavan07ski...
https://a.fsdn.com/con/app/proj/mayadqskinning/screenshots/1...
> Uncaught TypeError: Cannot read property 'clearColor' of null
I'll check back again later though, this sounds cool.
Well if it still doesn't work, feel totally free to try it locally:
```
git clone https://github.com/chinedufn/collada-dae-parser
cd collada-dae-parser
npm install
npm run demo
```