Sign in to follow this  
TomX

Restricted on how to learn game related maths

Recommended Posts

Hi, Well I'm a beginner Java programmer and I'm interested in learning how maths is used in game development, the problem is that all of the good books relating to Game Development Maths are C++ oriented, and seeing as I don't know C++ it would be pretty difficult to understand what the book is trying to teach me, I've searched using google for webpages relating to Maths in Game Development using Java and I couldn't find anything. Could somebody suggest any books, webpages or methods that could aid me in learning Maths for Game Development? Thanks in Advance TomX [Edited by - TomX on September 21, 2004 2:21:58 PM]

Share this post


Link to post
Share on other sites
Quote:
Original post by elementary
Mathematics for 3D Game programming and Computer Graphics 2nd Edition by Eric Lengyel

Thats a very good book.


I concur, that book helps ALOT. I'm coding in Delphi, but the concepts and algorithms explained in that book cross languages quite nicely. I highly recommend it as well. Well worth the money.

Share this post


Link to post
Share on other sites
Agreed, Mathematics for 3D Game Programming & Computer Graphics is an awesome book... if you're out there Eric, good work :) I picked it up on a whim and was pleasantly surprised at how helpful it's been to both flesh out my math knowledge and to use as a reference.

Now, the book does use C++ for some examples (also ARB_vp and ARB_fp for shaders), though when it does it's just a bonus since the math is already explained. Also it's heavy on the mathematical notation (as it should be, being a math book) so if you're not entirely comfortable with all the notation it'll take that extra bit of work to really understand everything (similar to the amount of work you'd need to learn what the C++ in other books is trying to teach you)

Don't want to turn this into a Java/C++ thing, but Java and C++ aren't THAT different... You should be able to read the C and understand it if you know Java. It also couldn't hurt to learn C++ too... there's a reason why most game programming math books use C++ for examples - most game programming is done in C/C++. Also, learning things (pointers for example) in C/C++ can only help to enhance your understanding of Java and computers in general. While there's something to be said for starting out with a language like Java (easy, safe, and practical), there's also something to be said for starting with C or even assembly (learn how the computer actually works and being able to see how a language construct in a higher level language translates to the low level assembly/machine code). In my less-than-humble opinion, to become a great programmer you need to understand both.

Good luck!
-nohbdy

Share this post


Link to post
Share on other sites
Quote:
Original post by TomX
Well I'm a beginner Java programmer and I'm interested in learning how maths is used in game development, the problem is that all of the good books relating to Game Development Maths are C++ oriented, and seeing as I don't know C++ it would be pretty difficult to understand what the book is trying to teach me, I've searched using google for webpages relating to Maths in Game Development using Java and I couldn't find anything.


C++ is not that foreign compared with Java, and perhaps by just reading a summary comparing C++ to Java you'd be able to know the major differences. The following website might help.

Java vs. C++

That said, to really understand math for games, I actually would recommend some books that are more about graphics and game algorithms and less about "here are some fully complete code samples that you can use." Try "Real Time Rendering" for example, by Moller and Haines. They have a very nice website also:

Real Time Rendering

Share this post


Link to post
Share on other sites
Thanks for all the advice people, I'll buy that book and learn some C++ to aid me in reading and understanding the book, hopefully this newly gained C++ knowledge will enable me to understand more advanced books.

Share this post


Link to post
Share on other sites
Quote:
Original post by nohbdy
Agreed, Mathematics for 3D Game Programming & Computer Graphics is an awesome book... if you're out there Eric, good work :) I picked it up on a whim and was pleasantly surprised at how helpful it's been to both flesh out my math knowledge and to use as a reference.


I'm out here -- thanks for the great comments.

-- Eric Lengyel

Share this post


Link to post
Share on other sites
Quote:
Original post by TomX
Hi,

Well I'm a beginner Java programmer and I'm interested in learning how maths is used in game development, the problem is that all of the good books relating to Game Development Maths are C++ oriented, and seeing as I don't know C++ it would be pretty difficult to understand what the book is trying to teach me, I've searched using google for webpages relating to Maths in Game Development using Java and I couldn't find anything.

Could somebody suggest any books, webpages or methods that could aid me in learning Maths for Game Development?

Thanks in Advance
TomX


From my personal experience, you'll be better off teaching yourself the math you need either from website or math books. The primary math I use for my kind of games are conic sections, believe it or not. I find it essential to know how to manipulate and translate parabolic functions. I also use geometry, trig, and parametric functions in most of my games as well. So in conclusion, find out what kind of math your program needs and from their find websites or math books that deal with that specific subject. So what I'm trying to say is that I find it best to discover what kind of mathematics you need on your own, and from there any math book or web site can help you out.

Share this post


Link to post
Share on other sites
G'day there, i was just looking up the book: Mathematics for 3D Game Programming & Computer Graphics on Amazon to get an idea of the content and i can only view the contents of the first 2-3 chapters. Can someone point me in the direction of a better reference so i can see what the book covers before considering the purchase?! Thanks a lot peole.

Cheers.

Share this post


Link to post
Share on other sites
Wow, I'm really happy so many of you have such good things to say about that book. I bought it a couple weeks ago on a whim. I've only read through the first couple of chapters though. I must say, the transition from 2d coordinates to 3d was very smooth. So far I'm very happy I picked up a copy of this!

- heap

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this