# what's the means of interpolated quaternion

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

## Recommended Posts

hi, I feel some confused when i read the interpolated quaternion in real-time rendering 3nd P77~P78. As i know ,quaternion is used to rotate vector or point . There are two factor in quaternion's rotation : the axis A and the radians B. The transform with quaternion will rotate the vector or point by B radians around the axis A . What confuse me is what the interpolated quaternion stand for? To interpolated A or interpolated B when rotation occur? Or both of them?

##### Share on other sites

hi, I feel some confused when i read the interpolated quaternion in real-time rendering 3nd P77~P78. As i know ,quaternion is used to rotate vector or point . There are two factor in quaternion's rotation : the axis A and the radians B. The transform with quaternion will rotate the vector or point by B radians around the axis A . What confuse me is what the interpolated quaternion stand for? To interpolated A or interpolated B when rotation occur? Or both of them?

Rather than thinking of the quaternion as a tool for rotation, think of it as a frame of reference. So one quaternion describes your orientation at t=0, and another at t=1, after some transformation

 Quat a,b,c; Quat a.identity(); Quat b = QuatRotation(xaxis,90 degrees); Quat c = a * b; 

Quat C is now equal to quat b. So applying b to a and you get c. Now say you need to only use half of B, ie 45 degrees; Knowing the start, a, and end, c, we can interpolate t=0.5 to get the orientation mid way through that transformation.

##### Share on other sites
thanks a lot ,i think i get what you means! [color="#284b72"] [color="#000000"]the frame's standpoint is great!

1. 1
2. 2
Rutin
17
3. 3
4. 4
5. 5

• 26
• 10
• 11
• 9
• 9
• ### Forum Statistics

• Total Topics
633717
• Total Posts
3013509
×