Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Gamedesign101

what kind of math is involved with making a game?

This topic is 5330 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was wondering becasue, I never was good with math really, just never was my subject...but I am willing to learn and brush up on it, and I was wondering if any of you guys could tell me what I need to brush up on, or what kind of math is involved here... thanks chris

Share this post


Link to post
Share on other sites
Advertisement
When you''re starting you need things like Vectors and Matrices and the basic trigonometry(sin, cos).When you''re a little further quaternions are really useful.

Also things about coordinate systems(2d, 3d, polar, cylindrical, spherical).

Geometric entities such as lines and planes are a must. And if you want to go a little further you should have a good grasp of calculus.

Share this post


Link to post
Share on other sites
1.) Graphics

* vectors, matrices. linear algebra, that is

2.) Physics (and I mean practical game physics!)

* basics of ordinary differential equations (the concepts and numerical approximation)
* basic intuition on dynamic systems, eg. how to construct "stretchy" object (eg. cloth) by using connected particles.
* rigid body dynamics won''t do harm (although you can fake rigid bodies using verlets)
* and some more advanced topics: contact forces, friction and joints. all can be approximated, and all can be made into hard sciences, depending on your point of view.

3.) Collision handling

* in practice "only" points, lines, triangles, and spheres (extended as cylinders) and convex objects (more rarely complex ones). but even these will lead to algorithms complex enough
* btw, even in "academical" studies higher-order surfaces are rarely used for collisions. this is because lots of low-order objects is enough to approximate higher-order objects (this is a fact some higher-order advocates rarely understand...), with easier implementation and more numerous usages.

3.) AI

I''m not really qualified to answer Chess-like (discrete) AI requires more algorithms than math. Dunno about continuous "FPS-like" games.

4.) Others

Of course games aren''t just engines, so some basic knowledge of math (you don''t need to be able to proof all things, just understand them, eg. by geometric intuition) can be required in implementing the "game code" (in opposite of "engine code").

- Mikko

Share this post


Link to post
Share on other sites
3d math = math involving 3 dimensions.

But usually, it tends to be 4 dimension:

X, Y, Z, and Time.

so, many of the algos you''ll work with will have these 4 variables all the time.

Share this post


Link to post
Share on other sites
As people have said, linear algebra is an absolute must. They are used so often across so many different areas, that you''d be hard pressed not to have to use them. Calculus is also a must, not only for physics modelling in solving various forms of DE ( they won''t always be ordinary, but usually are ), but also for graphics programming. Thats about it really, this is excluding totally basic stuff like trig, because everyone knows that anyway. You might want to read up on set theory aswell. It really does depend on what you want to do though.

3D math does indeed equal maths which is performed in 3 dimensions. However, for graphics programming you''ll generally work in homogenous coordinates, which puts things into 4 dimensional vectors. Mechanics generally works on 3 dimensional quantities, with an added time variable around somewhere.

You have to remember that you''re unique, just like everybody else.

Share this post


Link to post
Share on other sites
If you take uni level multivariable calculus and linear algebra, youll have most of the math you need. The linear algebra course i took at USC essentially dealt with n-dimensional systems, which is obviously enough for 3d systems....

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!