{"id":13816,"date":"2024-10-19T14:08:09","date_gmt":"2024-10-19T18:08:09","guid":{"rendered":"https:\/\/www.sceneri.com\/?post_type=sceneri-docs-glossar&p=13816"},"modified":"2024-11-12T04:03:18","modified_gmt":"2024-11-12T09:03:18","slug":"quaternion","status":"publish","type":"sceneri-docs-glossar","link":"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/quaternion\/","title":{"rendered":"Quaternion"},"content":{"rendered":"
A quaternion is a four-dimensional vector that can be used to represent a rotation in 3D space. Quaternions are often used in computer graphics for representing the orientation of objects, such as characters and vehicles.<\/span><\/p>\n<\/div>\n Quaternions are a more efficient representation of rotations than Euler angles. Euler angles are three angles that are used to represent the orientation of an object in 3D space. However, Euler angles can suffer from gimbal lock, which is a condition where the object appears to rotate in the wrong direction. Quaternions do not suffer from gimbal lock, making them a more reliable representation of rotations.<\/span><\/p>\n<\/div>\n Here are some of the benefits of using quaternions in computer graphics:<\/span><\/p>\n<\/div>\n Here are some of the drawbacks of using quaternions in computer graphics:<\/span><\/p>\n<\/div>\n Overall, quaternions are a powerful and efficient representation of rotations that can be used in a variety of computer graphics applications.<\/span><\/p>\n<\/div>\n<\/div><\/div><\/div><\/div><\/div>\n","protected":false},"featured_media":0,"parent":0,"template":"","meta":{"_acf_changed":false},"sceneri-docs-tag":[],"class_list":["post-13816","sceneri-docs-glossar","type-sceneri-docs-glossar","status-publish","hentry"],"acf":[],"yoast_head":"\n\n
\n