program now draws the 3d polygons