A camera flattens a 3D world into a picture. One matrix multiplication followed by a division by depth tells you where any point lands on the image.