Поделиться через


Math Primer Series: Intro, Notation, and References

This is the first part of a multi-part primer and reference for the math we’ll be using extensively throughout this blog. If you’ve been around game or graphics programming for any length of time, you’re probably at least somewhat familiar with many of these topics. However, you might be a bit rusty or might not know some of the more advanced details, so I’ll try and review as much ground as I can. Please either bear with me through the basics or just skip ahead to my later posts if you feel comfortable with this material.

A few notes before we dive in:

First and foremost, there is absolutely no way that I can teach you linear algebra in the span of several blog posts! J If this material is completely foreign to you, I strongly recommend picking up a good book on the subject. These blog posts are only meant as a refresher and reference for later blog posts. Please see the end of the post for a references section for further reading.

 

Notation

I’ll be using the following mathematical notation throughout my posts, which is pretty standard:

 

clip_image002[6]

Real numbers, integers, 3-tuples of real numbers

clip_image004[6]

Point, line segment, triangle

clip_image006[6]

Vector, transpose vector, zero vector, i-th component of a vector.

clip_image008[6]

Matrix, identity matrix, transpose matrix, inverse matrix

clip_image010[6]

Subset, superset, element of, not element of, empty set, union, intersection

I’ll define other symbols as we go (and update this post with those), but that should be a good start for now.

 

The Math Primer series will be divided into the following sections. I’ll enable each link below as the posts are published:

1. Vectors I: Points vs. vectors

2. Vectors II: Vector operations

3. Vectors III: Affine spaces, linear and affine combinations

4. Matrices I: Introduction and Basic Operations

5. Matrices II: Linear Transformations

6. Matrices III: Affine Transformations

7. Rotation Representations & Quaternions

 

References and Links

Books:

1. One of my favorite books on linear algebra, specifically in the context of games: Essential Mathematics for Games and Interactive Applications by James M. Van Verth & Lars M. Bishop

2. Great book on basic game physics: Game Physics Engine Development by Ian Millington

3. More advanced book on game physics: Game Physics by David H. Eberly

4. Excellent coverage of advanced collision detection algorithms: Collision Detection in Interactive 3D Environments by Gino van den Bergen

5. One of the best and most comprehensive texts on various collision detection and intersection tests: Real-Time Collision Detection by Christer Ericson

Papers:

1. Great papers and write ups of various techniques: https://www.geometrictools.com/Documentation/Documentation.html

2. More great collision detection papers: https://www.dtecta.com/ (under the ‘Interesting’ section)

Comments

  • Anonymous
    June 06, 2011
    Another invaluable resource to catch up on linear algebra is the Khan Academy: http://www.khanacademy.org/

  • Anonymous
    June 06, 2011
    Interesting site. I'll definitely check it out. Thanks!

  • Anonymous
    June 07, 2011
    Great to set such a clear notation on math used for this blog, but isn't the notation a bit unorthodox? Maybe using Tex2Html and then using the normal set notation would explain better what you've written down.

  • Anonymous
    June 07, 2011
    I actually didn't know about TeX. I just downloaded a dist of it, and will likely use it in my future posts (and update current posts). Thanks for the pointer!