list of maths skills required

Guys, can we maybe work together to compile a list of required maths skills for game development. I just found that I often want to do personal studies in maths and I’m not sure what I should focus on without wasting valuable time.

Please help me with this list or if someone knows about an existing one, we can post it here, thanks

Quaternion. MUST !
do need to understand it as possible as you can, otherwise you may get into the trouble on rotation sometime later.

The best place to learn, is here…
http://www.euclideanspace.com/maths/algebra/realNormedAlgebra/quaternions/index.htm

I don’t think any math skill is ‘required’. It’s just that math can make your work a lot easier.

The math I tend to use the most (by far) is vector calculus. Understanding thoroughly the basic operations: interpolation, subtraction, addition, dot and cross can go a long way when programming (for instance) AI path-finding or camera scripts.

The more low-level stuff, like vector/matrix interaction comes in handy if you delve into writing your own vertex/pixel shaders (although I’d say an understanding of the way graphics hardware works is more important than the math).

As for understanding quaternions, as the previous poster suggests, I don’t think it’s important at all. As long as you understand what they represent and how to work with them, their inner mechanics are completely irrelevant.

Ok, I’ll loose all pride and throw in a basic one :roll:

You need to understand vector 2/3 maths related to acceleration and the influence of forces, here is a link for revision.

Maybe if we can also include some fundamentals in order to understand e.g. sin, cos and tan or vector3 etc. Just basic maths skills related to game development, really.

Understanding quaternions isn’t a must for game development. If your goal is to have a well-rounded background in game math then you’ll need to learn about them, but they are in no way ‘required’, generally speaking.

Agreed. There probably isn’t any particular math skill that is absolutely ‘required’ for game development.

What math is needed depends on the game. Some games involve little or no math; some require only some very simple 2-d vector arithmetic; some involve trig; some involve 3-d rotations and advanced linear algebra; and some involve calculus and other more advanced topics.

If your goal is to be a capable, well-rounded developer, you’ll need to know basic linear algebra (matrices, vectors, etc.) and basic trig, and you should at least know what quaternions are and how they can be used. If your goal is just to make games though, then what math is needed is entirely dependent on what game you’re making.

As mentioned, nothing is really required, some are either helpful, or something you will pick up in a particular field of Game Development.

For Example, Matrix understanding and manipulation can be helpful for Rendering coding. But it’s not really required that you fully understand it to get a basic framework. Or using Dot Product effectively can be very helpful for AI/heading calculations, but it’s not like you can’t make a game without it.

It’s incredibly game specific, and I would suggest a rounded understanding, followed by learning the specific mathematical principles when you need them.

I might add that a good skill to have as a game programmer is to know which math operations are computationally expensive and which are not as much. For example:

  • Instead of computing the angle between two vectors, would a dot product give you enough info?
  • Do you really need to do a square root operation to find the distance between two points? Wouldn’t the squared distance be enough?
  • Did you just do Pow (number, 2) ? How about number * number; in most implementations it is a lot faster.
  • Sines, cosines… Do you need that amount of precision? Perhaps interpolating in a precomputed lookup table would be a good memory vs speed trade off.

@Ntero:
i’m interrested in what you said about “Dot Product”, can you please give some guidance to it’s relation to maths or what maths required?

I am a c# programmer
I am learning UnityScript (aka javascript) which is a 3d programming language.
I still have a D in math

This is what pisses me off. Just hand me the f*cking test and don’t ask me to explain how I got the answer.

@CreativeCoding

I know what you mean. I’m sure you still understand the core concepts of math now that you apply it, though?

T

UnityScript isn’t a 3D programming language. Both UnityScript and C# employ the same library API which has 3D classes and methods. Out of curiosity, as a C# developer, why do you want to use UnityScript instead of VisualStudio/MonoDevelop C#?

Dot product has can be used for Line Projection.

If you use normalized vectors you can use that projection value to see relational information on those vectors.

i.e.

If two players are looking at each other, the dot product of their forward vectors is -1. If one of the players is facing 45 degrees to the right or left of the other player (who is looking at him)it’s 0.5, when their headings are perpendicular it’s 0.0, and facing the exact same direction it’s 1.

You can also get a vector to what you want to look at, and then use your heading to see if it’s within the viewing cone. (if > 0.5 it’s within 45 degrees of the heading and therefore being looked at).

You can use extensive trig to determine much of these but this is incredibly fast and elegant for AI maneuvering.

I got a book titles “beginners maths and physics for game developers”.

I will share some of these ideas when i have gone through it myself.