Question:
What do i need to learn at math to program games?
pustanu
2019-06-01 13:46:13 UTC
If i want to develop/create games i need to learn programming if i want to program i need to learn math.
Now the question is what do i need to learn at math to program games
I need the list plz
The things i founded is:
Quaternions
Matrix/matrices
Linear Algebra
And vectors
Tell me guys everything i need to learn
Thx.
Five answers:
pustanu
2019-06-09 12:50:46 UTC
Sry for my grammar

I need help

As i see i get diferent answers from each one of you, now which one is the right answer, if noone of the answers is right, then which one is ?
2019-06-02 11:07:38 UTC
Kkjjjj
EddieJ
2019-06-01 17:06:25 UTC
The minimum is usually called Precalculus.



If you take a Precalcus course, you won't have to worry about making a list of requirements.



You should note that the term "games" is a very general term. You don't need to know much math to program a Tetris game.



Also, doing the math in a typical math class is different than getting a computer program to do math. When you create a game, you may be using a library of subroutines. Someone who knows the math has already put the math into those subroutine. But you have to know when to invoke which subroutine.



I don't cook, but I know how to order at a restaurant.
husoski
2019-06-01 16:58:37 UTC
Matrices, linear algebra and vectors go together. At a univesity, those will usually be combined in a linear algebra class that usually depends on finishing the lower division calculus sequence (three semesters, typically), so if you're asking about courses to take at school then you'll need everything in and leading up to that. (arithmetic, algebra, geometry, trigonometry, complex numbers, etc.)



I suggest you take a calculus-based physics course, too. That will give you tools to deal with simulation of motion, collisions, force-fields and such. It will also give you practice in properties of 3D vectors that math courses won't. Mathematicians are more interested in properties of vectors that extend to an arbitrary number of dimension. The cross product only exists as a vector idea in 3-space, for example.



Quaternions are a small tide pool topic in game and graphics programming. If what I see on the web is representative, half the programmers using them don't understand them. There's nothing in 3D geometry you can solve with them that you can't solve with matrices and vector algebra, and the quaternion approach will usually be a bit slower. They do give a very cute way to describe a 3D rotation and translation as a single transformation in 4D, though, and you should learn about this use for interview questions.



There are a number of different non-calculus topics that you should know, and these are usually collected in a "discrete mathematics" course: Logic, sets, number theory, probability, graph theory and more. A BSCS degree will also apply a lot of that material in "analysis of algorithms" and "data structures" courses.



I don't know if that's everything, but that's some of the preparation that your competition for an entry-level job at a major game dev company will have.
?
2019-06-01 14:58:38 UTC
I think you need to learn algorithms, which is calculus. Physics, trigonometry, algebra, finite math, and linear equations.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...