One of the most difficult programming difficulties you will face is that of representing a 3D world on that 2D screen in front of you. It requires some linear alegbra that may be difficult for some, so I will spend some bytes explaining the mathmatical computations of using matricies in addition to the equations to get you going.
All of the techniques in this file can be implemented regardless of the programming language you use, from assembler to C to Visual Basic. I will, however, be giving any pseudocode examples in C, because it seems to be the universal language of coders right now. For the sake of simplicity, all code examples will use floating point math. By Aaron Weiss
Lionel's trigonometry tutorial for programmers - part 1 v1.0. The first in a series of trigonometry tutorials for programmers with no previous experience in trigonometry. Trigonometry is essential for 3D programming.