Welcome to Dream.In.Code
Getting Help is Easy!

Join 98,767 Programmers for FREE!. Ask your question and get quick answers from Dream.In.Code experts. There are 1,030 online right now! We're the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a Expert

Register to Make This Box Go Away!


Math?

 
Reply to this topicStart new topic

Math?

WyvernFlint
post 1 May, 2008 - 01:51 PM
Post #1


New D.I.C Head

*
Joined: 18 Apr, 2008
Posts: 4


My Contributions


I hear from alot of sources that if you want to be a good game developer you should have some strong math skills. What I was wondering is what type of math are we talking about? Algebra? Calculus? Geometry? Probabilities? Statistics? etc..Do you need to know alittle bit of everything or just certain parts?
User is offlineProfile CardPM

Go to the top of the page


Tom9729
post 1 May, 2008 - 02:16 PM
Post #2


Debian guru

Group Icon
Joined: 30 Dec, 2007
Posts: 1,052



Thanked 3 times

Dream Kudos: 300
My Contributions


IMO you should at the very least have a firm understanding of geometry and trig. smile.gif

More math won't hurt though.
User is online!Profile CardPM

Go to the top of the page

Martyr2
post 1 May, 2008 - 02:26 PM
Post #3


Programming Theoretician

Group Icon
Joined: 18 Apr, 2007
Posts: 3,941



Thanked 37 times

Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions


Pretty much all of it.... geometry and trig for finding trajectories and angles (like flying objects), probabilities for randomness (probability of an outcome of a blow, win or success/fail), statistics (like character stats, stats about outcomes etc), algebra is pretty much everywhere from matrices to linear algebra to functions and logarithms....you really need a little bit of it all but you should really be good in the algrebra and probabilities since those are pretty much in all types of games.

smile.gif
User is offlineProfile CardPM

Go to the top of the page

KYA
post 1 May, 2008 - 02:49 PM
Post #4


#include <nerd.h>

Group Icon
Joined: 14 Sep, 2007
Posts: 2,019



Thanked 10 times

Dream Kudos: 825
My Contributions


Calculus, linear algebra ++
User is offlineProfile CardPM

Go to the top of the page

JasonMcAuley
post 4 May, 2008 - 11:23 AM
Post #5


D.I.C Head

**
Joined: 10 Apr, 2008
Posts: 134


My Contributions


When focusing on math specifics, its really dependant on the area of programming you are focused in. Math skills in general are a valuable asset because it trains your mind to think logically. Logical thinking is the foundation to a good programmer.
User is offlineProfile CardPM

Go to the top of the page

baavgai
post 4 May, 2008 - 11:36 AM
Post #6


Dreaming Coder

Group Icon
Joined: 16 Oct, 2007
Posts: 1,358



Thanked 30 times

Dream Kudos: 300

Expert In: C, C++, Java, C#, ASP.NET, PHP, Perl, Python, Oracle, SQL Server, MySql, HTML, JavaScript, Lua

My Contributions


I've gotten into trouble here before, because in general higher math is not required in programming, nor to program. HOWEVER...

Game programming is where math is simply a must. Physics is obvious. But 3D graphics alone will lead you to most of the maths. Matrix algebra is a biggie. To some extent you can pass some of the stuff off to the video card or graphics library, but you still need to understand the principals.

You more need to know a little about a lot, rather any one specific thing. You won't know what you need more of until you have a particular job to do, so you kinda need a broad base.
User is online!Profile CardPM

Go to the top of the page

Steven Smith
post 11 May, 2008 - 10:03 AM
Post #7


New D.I.C Head

*
Joined: 17 Mar, 2008
Posts: 24


My Contributions


Vague answer ... it depends.

More precisely, it depends on what exactly you want to get done, and to what degree you want it to model the real world. In ultra realistic video games, math is key.

My background is mechanical engineering. On the college level, I have taken 3 courses of calculus, 1 of differential equations, 1 of linear algebra (matrix), and 1 of numerical methods (computer solvers for equations, etc).

Here is how things apply. You must must understand high school algebra to get anywhere in programming. If you have a relation, typically to handle it in a program it must be expressed explicitly, which means if it is in terms of x the x must be able to be removed to the left hand side. 1= 2 + x can become x = -1.

If you intend to do graphics. Geometry is needed. Want something to follow your mouse and have the speed related to how far away it is? You are looking for trig relations.

3D modeling. Can you do this without math? These days yes, short answer. Can you use pre-made collision detection schemes, yes. Can you write your own without some knowledge of calculus, maybe, but you will probably learn a bit while you go and it will take you a lot longer than it would take me.

Finally, differential equations. Lets say I wanted a rope to behave like a rope when I picked it up. Or I wanted a car to behave just like a car when I drive it. Or blah blah blah... I want physics. You can hack this together by modifying properties until it "looks right," but if you want it to be truly realistic, some knowledge of differential equations is necessary. This is the bulk of what I do... but I won't bore you with the details as it doesn't directly answer your question.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 7/20/08 03:41PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month
-->