Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Where is a good place to start with learning how to program custom coordinate systems in a 3d environment?

Are there any good books on he topic of gaming coordinate systems? I would like to build a real life data structure based on techniques used for game programming.

share|improve this question

closed as primarily opinion-based by Byte56 Jul 13 '13 at 15:04

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.

What is wrong with the Cartesian Co-ordinate system or the Polar Co-ordinate system? What causes you to want a different one? – Robert Massaioli Mar 23 '11 at 2:02
X Y and Z? I don't really know what you are asking. – AttackingHobo Mar 23 '11 at 2:03
Yes, "custom coordinate system" sounds strange. The most "custom" I've ever done was for a 2d game where the coordinates got mirrored and re-mirrored at one point with parallax scaling and stuff; it wasn't necessary, but I was in a hurry, and it ended up complicating things overmuch.. =) – Jari Komppa Mar 23 '11 at 6:19
I am confused on where the object is placed in the beginning? what coordinates will an object have? I am trying to create a coordinate system for a robot and using its movement, I want to calculate its current position. – Helium3 Mar 23 '11 at 10:44
You do not want to create a coordinate system. You want to use one, yes, but not create your own. – The Communist Duck Mar 23 '11 at 20:48
up vote 3 down vote accepted

Books about Game Engine development usually have chapters/sections on coordinate systems:

Game Coding Complete (Chapter 13)
Game Engine Architecture (Chapter 4)
3D Game Engine Design (Chapter 2)

share|improve this answer

Also see . It's about the math used in coordinate systems for games. Has explanations for creating user coordinate systems and matrix transformations.

It should be helpful

share|improve this answer

I can greatly recommend this book. It covers 3D coordinate systems in great detail (and is not a pain to read).

share|improve this answer
Thanks. My issue is that I will be creating a coordinate system for a physical object which wouldnt need camera angle control etc. I will be mapping the objects movement using data from the accelerometer. How or where would the object start in this coordinate system, and how is it managed? – Helium3 Mar 23 '11 at 17:19

Not the answer you're looking for? Browse other questions tagged or ask your own question.