Sign in to follow this  
hellovn

How to adapt quaternion to control point

Recommended Posts

Hi All, I am starting with OpenGL and computer animation. I have a lists of data for control points with quaternion value. For example: q0= {s,x,y,z} = {-8.944966e-01 -4.182613e-01 -1.458414e-01 6.052857e-02} Now, I need to use those above data to calculate the extra control points for Bessel-Overhauser spline. For example: I have a general formula with control point pi: t_(i+1/2) = (p_(i+1) - p_i) / u_(i+1) - ui I want to change this formula using quaternion qi (pi->qi). What is the link between qi(quaternion value) and control point pi ? How can I convert from pi to qi ? I hope my explanation make sense? Thank you very much.

Share this post


Link to post
Share on other sites
Hi Apatriarca,

Thank you for your reply. If we have pi = qi, how can we add and subtract two quaternion:

For example:

We have p_(i+1) + pi = ?
p_(i+1) - pi = ?

Do we have a general transformation from pi subtraction and addition to qi?

Thank you very much.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this