{"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":"
\n

Overview<\/h3>\n

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

\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

\n

Here are some of the benefits of using quaternions in computer graphics:<\/span><\/p>\n<\/div>\n

\n
    \n
  • \n
    Efficient representation of rotations: <\/strong><\/span>Quaternions can represent a rotation in 3D space with only four numbers. This makes them more efficient than other representations of rotations, such as Euler angles.<\/span><\/div>\n<\/li>\n
  • \n
    No gimbal lock: <\/strong><\/span>Quaternions do not suffer from gimbal lock, which is a condition where the object appears to rotate in the wrong direction.<\/span><\/div>\n<\/li>\n
  • \n
    Flexible rotation representation: <\/strong><\/span>Quaternions can represent rotations in a variety of ways, making them well-suited for a wide range of applications.<\/span><\/div>\n<\/li>\n<\/ul>\n<\/div>\n
    \n

    Here are some of the drawbacks of using quaternions in computer graphics:<\/span><\/p>\n<\/div>\n

    \n
      \n
    • \n
      Slower to compute than Euler angles: <\/strong><\/span>Quaternions are slower to compute than Euler angles. This can make them less suitable for real-time applications.<\/span><\/div>\n<\/li>\n
    • \n
      More complex to understand and implement: <\/strong><\/span>Quaternions are more complex to understand and implement than Euler angles. This can make them less suitable for beginners.<\/span><\/div>\n<\/li>\n<\/ul>\n<\/div>\n
      \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":"\nQuaternion - Sceneri<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/quaternion\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Quaternion\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/quaternion\/\" \/>\n<meta property=\"og:site_name\" content=\"Sceneri\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sceneriapp\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-12T09:03:18+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@sceneriapp\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/quaternion\/\",\"url\":\"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/quaternion\/\",\"name\":\"Quaternion - Sceneri\",\"isPartOf\":{\"@id\":\"https:\/\/www.sceneri.com\/#website\"},\"datePublished\":\"2024-10-19T18:08:09+00:00\",\"dateModified\":\"2024-11-12T09:03:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/quaternion\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/quaternion\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/quaternion\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sceneri.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Quaternion\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.sceneri.com\/#website\",\"url\":\"https:\/\/www.sceneri.com\/\",\"name\":\"Sceneri\",\"description\":\"Collaborate in 3D.\",\"publisher\":{\"@id\":\"https:\/\/www.sceneri.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.sceneri.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.sceneri.com\/#organization\",\"name\":\"Sceneri\",\"url\":\"https:\/\/www.sceneri.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.sceneri.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.sceneri.com\/wp-content\/uploads\/2024\/06\/sceneri-logo-inverted.png\",\"contentUrl\":\"https:\/\/www.sceneri.com\/wp-content\/uploads\/2024\/06\/sceneri-logo-inverted.png\",\"width\":1630,\"height\":512,\"caption\":\"Sceneri\"},\"image\":{\"@id\":\"https:\/\/www.sceneri.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/sceneriapp\",\"https:\/\/x.com\/sceneriapp\",\"https:\/\/www.reddit.com\/r\/sceneriapp\/\",\"https:\/\/www.twitch.tv\/sceneriapp\",\"https:\/\/www.youtube.com\/@sceneriapp\",\"https:\/\/www.linkedin.com\/company\/sceneri\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Quaternion - Sceneri","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/quaternion\/","og_locale":"en_US","og_type":"article","og_title":"Quaternion","og_url":"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/quaternion\/","og_site_name":"Sceneri","article_publisher":"https:\/\/www.facebook.com\/sceneriapp","article_modified_time":"2024-11-12T09:03:18+00:00","twitter_card":"summary_large_image","twitter_site":"@sceneriapp","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/quaternion\/","url":"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/quaternion\/","name":"Quaternion - Sceneri","isPartOf":{"@id":"https:\/\/www.sceneri.com\/#website"},"datePublished":"2024-10-19T18:08:09+00:00","dateModified":"2024-11-12T09:03:18+00:00","breadcrumb":{"@id":"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/quaternion\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sceneri.com\/sceneri-docs-glossar\/quaternion\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/quaternion\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sceneri.com\/"},{"@type":"ListItem","position":2,"name":"Quaternion"}]},{"@type":"WebSite","@id":"https:\/\/www.sceneri.com\/#website","url":"https:\/\/www.sceneri.com\/","name":"Sceneri","description":"Collaborate in 3D.","publisher":{"@id":"https:\/\/www.sceneri.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sceneri.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.sceneri.com\/#organization","name":"Sceneri","url":"https:\/\/www.sceneri.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sceneri.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.sceneri.com\/wp-content\/uploads\/2024\/06\/sceneri-logo-inverted.png","contentUrl":"https:\/\/www.sceneri.com\/wp-content\/uploads\/2024\/06\/sceneri-logo-inverted.png","width":1630,"height":512,"caption":"Sceneri"},"image":{"@id":"https:\/\/www.sceneri.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sceneriapp","https:\/\/x.com\/sceneriapp","https:\/\/www.reddit.com\/r\/sceneriapp\/","https:\/\/www.twitch.tv\/sceneriapp","https:\/\/www.youtube.com\/@sceneriapp","https:\/\/www.linkedin.com\/company\/sceneri\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/sceneri-docs-glossar\/13816"}],"collection":[{"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/sceneri-docs-glossar"}],"about":[{"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/types\/sceneri-docs-glossar"}],"wp:attachment":[{"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/media?parent=13816"}],"wp:term":[{"taxonomy":"sceneri-docs-tag","embeddable":true,"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/sceneri-docs-tag?post=13816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}