GDC Vault is part of the Informa Tech Division of Informa PLC
This is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.
Math in Game Development Summit: Quaternions to Homogeneous Points, Lines, and Planes
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).
Did you know free users get access to 30% of content from the last 2 years?