skip to main content
article
Free Access

Visualizing quaternion rotation

Published:01 July 1994Publication History
Skip Abstract Section

Abstract

Quaternions play a vital role in the representation of rotations in computer graphics, primarily for animation and user interfaces. Unfortunately, quaternion rotation is often left as an advanced topic in computer graphics education due to difficulties in portraying the four-dimensional space of the quaternions. One tool for overcoming these obstacles is the quaternion demonstrator, a physical visual aid consisting primarily of a belt. Every quaternion used to specify a rotation can be represented by fixing one end of the belt and rotating the other. Multiplication of quaternions is demonstrated by the composition of rotations, and the resulting twists in the belt depict visually how quaternions interpolate rotation.

This article introduces to computer graphics the exponential notation that mathematicians have used to represent unit quaternions. Exponential notation combines the angle and axis of the rotation into concise quaternion expression. This notation allows the article to present more clearly a mechanical quaternion demonstrator consisting of a ribbon and a tag, and develop a computer simulation suitable for interactive educational packages. Local deformations and the belt trick are used to minimize the ribbon's twisting and simulate a natural-appearing interactive quaternion demonstrator.

References

  1. BARR, A. H., CtTRmN, B., GABRIEI~, S., AND Hu(;ttEs, J. F. 1992. Smooth interpolation of orientations with angular velocity constraints using quaternions. Comput. Graph. 26, 2 (July), 313- 320. Google ScholarGoogle Scholar
  2. BARR, A. H. 1984. Global and local deformations of solid primitives. Comput. Graph. 18, 3 (July), 2130. Google ScholarGoogle Scholar
  3. B()I~K}:R, E. 1973. The spinor spanner. Am. Math. Month. 80, 9 (Nov.), 977 984.Google ScholarGoogle Scholar
  4. CAYIJ~;Y, A. 1897. The Collected Mathematical Papers af Arthur Cayley. Cambridge University Press, Cambridge, U.K.Google ScholarGoogle Scholar
  5. FItnN('Is, G.K. 1987. A Topological Picturebook. Springer-Verlag, New York.Google ScholarGoogle Scholar
  6. FICAN4'IS, G. K. ANI) KAUFFMAN, L.H. 1994. Air on the Dirae strings. In Mathematical Legacy of Wilhelm Magnus. AMS, Providence, R.I.Google ScholarGoogle Scholar
  7. HAMII,'I'{)N, W.R. 1866. Elements af Quaternions. Longmans Green, Lond()n.Google ScholarGoogle Scholar
  8. HANSON, A. 1992. The rolling ball: Applications of a method for controlling three degrees of freedom using two-dimensional input devices. In Graphics Gems, D. Kirk, Ed. Vol. 3. Academic Press, San Diego, Calif., 51-60. Google ScholarGoogle Scholar
  9. HART, J. C. 1993. Sphere tracing: Simple robust antialiased rendering of distance-based implicit surfaces. Tech. Pep. EECS-93-15, School of EECS, Washington State Univ., Pu}lman, Wash. Appears in SIGGRAPH '93, Course Notes #25 "Modeling, Visualizing and Animating Implicit Surfaces."Google ScholarGoogle Scholar
  10. KALRA, D. AND BARR, A.H. 1989. Guaranteed ray intersections with implicit surfaces. Comput. Graph. 23, 3 (July), 297-306. Google ScholarGoogle Scholar
  11. KAUF~'MAN, L.H. 1991. Knots and Physics. World Scientific, Teaneck, N.J.Google ScholarGoogle Scholar
  12. KAUrFMAN, L.H. 1987. On Knots. Princeton University Press, Princeton, N.J.Google ScholarGoogle Scholar
  13. MISNER, C. Wl, THORNE, K. S., AND WHEELER, J.A. 1973. Grat, itation. Freeman, San Francisco, Calif.Google ScholarGoogle Scholar
  14. SANDm, D. J., KAUFFMAN, L. H., AND FRAr~CIS, G.K. 1993. Air on the Dirac strings. SIGGRAPH Video Rev. 93. Animation.Google ScholarGoogle Scholar
  15. SHOEMAKE, K. 1992. ARCBALL: A user interface for specifying three-dimensional orientation using a mouse. In Proceedings of Graphics Interface '92 (May) 151-156. Google ScholarGoogle Scholar
  16. SHOEMAKE, K. 1985. Animating rotation with quaternion curves. Comput. Graph. 19, 3 (duly}, 245-254. Google ScholarGoogle Scholar
  17. SPIVAK, M. 1965. Calculus on Manifolds. W. A. Benjamin, New York.Google ScholarGoogle Scholar

Index Terms

  1. Visualizing quaternion rotation

        Recommendations

        Reviews

        Nickolas S. Sapidis

        The authors discuss the fundamentals of quaternions, their use in computer graphics for specifying rotations, and the mathematical modeling of a quaternion demonstrator. Section 2 begins with a short review of definitions and other mathematical results on quaternions, then proceeds to apply them to rotation representation, and finally focuses on the quaternion demonstrator, a mechanical unit quaternion multiplier. This consists of a ribbon (belt), with one end fixed and the other end free, and a tag fastened to the free end of the belt. The orientations of the tag, along with the twists in the belt, represent the unit quaternions. The modeling of various quaternion operations (including negation and multiplication) is discussed in detail. Section 3 focuses on the belt trick and its topological simulation, which is based on a globally specified deformation. Section 4 is this paper's original contribution, where techniques from differential geometry are used for modeling the quaternion demonstrator, and for regulating the twists and motions of the belt. More specifically, the authors represent the belt as a family of rotating line segments whose orientations interpolate the orientation of the belt's fixed end into the orientation of the tag. This idea is further developed, finally producing an analytic expression for the spine of the belt. The last part of this section focuses on issues related to implementing the above model, of which the most important is regulating the rate at which the quaternion demonstrator performs automatic belt tricks. For this purpose, the authors define a unit quaternion in spherical coordinates and derive a formula relating the incremental rotation of the tag to the maximum allowed rate of change of the belt. Further details on the authors' implementation are given in section 5, while their rendering procedure is described in the appendix. This is an important contribution, as the quaternion is not yet a standard tool in computer graphics. It seems very useful for representing rotations of objects and probably for solving other problems.

        Access critical reviews of Computing literature here

        Become a reviewer for Computing Reviews.

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in

        Full Access

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader