Session Name: | Math in Game Development Summit: Quaternions to Homogeneous Points, Lines, and Planes |
Speaker(s): | Hamish Todd |
Company Name(s): | Imagination Technologies |
Track / Format: | Math In Game Development Summit |
Did you know free users get access to 30% of content from the last 2 years?
Overview: | Points, Lines, and Planes are the basic geometric objects that games are programmed with. In "A Visual Guide to Quaternions and Dual Quaternions", we learned how to get rotations from lines. This talk is a sequel to that: we'll see how to intersect planes and lines to get lines and points; how to get transforms taking us from planes to points and lines; how to measure the distance between any plane, line, or point and any plane, line or point; how to do the same with angles; how to project these objects onto each other; and more.All of these can be done in a single line of code, and in a way that is visually intuitive and "coordinate free", meaning that we never have to worry about where we are relative to our origin or our axes. A single mathematical system enables all of this: Euclidean Plane-Based Geometric Algebra (a subset of the larger system described by Eric Lengyel in other GDC talks). |