<< Chapter < Page Chapter >> Page >
Examine two sample programs and a sample game-programming math library intended to provide aspiring game programmers with the mathematical skills required for game programming.

Table of contents

Preface

This module is one in a collection of modules designed for teaching GAME2302 Mathematical Applications for Game Development at Austin Community College in Austin, TX.

General

Good math skills are required

In order to be a successful game programmer you must be skilled in technologies other than simply programming. Those technologies includemathematics. My purpose in writing this module is to help you to gain mathematical strengths in addition to your other strengths.

This collection is designed to teach you some of the mathematical skills that you will need (in addition to good programming skills) to become a successful game programmer. In addition to helping you with your math skills, I will also teach you how to incorporate those skillsinto object-oriented programming using Java. If you are familiar with other object-oriented programming languages such as C#, you should have nodifficulty porting this material from Java to those other programming languages.

Lots of graphics

Since most computer games make heavy use of either 2D or 3D graphics, you will need skills in the mathematical areas that are required for success in 2Dand 3D graphics programming. As a minimum, this includes but is not limitedto skills in:

  1. Geometry
  2. Trigonometry
  3. Vectors
  4. Matrices
  5. 2D and 3D transforms
  6. Transformations between coordinate systems
  7. Projections

Game programming requires mathematical skills beyond those required for graphics. This collection willconcentrate on items 3, 4, and 5 in the above list. (I will assume that you either already have, or can gain the required skills in geometryand trigonometry on your own. There are many tutorials available on the web to help you in that quest including the Brief Trigonometry Tutorial at (External Link) .)

Insofar as vectors and matrices are concerned, I will frequently refer you to an excellent interactive tutorial titled Vector Math for 3D Computer Graphics by Dr. Bradley P. Kjell for therequired technical background. I will then teach you how to incorporate the knowledge that you gain from Kjell's tutorial into Java code with a heavyemphasis on object-oriented programming.

In the process, I will develop and explain a game-programming math library that you can use to experiment with and to confirm what you learn about vectorsand matrices from the Kjell tutorial. The library will start out small and grow as we progress through more and more material in subsequent modules.

Questions & Answers

what are components of cells
ofosola Reply
twugzfisfjxxkvdsifgfuy7 it
Sami
58214993
Sami
what is a salt
John
the difference between male and female reproduction
John
what is computed
IBRAHIM Reply
what is biology
IBRAHIM
what is the full meaning of biology
IBRAHIM
what is biology
Jeneba
what is cell
Kuot
425844168
Sami
what is biology
Inenevwo
what is cytoplasm
Emmanuel Reply
structure of an animal cell
Arrey Reply
what happens when the eustachian tube is blocked
Puseletso Reply
what's atoms
Achol Reply
discuss how the following factors such as predation risk, competition and habitat structure influence animal's foraging behavior in essay form
Burnet Reply
cell?
Kuot
location of cervical vertebra
KENNEDY Reply
What are acid
Sheriff Reply
define biology infour way
Happiness Reply
What are types of cell
Nansoh Reply
how can I get this book
Gatyin Reply
what is lump
Chineye Reply
what is cell
Maluak Reply
what is biology
Maluak
what is vertibrate
Jeneba
what's cornea?
Majak Reply
what are cell
Achol
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Game 2302 - mathematical applications for game development. OpenStax CNX. Jan 09, 2016 Download for free at https://legacy.cnx.org/content/col11450/1.33
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Game 2302 - mathematical applications for game development' conversation and receive update notifications?

Ask