Jump to content
  • Advertisement
Sign in to follow this  

Skinning with Dual Quaternions

This topic is 4109 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
Sign in to follow this  

  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!