TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Understanding Quaternions

208 pointsby njnover 6 years ago

13 comments

amaiover 6 years ago
Sorry to spoil the party, but this is the old 19th century way of teaching quaternions (and also complex numbers). It is much easier to start with some <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Group_theory" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Group_theory</a> and then you understand that quaternions are simply matrices of a specific form: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Quaternion#Matrix_representations" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Quaternion#Matrix_representati...</a> . Quaternion multiplication is simply matrix multiplication of these matrices. And that&#x27;s it. No mysteries, this is just simple linear algebra (you do&#x27;t even need complex numbers, the real representation is enough and makes the connection to 4d rotations manifest).
评论 #18269290 未加载
评论 #18271912 未加载
评论 #18267872 未加载
评论 #18268652 未加载
foobarbecueover 6 years ago
In case you missed it, 3B1B has a brilliant video introducing quaternions: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;d4EgbgTm0Bg" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;d4EgbgTm0Bg</a>
评论 #18267768 未加载
评论 #18267867 未加载
umanwizardover 6 years ago
Possibly off-topic: why does practically any description of quaternions include the anecdote about somebody carving something into some bridge in Ireland?<p>I’ve learned about plenty of mathematical concepts while having no idea who discovered them or under what circumstances. Why are quaternions the exception?
评论 #18265961 未加载
评论 #18265997 未加载
评论 #18266306 未加载
评论 #18265917 未加载
评论 #18266491 未加载
评论 #18266422 未加载
评论 #18266327 未加载
评论 #18266303 未加载
评论 #18270760 未加载
评论 #18265842 未加载
adamnemecekover 6 years ago
Dual quaternion are even whackier. They are the best formalism for reasoning about 3D space developing over time.<p>Here’s a cool example <a href="http:&#x2F;&#x2F;www.chinedufn.com&#x2F;dual-quaternion-shader-explained&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.chinedufn.com&#x2F;dual-quaternion-shader-explained&#x2F;</a>
splittingTimesover 6 years ago
Previous discussion<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7364442" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7364442</a><p>Those who like to have a print version:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;frankMilde&#x2F;interesting-reads&#x2F;blob&#x2F;master&#x2F;3d-game-engine-programming_jeremiah-van-oosten_understanding-quaternions.pdf" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;frankMilde&#x2F;interesting-reads&#x2F;blob&#x2F;master&#x2F;...</a>
kuwzeover 6 years ago
I remember being introduced to quaternions recently by this post[0] which recommended this book[1].<p>[0]: <a href="https:&#x2F;&#x2F;www.haroldserrano.com&#x2F;blog&#x2F;best-books-to-develop-a-game-engine" rel="nofollow">https:&#x2F;&#x2F;www.haroldserrano.com&#x2F;blog&#x2F;best-books-to-develop-a-g...</a><p>[1]: <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;Quaternions-Computer-Graphics-John-Vince&#x2F;dp&#x2F;0857297597&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;Quaternions-Computer-Graphics-John-Vi...</a>
nraynaudover 6 years ago
I had a question about quaternions: does anyone use them for anything else than multiplying a rotation by a scalar?<p>In particular, it feels a bit like a waste of coding space to always use unit ones.
评论 #18266277 未加载
评论 #18266191 未加载
评论 #18266276 未加载
评论 #18267088 未加载
edflsafoiewqover 6 years ago
Anyone know an easy way to show that multiplication by a unit quaternion is a unitary operator?
评论 #18266443 未加载
评论 #18265870 未加载
评论 #18267206 未加载
winkover 6 years ago
I found these videos very helpful: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=SCbpxiCN0U0" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=SCbpxiCN0U0</a>
aaaaaaaaaabover 6 years ago
Protip: learn Geometric Algebra.
评论 #18265922 未加载
choonwayover 6 years ago
Please use Lie Groups&#x2F;Algebra instead.
评论 #18266450 未加载
评论 #18267218 未加载
评论 #18266498 未加载
bnolsenover 6 years ago
left handed thingies. go to geometric algebra for the real meal deal.
paulgrant999over 6 years ago
I have no idea why they insist on using such horrible graphs to explain a simple idea.<p>Go to wiki&#x2F;quaternions. scroll down to about 2&#x2F;3rds of the way ;)