Closed mauriziokovacic closed 8 years ago
Can you give a repro case ? I loaded jeff and this worked perfectly to me.
I just clone master, without making any change. When playing Jeff animation it will do that. It seems the same problem Baptiste was experiencing with his previous machine. Maybe it is something related to the OS or the machine. I'm running under Ubuntu now, but on Botero there was Debian. Also Val didn't experience it and he was not using Ubuntu as well
Ok you are right about the DQS actually.
I know. I'm just bad at things, not stupid :P
So, the problem was that in some cases our strategy to resolve the quaternion antipodality ( in setFromTransform() ) was not correct.
I implemented the "naive" version which uses the strategy from the paper (Kavan &al. 2008) and it worked better.
I left the naive implementation as a reference and fixed our current "optimized" version.
As you can see from the screenshot, something is going completely wrong