This is a 3D viewer applet. It uses the simple "painters algorithm" to sort polygons from back to front.