Converting 3D Coords to 2D

You could look at here.