Title: Dr. Scott Schaefer
1Quaternions and Complex Numbers
2Complex Numbers
- Defined by real and imaginary part
- where
3Complex Numbers
- Defined by real and imaginary part
- where
4Complex Numbers
- Defined by real and imaginary part
- where
5Complex Numbers
- Defined by real and imaginary part
- where
6Complex Numbers
- Defined by real and imaginary part
- where
7Complex Numbers
- Defined by real and imaginary part
- where
8Complex Numbers
- Defined by real and imaginary part
- where
9Complex Numbers
- Defined by real and imaginary part
- where
10Complex Numbers
- Defined by real and imaginary part
- where
11Complex Numbers
- Defined by real and imaginary part
- where
12Complex Numbers and Rotations
- Given a point (x,y), rotate that point about the
origin by
13Complex Numbers and Rotations
- Given a point (x,y), rotate that point about the
origin by
14Complex Numbers and Rotations
- Given a point (x,y), rotate that point about the
origin by
15Complex Numbers and Rotations
- Given a point (x,y), rotate that point about the
origin by
Multiplication is rotation!!!
16Quaternions History
- Hamilton attempted to extend complex numbers from
2D to 3D impossible - 1843 Hamilton discovered
- a generalization to 4D and
- wrote it on the side of a
- bridge in Dublin
- One real part, 3 complex parts
17Quaternions
18Quaternions
19Quaternions
20Quaternions
21Quaternion Multiplication
22Quaternion Multiplication
23Quaternion Multiplication
24Quaternion Operations
25Quaternion Operations
26Quaternion Operations
27Quaternion Operations
28Quaternion Operations
29Quaternion Operations
30Quaternion Operations
31Quaternions and Rotations
- Claim unit quaternions represent 3D rotation
32Quaternions and Rotations
- Claim unit quaternions represent 3D rotation
33Quaternions and Rotations
- Claim unit quaternions represent 3D rotation
34Quaternions and Rotations
- Claim unit quaternions represent 3D rotation
35Quaternions and Rotations
- Claim unit quaternions represent 3D rotation
36Quaternions and Rotations
- Claim unit quaternions represent 3D rotation
37Quaternions and Rotations
- Claim unit quaternions represent 3D rotation
38Quaternions and Rotations
- Claim unit quaternions represent 3D rotation
39Quaternions and Rotations
- Claim unit quaternions represent 3D rotation
40Quaternions and Rotations
- Claim unit quaternions represent 3D rotation
41Quaternions and Rotations
- Claim unit quaternions represent 3D rotation
Almost identical!!!
42Quaternions and Rotations
- The quaternion representing rotation about the
unit axis v by is - To convert to matrix, assume q(s,v) and q1
43Quaternions and Rotations
- The quaternion representing rotation about the
unit axis v by is - To convert to matrix, assume q(s,v) and q1
44Quaternions vs. Matrices
- Quaternions take less space (4 numbers vs. 9 for
matrices) - Rotating a vector requires 28 multiplications
using quaternions vs. 9 for matrices - Composing to rotations using quaternions q1q2
requires 16 multiples vs. 27 for matrices - Quaternions are typically not hardware
accelerated whereas matrices are
45Quaternions and Interpolation
- Given two orientations q1 and q2, find the
orientation halfway between
46Quaternions and Interpolation
- Given two orientations q1 and q2, find the
orientation halfway between
47Quaternions and Interpolation
- Unit quaternions represent points on a 4D
hyper-sphere - Interpolation on the sphere gives rotations that
bend the least
48Quaternions and Interpolation
- Unit quaternions represent points on a 4D
hyper-sphere - Interpolation on the sphere gives rotations that
bend the least
49Quaternions and Interpolation
- Unit quaternions represent points on a 4D
hyper-sphere - Interpolation on the sphere gives rotations that
bend the least - May need to interpolate between q1 and q2
50Quaternions and Interpolation
Quaternion Interpolation
51Quaternions and Interpolation
Quaternion Interpolation
52Quaternions and Interpolation
Quaternion Interpolation
53Quaternions and Interpolation
Quaternion Interpolation
54Quaternions and Interpolation
Quaternion Interpolation
55Quaternions and Interpolation
Quaternion Interpolation
56Quaternions and Interpolation
Euler Angle Interpolation
57Quaternions and Interpolation
Euler Angle Interpolation
58Quaternions and Interpolation
Euler Angle Interpolation
59Quaternions and Interpolation
Euler Angle Interpolation
60Quaternions and Interpolation
Euler Angle Interpolation
61Quaternions and Interpolation
Euler Angle Interpolation
62Quaternions and Interpolation
Quaternion Interpolation
Euler Angle Interpolation
63Quaternions and Interpolation
Quaternion Interpolation
Euler Angle Interpolation
64Quaternions and Interpolation
Quaternion Interpolation
Euler Angle Interpolation
65Quaternions and Interpolation
Quaternion Interpolation
Euler Angle Interpolation
66Quaternions and Interpolation
Quaternion Interpolation
Euler Angle Interpolation
67Quaternions and Interpolation
Quaternion Interpolation
Euler Angle Interpolation
68Quaternions and Interpolation
Euler Angle Interpolation
Quaternion Interpolation
69Quaternions and Interpolation
Euler Angle Interpolation
Quaternion Interpolation
70Quaternions and Interpolation
Euler Angle Interpolation
Quaternion Interpolation
71Quaternions and Interpolation
Euler Angle Interpolation
Quaternion Interpolation
72Quaternions and Interpolation
Euler Angle Interpolation
Quaternion Interpolation
73Quaternions and Interpolation
Euler Angle Interpolation
Quaternion Interpolation
74(No Transcript)
75Exponential Forms
76Quaternions in Exponential Form