The simplest answer is to truncate; you ignore the z value completely and draw it as if everything is on a flat plane.
This loses information – you cannot definitely say the position of the object, as that information has been lost. There is no lossless way to map 3 dimensions onto 2*dimensions. Solutions like adding color actually add a dimension in the process.
The term you want to search for is called “orthographic projection”, and because 3D objects cannot be perfectly captured in 2D, there are many different ways of making an orthographic projection, many of them using matrix mathematics to correlate the parts from the dimension that isn’t there into combinations of the other two dimensions.
Latest Answers