quaternionic splines of paths robert shuttleworth youngstown state university professor george...
TRANSCRIPT
![Page 1: Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA](https://reader036.vdocuments.site/reader036/viewer/2022082612/56649f445503460f94c655aa/html5/thumbnails/1.jpg)
![Page 2: Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA](https://reader036.vdocuments.site/reader036/viewer/2022082612/56649f445503460f94c655aa/html5/thumbnails/2.jpg)
Quaternionic Splines of Paths
Robert Shuttleworth
Youngstown State University
Professor George Francis, Director
illiMath2001
NSF VIGRE REU UIUC-NCSA
![Page 3: Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA](https://reader036.vdocuments.site/reader036/viewer/2022082612/56649f445503460f94c655aa/html5/thumbnails/3.jpg)
Order of Events
• History of the quaternions
• What is a quaternion?
• Significance to Computer Graphics
• Splining of Paths
• RTICA
![Page 4: Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA](https://reader036.vdocuments.site/reader036/viewer/2022082612/56649f445503460f94c655aa/html5/thumbnails/4.jpg)
History of the Quaternions
• Sir William Rowan Hamilton (1805-1865)
• Royal Canal, Dublin – October 16, 1843
• First example of a Lie Group
• Gibbs – vector dot and cross product
![Page 5: Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA](https://reader036.vdocuments.site/reader036/viewer/2022082612/56649f445503460f94c655aa/html5/thumbnails/5.jpg)
What is a quaternion?Generalizations of the complex numbers into 4D
i2 = j2 = k2 = ijk = -1
Multiplication of quaternions is not commutative.
Complex Numbers (C) Quaternions (H)
z = a+bi; a,b in R q = [s,v], s in R, v in R3
zz’ = (aa’ – bb’) + (ab’ – a’b)i
qq’ = [ss’-v.v’, sv’+s’v+vxv’]
![Page 6: Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA](https://reader036.vdocuments.site/reader036/viewer/2022082612/56649f445503460f94c655aa/html5/thumbnails/6.jpg)
Rotation Matrices
)cos(sin(
)sin()cos(
In 2D:
0
![Page 7: Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA](https://reader036.vdocuments.site/reader036/viewer/2022082612/56649f445503460f94c655aa/html5/thumbnails/7.jpg)
What is SO(3)?
• Orthogonal : UT=U-1
• SO(n) = special orthogonal group
• SO(2) = {rotations about the origin in 2D}
• SO(3) = {set of rotations in 3D}
![Page 8: Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA](https://reader036.vdocuments.site/reader036/viewer/2022082612/56649f445503460f94c655aa/html5/thumbnails/8.jpg)
Rotations with Quaternions
S3
2:1
SO(3)
S3 in R4 is a Lie Group under Quaternionic Multiplication
In R3, p qpq-1
2
sincos
vq
Rotation:
![Page 9: Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA](https://reader036.vdocuments.site/reader036/viewer/2022082612/56649f445503460f94c655aa/html5/thumbnails/9.jpg)
Advantages of Quaternions in Computer Graphics
• Coordinate system independent
• Easy to represent rotations
• Less values need to be stored when compared to matrices
• Allows efficient splining of paths
![Page 10: Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA](https://reader036.vdocuments.site/reader036/viewer/2022082612/56649f445503460f94c655aa/html5/thumbnails/10.jpg)
Linear Interpolation (LERP)
)()1(),,( 1010 tqtqqqtlerp
q0q1
qt
![Page 11: Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA](https://reader036.vdocuments.site/reader036/viewer/2022082612/56649f445503460f94c655aa/html5/thumbnails/11.jpg)
Spherical Linear Interpolation (SLERP)
)sin(
)sin())1(sin(),,(
d
dtBtdABAtslerp
where:
d= acos (A.B)
![Page 12: Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA](https://reader036.vdocuments.site/reader036/viewer/2022082612/56649f445503460f94c655aa/html5/thumbnails/12.jpg)
Geometry of SLERP in the Plane
A B),,( BAtslerp
d
![Page 13: Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA](https://reader036.vdocuments.site/reader036/viewer/2022082612/56649f445503460f94c655aa/html5/thumbnails/13.jpg)
A
B
L1(t)
),,()(1 BAtslerptL
K
SLERP with Three Points
),,()(2 KAtslerptL
L2(t)),,()(3 BKtslerptL
L3(t)
))(),(,()( 324 tLtLtslerptL
L4(t)
![Page 14: Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA](https://reader036.vdocuments.site/reader036/viewer/2022082612/56649f445503460f94c655aa/html5/thumbnails/14.jpg)
RTICA