Jump to content
  • Advertisement
Sign in to follow this  
Orchaldir

Skinning with Dual Quaternions

This topic is 4024 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello! I want to change my animation system to dual quaternions: http://isg.cs.tcd.ie/projects/DualQuaternions/ I have a working shader and DualQuaternion class, but after some testing and searching I have some theoretical questions: 1.) In the example code they convert the final matrices to dual quaternions and then use them in the shader. After reading the paper I thought I could/should do all the calculations with dual quaternions. Is it possible? Or should I only convert at the end? 2.) If it is possible: I tried it, but it doesn't work. My way: A ... absolute of the parent bone R ... relative to the parent T ... from the animation B ... inverse bindpose ??? (from bone space to bindpose) F ... final (used in the shader) F = A * R * T * B F = A * R * B works, is always the identity I had the same/similiar problem with quaternions and vectors instead of matrices, because unlike matrices the rotate about the body center and not around the parent bone. But after reading the paper I thought that this was one of the advantages of dual quaternions. 3.) Has somebody experience with it? Is it worth it? thanks for the help!

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!