A homework of my computer graphics  course that showing the z-buffer algorithm.