8000 Fix dqs not checking if quaternions are on the same hemisphere by PeizhuoLi · Pull Request #2390 · libigl/libigl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix dqs not checking if quaternions are on the same hemisphere #2390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 15, 2025

Conversation

PeizhuoLi
Copy link
Contributor
@PeizhuoLi PeizhuoLi commented May 16, 2024

Fixes dual quaternion skinning not checking if the quaternions are on the same hemisphere. For quaternions $q$ and $-q$ represents the same rotation.

One trivial example is when randomly negate one of the rotations in vQ in tutorial 404, the current implementaion yields unplausible result. It works in tutorial 404 because the input rotations happens to be on the same hemisphere, but this is not guaranteed in general. Similar check is also used in Blender for DQS here.

Checklist

  • All changes meet libigl style-guidelines.
  • Adds new .cpp file.
  • Adds corresponding unit test.
  • This is a minor change.

@alecjacobson alecjacobson merged commit 40e7900 into libigl:main May 15, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0