In a 3D game environment, vectors are used to hold the values of points or vertices. Thus a vector would contain a coordinate [x, y, z] which represents the specific vertex in 3D space. Points are defined such by vectors because the start position of the vector is usually taken as [0, 0, 0] which… Read More 3D GAME MATH PRIMER 4: OPERATIONS ON VECTORS
Well what are vectors anyway? The topic of vectors crop up in geometry, physics, engineering disciplines, mechanics, etc. How they are used, as well as their definitions at times, vary from context to context. Below I have listed how vectors are defined in some contexts: 1. In geometry, Euclidian (or spatial) vectors are line segments that represent… Read More 3D GAME MATH PRIMER 3: WHAT ARE VECTORS ANYWAY?
WHY DO WE NEED MULTIPLE COORDINATE SPACES? This question is best answered with a story given in the book ‘3D Math Primer for graphics and games development’ by Fletcher Dunn and Ian Parberry. The story goes that there are two cities, ignorant of each other and having their own coordinate system to map the different… Read More 3D GAME MATH PRIMER 2: MULTIPLE AND NESTED COORDINATE SPACES
The 3D coordinate system is a natural extension of the 2D cartesian coordinate system we are all familiar with and have studied. The cartesian coordinate system has an interesting history, first documented by the French mathematician Rene Descartes in around 1637. Early work in this time period dealt with only one or two axis coordinate… Read More 3D GAME MATH PRIMER 1: THE 3-DIMENSIONAL COORDINATE SPACE
Many a time I’ve heard statements like “Games programming? 3D graphics? that requires an awful lot of maths right? and graduate level math at that…” ….and therein onwards the interest dies off due to the pre-mis-conceptions about the role that mathematics will play in games development. For a programmer/developer/software engineer, learning the concepts of 3D mathematics needed… Read More THE ROLE OF MATHEMATICS IN 3D GAME PROGRAMMING