AccessMyLibrary provides FREE access to over 30 million articles from top publications available through your library.

Avoiding gimbal lock.(Viewpoint: CG)

Computer Graphics World

| June 01, 2009 | Vass, Gergely | COPYRIGHT 2009 PennWell Publishing Corp. This material is published under license from the publisher through the Gale Group, Farmington Hills, Michigan.  All inquiries regarding rights should be directed to the Gale Group. (Hide copyright information)Copyright

To place an object in 3D space, its transformation properties need to be specified: position, scale, and orientation. The first two attributes are easily definable by three numbers for each. The meaning of the x, y, and z positions and scale parameters are easy to understand, visualize, manipulate, and animate for artists. However, that is not the case for orientation.

Using an xyz triplet (three angular values) to manipulate an object's orientation may become impossible--for instance, during some configurations of the three angles, such as gimbal lock--and lead to major problems when animating these values. Gimbal lock is a phenomenon known for a long time, and it has caused severe problems long before computer graphics emerged. According to NASA documents on the Apollo space program, pilots had to keep a close eye on the Gimbal Lock warning light while maneuvering the spacecraft in order to avoid unwanted and dangerous malfunctioning in the guidance and control systems.

The orientation, or angular position, of a rigid object has three degrees of freedom. By holding a camera in our hands, for example, we can pan left and right, tilt it up and down, or roll it without changing the point of interest. The most common and intuitive way to define these attributes is the use of Euler angles: The orientation is represented by three consecutive rotations around the main axes of a reference frame. However, the order of the rotational axes is something the industry has never agreed on, so it is essential to supply this information if we transfer animation data using Euler angles. Each major 3D application has a way to change the order of rotations.

Using three gimbals, it is possible to construct a physical device, a gimbal system, based on the principle of Euler angles. A gimbal is a pivoted device, most often a ring, which rotates around a single axis. By mounting a gimbal inside another one, the inner ring rotates around an additional axis, increasing the degrees of freedom by one. Defining the orientation of an object with Euler angles is like putting it inside a virtual three-gimbal device, and then rotating each ring by the corresponding angle. (Once again, the order of rotations and the coordinate frame axes must be agreed upon.) The outer ring can represent the tilt, the middle ring the pan, and the innermost ring the roll. However, most of the publications on Euler angles refer to the three attributes as yaw, pitch, and roll, as used in aerospace applications.

[ILLUSTRATION OMITTED]

Having full control over the three degrees of freedom, one could conclude that Euler angles (or gimbal systems, in general) are the perfect way to describe orientation. Unfortunately, there are configurations wherein we lose one degree of freedom: the gimbal lock. In this state, one of the gimbal rings is rotated such that it aligns perfectly with another. In this situation, the entire range of rotations is unreachable, and we may need to first re-orient the locked gimbal in order to rotate the ring arbitrarily. If the angles are near the gimbal-lock state, the gimbal system becomes unstable, as even small rotations (or round-off errors of the numerical representation) may yield unexpected results.

[ILLUSTRATION OMITTED]

Related articles from newspapers, magazines, journals, and more
Use of dual Euler angles able to quantify joint motion, application to complex.
Newspaper article from: Medical Devices & Surgical Technology Week February 23, 2003 700+ words
...research from Singapore, "This paper presents a modified Euler angles method, dual Euler angles approach, to describe general spatial human joint motions. "In dual Euler angles approach, the three-dimensional joint motion is considered...
PUSHY PULLEY.(Ross-Heim Designs Inc. designs robotic wrist without...
Magazine article from: Mechanical Engineering-CIME SHARKE, PAUL December 1, 2000 700+ words
...point within a hemispherical envelope without singularity or "gimbal lock." Singularity in a robot's wrist is the area that the...ends up blocking motion of the other axis, he said. This is gimbal lock, another kind of singularity. Prior Ross Heim designs eliminated...
Crystal orientation and twinning in cold-rolled ultrahigh molecular weight...
Magazine article from: Polymer Engineering and Science Hibi, Sadao Niwa, Takahiro Mizukami, Jun Wang, Chi Kyu, Thein June 15, 1995 700+ words
...matrix [a.sub.im] may be described in terms of three Euler angles [Theta], [Phi], and [Eta]; [Mathematical Expression...sin [Theta]] (5) Eq A-22 may be rewritten using the Euler angles [Theta], [Phi], and [Eta] as follows; [Mathematical...
Noise smoothing for VR equipment in quaternions. (virtual reality)(Special...
Magazine article from: IIE Transactions Hsieh, C.C. Fang, Y.C. Wang, M.E. Wang, C.K. Kim, M.J. Shin, S.Y. Woo, T.C. July 1, 1998 700+ words
...introduced a set of independent co-ordinates, called Euler angles, which describe a three-dimensional rotation as the composition...through an origin. Although interpolating rotations via Euler angles is feasible, it is cumbersome [2]. On the other hand...
Data from C.H. Wu and colleagues advance knowledge in life sciences.
Newspaper article from: Life Science Weekly March 31, 2009 700+ words
...Eulerian formulation, the exiting method used vector form of Euler angles and only provides an approximation," scientists writing...using transformation matrices rather than vector operation on Euler angles. In the projection method, the projection axes were determined...
Study data from University of Illinois provide new insights into mechanical...
Newspaper article from: Journal of Mathematics August 4, 2009 700+ words
...nodal points. In addition to the location of the nodes and Euler angles that define the orientation of the profile frame at the nodes...first, second, and third derivatives of the locations and Euler angles are defined by the preprocessor computer program," wrote...
Patent No. 7,574,057 Issued on Aug. 11, Assigned to Lockheed Martin for...
News wire article from: US Fed News Service, Including US State News August 17, 2009 700+ words
...scheme wherein a covariance matrix is described in terms of Euler angles and eigenvalues. A covariance matrix is decomposed into...encoded with a logarithmic or other compression scheme. Euler angles are calculated and angle is compressed and an offset is added...
Researchers from University of Toronto report details of new studies and...
Newspaper article from: Proteomics Weekly July 28, 2008 700+ words
...images, several standard approaches exist for determining Euler angles for randomly oriented projection images. The common lines...derived from the averages themselves to deter-mine the Euler angles for side views," wrote L.A. Baker and colleagues, University...
For more facts and information, see all results
©2009 Gale, a part of Cengage Learning. All rights reserved.
About us | FAQs | Contact us | Privacy policy | Terms and conditions
Other Gale sites: Encyclopedia.com | HighBeam Research | Acquire Content | Books & Authors | Goliath | MovieRetriever | Smart QandA